• Post Reply Bookmark Topic Watch Topic
  • New Topic

Updating Servlet App

 
Eric Racin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to update a Servlet Application: it used Tomcat 4.1, JDK 1.6 and Servlet API 2.3. The Class files were built with JBuilder 9. I plan to use Eclipse EE. Which Tomcat version should I download?
 
Tim Cooke
Sheriff
Posts: 3299
153
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, a 12 year old application by the sounds of it!

I would look to update as much as you can to the latest version. For example, Tomcat v8.0.17, JDK and JRE 8u31.
 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure about Tomcat 8 compatibility, however I am fairly secure in recommending Tomcat7.

Although the app may have been built with a Java 6 compiler, Tomcat4 itself ran somewhere around Java 1.4, as did Tomcat 5.0. Tomcat 5.5 and later run on the newer JDK (Java 5 and later) model. So most likely the Java6 compiler was generating in Java 1.4 compatibility mode for Tomcat4's benefit. So there are potential conversion issues. Certain reserved keywords were added to the language (for example, enum), plus of course, the modern-day annotations and generic classes.

An app built in JBuilder that you want to update in Eclipse. This is why I recommend ALWAYS having an offline build process that's IDE-independent such as Ant or Maven. I've had enough grief even rebuilding stuff originally compiled under an older release of the SAME IDE, much less one that's different.
 
Eric Racin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The App is 5 yrs old (I liked JBuilder 9 interface!). Thanks for your help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!