I am currently in the process of developing an Enterprise product using Java 5. the problem is that some of my customers use old versions of tomcat,Jboss and websphere.What i intend to do is to upgrade the JRE their servers to 1.5. But before doing this , i need to know what was the first version that supports Java5. I appreciate your reply.Sorry for posting the thread in the the 3 forums.
Thanks Ulf for your prompt reply ,
Well ,i think my question was not so clear,so let me re-describe the situation i am facing now:
1)I am developing a new application that gonna be sol for many customers
2)I decided to choose Java 5 as a J.R.E for my development environment.
3)Most of my customers use containers that supports Java 5.
4)But some of my customers have really old containers.For some reason they do not want to install a new application server.
5)The 2 solutions i have now are
a) Use Java 4, which means compromising all the great features Java 5 provide, and to use outdated frameworks instead of cutting edge technologies and frameworks(bye bye for
generics and annotations.Which means using old versions of struts,spring, jsf, hibernate or whatever frameworks i want to use)
b) Code my program using Java5 and install a J.R.E1.5 on those outdated servers.But first , i need to know if the container itself supports Java 5.So i need to know when exactly
tomcat started to support Java5.
Java 1.4 has passed End of Life and is no longer supported.
Tomcat moved to Java 5 as of Tomcat 5.5. Tomcat 5.0 was a Java 1.4 container.
What Ulf is trying to say is that because Java (unlike Microsoft) allows you to compile code to compliance to earlier versions, you can develop in Java 5, 6, or 7 and still safely deploy to Java 1.3-based containers. However, both Java 1.3 and the containers that were based on it are WAY past end-of-life, so please don't. Of course, if you do compile with "source=1.4", any attempts to use enums, annotations, parameterized types, and so forth will result in compile errors.
Bjoke: A "Bully Joke". A Statement or action made with malicious intent - unless challenged. At which point it magically transforms into "I was just funnin'" or "What's the matter, can't take a joke?"