For our project there are several pieces of software you will need to obtain from various locations on the Internet. This software will not cost you anything. However, if you need commercial support down the road chances you will be able to get it, at least for the JDK and Java EE Container.
Collect all of these items and save them to your desktop or a location where you are sure you will be able to find them:
-
Java SE Development Kit (JDK)
-
The Glassfish container requires a JDK to run
-
Download JDK Version 6 from Sun Microsystems
-
There are several versions on the download page
-
You want “jdk-6-windows-i586.exe”
-
-
Java EE Container
-
JSPWiki need to run within a container. We’re going to use Glassfish
-
Download Glassfish from Java.net
-
Note: Glassfish is the development version of what will eventually become the next version of Sun’s Java System Application Server (SJSAS) but the release of that product is a little bit down the road. So, for now, we’re going to download Glassfish-V2.
-
You’ll notice that when you login to Glassfish you will see that it already has a lot of Sun’s branding an logos on the interface
-
-
-
There are several version on the download page
-
You want “Build 33e 21-February-07” or newer from the Glassfish v2 Beta Branch
-
-
Ant
-
Ant if a build tool that we will need to complete our install of Glassfish.
-
Download Ant
-
You want version 1.7.0
-
-
JDBC driver
-
Glassfish will need to be able to communicate with MS-SQL server. JDBC is the method used by the Java platform to communicate with relational database systems
-
Note: You by no means need to use MS-SQL. It just so happens that my user tables are already setup in a database that resides on my MS-SQL server for use by another application. For me, in this instance, using MS-SQL is the path of least resistance. If you already have a database from another vendor installed chances are you’ll be able to find a JDBC driver for your existing database system. If you don’t have any database system installed you may want to consider PostgreSQL, its reliable and the JDBC drivers are solid.
-
Download jTDS
-
-
Click on the “Downloads” link
-
-
You want version “jtds-1.2-dist.zip”
-
-
Tomcat (or a couple of pieces of it anyway)
-
Even though all of this software will be running on our re-purposed server we are going to want our Apache web server to coordinate all of the web activity. For this to work we’re going to need to borrow specific “jars” (a jar is a zip file that holds Java stuff) from the Tomcat project. The setup we’re building together, Apache in the front and a Java container behind, is pretty common. Who knows, maybe in the future the folks who write Glassfish/SJSAS will just include the necessary jars to allow this configuration in Glassfish by default. But for now we’ll need to track down these extra parts ourselves.
-
Download Tomcat
-
You want version 5.5.20
-
-
Commons-Logging
-
Again this is another “jar” that will be needed in order to get Apache and Glassfish to work together
-
You want version 1.1
-
-
Text Editor (Optional but Recomended)
-
We’re installing our software on the Windows platform. However, most of this software was probably developed on some kind of Unix platform. This isn’t a problem for us as most Java software runs in pretty much the same on any platform. There is one rub which is the format of the configuration files. Unix and Windows handle plain text files differently. If we try to edit these files using Notepad on Windows the files look funny and it makes it easier to make mistakes when editing. I strongly recommend installing gVim to get around this problem.
-
Download gVim
-
You want “gvim70.exe”
-
Note: After you install gvim you will have a gVim icon on you desktop. You can drag and drop the configuration files you need to edit onto this icon/shortcut to open and edit the file in question.
-
-
Compression Software (Optional but Recomended)
-
Sometimes the compression software built into Windows creates a strange internal layout of newly compressed files. 7-zip is also significantly faster at both decompressing/compression operations and will give you a bit more control over how the internals of the compressed files are handled. I strongly recommend you use 7-zip for this exercise.
-
Download 7-zip
-
You want the most recent stable version 4.22
-
-
JSPWiki
-
Download JSPWiki
-
You want the STABLE version 2.4.100
-
Whew! That was a lot of hunting and finding. The good news is this is just about everything we need. There will be an additional component that we will need to install on our Apache server but we will rely on the package tools built in to our Linux distribution to handle that bit of work.