The moose likes Java in General and the fly likes Diff. between JDK 1.3 and JDK 1.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Diff. between JDK 1.3 and JDK 1.5" Watch "Diff. between JDK 1.3 and JDK 1.5" New topic

Diff. between JDK 1.3 and JDK 1.5

joe ton

Joined: Jul 31, 2006
Posts: 3

Let me know the Difference Between Jdk 1.3 and Jdk 1.5...

Difference Between JDK and J2SDK.

Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Welcome to the JavaRanch.
the Release Notes for each release of the JDK has a section on new features.
JDK and SDK are basically the same thing. JDK stands for "Java Development Kit" and "SDK stands for "Software Development Kit".

[How To Ask Questions On JavaRanch]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Welcome to JavaRanch.

New features in JDK 1.4

New features in JDK 1.5/5.0

JDK (Java Development Kit) and J2SDK (Java 2 Software Development Kit) are the same thing.
Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311
I join the recommendation for looking up the documentation... an appropriate reply could take dozens of pages...

Still, some features which most affect me:

1. Java 5 has Generices, e.g. ArrayList<String>.
There's also an easier syntax for collection iteration ('for each').

2. Java 5 has annotations: sort of 'meta data' or remarks, which you can put on your classes/methods/fields (Annotations are saved in the ".class" file, unlike "/*...*/" remarks that are ignored by the compiler).

3. Java 5 has built-in JMX support

4. Java 4 and 5 have built-in XML support (Java 5 has some more advanced features).

5. Java 5 has a richer API for threads and locks (semaphores, thread-pools, "atomic variables" and more).

6. Java 4 and 5 have better Exception API, in particular the great option to define "Exception cause"... saved me tons debugging hours.

7. Varios other enhancements, such as:
- New IO ("nio")
- Logging api
- Enhancements to Swing (e.g. Jspinner, more layout managers, more grphics utilities)
- JDBC enhancements (e.g. DataSource, and i think there's something for Cerberos, but i'm not sure)...
- Printing API

And more...
I agree. Here's the link:
subject: Diff. between JDK 1.3 and JDK 1.5
It's not a secret anymore!