This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How long will it take for J2SE 5 to be widely accepted ?

 
Reghu Ram Thanumalayan
Ranch Hand
Posts: 193
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,
I started going through the J2SE tutorials way back in september, when it was released. Lots of new features which are surely going to change the way we program with Java.

But I was wondering as how long will take J2SE 5 to be used widespread as I know about projects being developed using JDK 1.3 even now
[ March 15, 2005: Message edited by: Reghu Ram T ]
 
Saket Barve
Ranch Hand
Posts: 229
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reghu,

Just FYI, I am presently working on a project a part of which runs on JDK 1.2! We are using an old (down-and-out?!) server which just wouldn't go hand in hand with the latest JDK release.

Regards,
Saket
 
Jeff Langr
author
Ranch Hand
Posts: 799
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hah, I have you beat! I recently coded an AWT tree widget (after searching and only finding crummy ones for sale), for use in what must be a 1.1 compliant applet.

-j-
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Reghu Ram T:
But I was wondering as how long will take J2SE 5 to be used widespread as I know about projects being developed using JDK 1.3 even now


Well, IMO, it will be about over one year from now... Since J2SE 5.0 make a big gap, it might even take longer than two years to be used widespread... Just my own opinion...
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd recommend us changing to 1.5 compilers and 5.0 runtimes (don't you love version numbers ) if only they were available for all our deployment platforms.
As that's not (yet) the case we're effectively stuck on 1.4 (1.4.0 runtimes on some platforms, 1.4.1 on others).
 
Herb Schildt
Author
Ranch Hand
Posts: 253
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is true that there will be a lag time before most projects are coded using JDK 5, for reasons such as those stated above. However, I strongly recommend that all programmers become proficient in its new features now. Here's some reasons why.

First, version 5 code looks different, and the differences are easily recognizable. Here are three ways:

1. Generics add a new syntax element.
2. Autoboxing changes the way that boxing/unboxing is coded
3. The for-each style for loop is syntactically different than its "normal" version.

Because of these (and other) differences, pre 5.0 code will soon begin to look "old-style." It will become increasingly difficult to justify writing "old-style" code when working on new projects because your "old-style" code will be immediately out-of-date. In general, we need to code for the future, not the past.

Second, the features added by version 5 are truly useful. Sure, we can disagree with a nuance here or there, but in general, J2SE 5 adds a significant number of new features that fundamentally expand the power, range, and scope of Java. Given that this power now exists, why would a programmer want to ignore it?

Third, it takes a while to get "up to speed" on all the new features -- especially generics. Its best to start working with them now.

One more point: Over the past 6 months I have gotten the sense that many Java programmers are not fully aware of the impact that J2SE 5 will have on programming. As I have mentioned before on JavaRanch, version 5 changes Java in a big way. Programmers who fail to move forward will be left behind.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it will be 2-3 years. In other words, I think J2SE 1.5 will be widely used when Java 1.7 comes out. The reason behind this is that the tool vendors generally support two versions of Java at a time. When Java 1.6 is supported, the tool vendors will push people to get off Java 1.4. When 1.7 comes out, the latest tools will all require 1.5.

That said, I agree with Herb that we need to understand it first.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have already using Java 5 in our projects. Generics, Concurrecy API were some of features of Java 5 which made us to use it.
[ March 16, 2005: Message edited by: Pradeep Bhat ]
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
We have already using Java 5 in our projects. Generics, Concurrecy API were some of features of Java 5 which made us to use it.

[ March 16, 2005: Message edited by: Pradeep Bhat ]


Pradeep, what kind of project are you on? Windows(Swing-based) application or web application? Well, those features can be applied to both kind of the applications... Could you mention us a bit how those features could apply to the applications that you are currently developing? Thanks...
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ko Ko Naing:


Pradeep, what kind of project are you on? Windows(Swing-based) application or web application? Well, those features can be applied to both kind of the applications... Could you mention us a bit how those features could apply to the applications that you are currently developing? Thanks...


Ko Ko,

We are using the Java 5 for the newer projects that we are working on.
It is a web services (and hence a web application runnung on Tomcat) application. As I said before , we are using lot of Generics , the concurrency API's , enchanced for loop, enums.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic