This essay developed out of conversations I've had with several other programmers about why Java smelled suspicious. It's not a critique of Java!
Sycorax - complete tutorials
Programming Tutorials
" Java provides the industry - software companies and customer alike , an opportunity to create a true open computing environment where software is portable,
and customers benefit from increase competition. "
Java and the Future
December 1, 2008-LEJB 3.1: EJB New and Improved!
The EJB 3.0 specification was a huge improvement from what you were used to in the early versions of EJB. Available as an early draft, EJB 3.1 has many more features and is even easier to use.
December 1, 2008-Should Java Assert that Network I/O Can't Occur on the UI Thread?
Doing network I/O on the user interface (UI) thread is bad. Most developers know that and can tell you why; unfortunately, it's still done.
Register now to recieve special alert and latest technology news!
Installing Tomcat 5.0.25
PREREQUISITES
You must have JDK 1.4 or higher installed and working on your machine.
GETTING TOMCAT
You can download the latest version of Tomcat from http://jakarta.apache.org/tomcat. The version currently available is Tomcat 6.0.10.
INSTALLATION
Installing Tomcat is a straightforward process. The following sections will help you install and set up Tomcat on Windows 98/NT/2000.
Extracting files
Double-click on jakarta-tomcat-5.0.25.exe to start installing the files. An installation dialog box will appear, asking for configuration information. During the installation procedure, we recommend that you make two changes to the defaults:
. Change the destination folder to C:\jakarta-tomcat-5.0.25. This directory will be referred to as CATALINA_HOME.
. Change the HTTP Connector/1.1 Port from 8080 to 80 (unless you're already running a web server).
The first change makes it simpler to find and remember the location of CATALINA_HOME. The second makes it possible to invoke servlets and JSPs without setting the port number.
Setting environment variables
To run Tomcat, you need to set two environment variables: CATALINA_HOME and JAVA_HOME. CATALINA_HOME refers to the Tomcat installation directory, and JAVA_HOME refers to the JDK 1.4 installation directory.
To be able to compile your servlets, you need to add the proper API classes to your CLASSPATH environment variable. These classes are contained within two files: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\common\lib\servlet-api.jar and c:\jakartatomcat-5.0.25\common\lib\jsp-api.jar.
On Windows 98, open c:\autoexec.bat and add the following:
SET CATALINA_HOME=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14
SET JAVA_HOME=c:\jdk1.4.2
SET CLASSPATH=%CLASSPATH%;.;c:\jakarta-tomcat-5.0.25\common\lib\servletapi.jar;c:\jakarta-tomcat-5.0.25\common\lib\jsp-api.jar
Be sure to substitute the appropriate directory for c:\jdk1.4.2. You'll need to restart your machine. In Windows 2000/NT, go to Start|Settings|Control Panel|System. Then select the Advanced tab and in the Environment Variables section, set the above two variables as either System variables or User variables. You do not need to restart your machine, but you will need to close all the DOS windows and open a new DOS window to see the newly set variables.