Is is possible to deploy Servlet files compiled on a J2EE machine to a Solaris/Apache/Tomcat server with only J2SE 1.4 installed? [ May 25, 2006: Message edited by: Bear Bibeault ]
SCJP 1.4 - 93%
SCWCD 1.4 - 89%
IBM FileNet 3.5 - Developer
IBM FileNet 3.5 - Administrator
You can deploy using an ANT script and ant 1.6.5 works with Java 1.4 ... so yes you can.
Salvador Cecilio
Ranch Hand
Joined: Dec 20, 2004
Posts: 41
posted
0
Cool, I was wondering how existing Servlet files on the Tomcat server were working, despite not being able to compile the java source code files on that same server machine.
Tomcat provides what it needs from j2ee with the tomcat/common/lib/servlet-api.jar lib. You should be able to compile your servlet code on the machine with j2se if you have that jar file in your classpath.