Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

Updating to Java 5

Thread view: 
Smoogle - 24 May 2007 09:04 GMT
Please forgive my terminology...
My new job means that I'll be supporting & enhancing a 4 year old
struts application.
It uses the JDK 1.3
It runs on jakarta-tomcat-4.1.24
It is deployed to remote laptops via Java Web Start (1.0.1 I think)
It connects to an Oracle 9i database.

Before I get too busy making the application better, I want to upgrade
the various versions

Does anyone know of any issues that I might face when I upgrade to
Java 5, Tomcat 5 and the latest Java Web Start?

Thanks in advance

Stuart
Lew - 24 May 2007 13:06 GMT
> Please forgive my terminology...
> My new job means that I'll be supporting & enhancing a 4 year old
[quoted text clipped - 9 lines]
> Does anyone know of any issues that I might face when I upgrade to
> Java 5, Tomcat 5 and the latest Java Web Start?

Upgrade to Java 5 should be relatively painless, unless the 1.3-based code
uses "enum" or "assert" as identifiers.  Even then you can compile code
"-target 1.3".

Java 1.4 came out five years ago.  Java 5 came out two-and-a-half years ago.
Java 6 is already out, and has been for months.  Why did you settle on a
version that is not the latest?

Tomcat should give no upgrade issues.

Web Start isn't dependent on the Java version.  Au contraire you can set it up
to ensure the client has any particular version the program needs.

Signature

Lew

Roedy Green - 28 May 2007 11:14 GMT
>Does anyone know of any issues that I might face when I upgrade to
>Java 5, Tomcat 5 and the latest Java Web Start?

see http://mindprod.com/jgloss/generics.html

That is the biggie, adding specific classes to all your containers and
making all your Comparators specific.

I use IntelliJ Idea.  It will convert all my loops to the new for:each
form with a single click.

IntelliJ flushes out all sorts of bugs and questionable code, e.g.
code that does not do anything.  Chances are you thought it did.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.