Installing and Using the Java Servlet SDK
Obtaining the JSWDK
A prerequesite for downloading and installing the JSWDK is the downloading and installation of the java development kit itself.
Information on how to do this can be found in Selena Sol's Introduction To Java Part 3: Installing The Java Development Kit.
Once you have done this, we can continue with the JSWDK.
Like the JDK installation, you first need to obtain the JSWDK.
You can download this from Sun's Java Servlet Download Area.
The download and installation of the JSWDK is similar to the JDK with one major exception.
The JDK for windows is contained in a self-extracting archive executable while the JSWDK is in zip format and requires an external unzip program to unzip all the files.
Thankfully, there are plenty of zip-compatible archiving utilities in existence.
One example, is the shareware program called WinZip.
If you do not already have a zip program, you can obtain an evaluation copy of WinZip from WinZip.com.
Once you install this program, you're ready to go.
|
What is zip?
Zip is a format for compiling multiple files and directories together into one easily distributable file.
Zip has an added benefit of also compressing the entire file package so that it produces a file that can be downloaded more quickly over the Internet.
The disadvantage of Zip is that you frequently need to have another program such as WinZip to uncompress the files into their original directories.
Many people who zip up their files therefore choose to add a self extraction program to the beginning of the zip file.
For example, the JDK itself is distributed this way.
For programs that are not archived in a self-extracting form, there are many zip programs on the Internet to choose from.
WinZip is one of the most popular, but others such as Pkzip also work quite well and have their own advantages.
|
So now that we have the JSWDK zip file and a prorgam to decompress it, we're ready to go and install the JSWDK.
NEXT
Gunther Birznieks contributes to JavaBoutique's Web/Networking column.
Gunther currently works for Barclays Capital in London, one of the leading global investment banks in Europe and has previously worked as a senior computer scientist in the Human Genome Project.
Gunther is also known for writing several books on Web Programming (Perl, CGI, Java) as well as for co-creating Extropia with Selena Sol.
Extropia is one of the best known public domain web programming archives
Email: gunther@extropia.com.
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|