[ome-devel] Opinions on Java 5

Josh Moore josh.moore at gmx.de
Thu Aug 18 09:10:22 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Seems like I haven't started a good heated discussion in a while so
anyone got an opinion:

	Does it make sense to use Java 5 on the server side?

This ties in to the "Explorations of alternative architectures for
remote clients" thread. The code I've written currently has dependency
on Java 5 _for the server side_.

However, this makes server development on OS X 10.3 impossible and on
10.4 apparently difficult. It also complicates installation, at least
for most people at the moment. (Java 5 uptake has been relatively slow.)

The pros of using it are:	
 - generics
 - a few API methods and non-thread safe objects
   (StringBuilder rather than StringBuffer, etc.)
 - possible use of annotations (e.g. http://annotations.hibernate.org/)
 - ...

The performance gain doesn't really count because one can use the new
JDK but still compile for JRE>=1.4 (or maybe even 1.3)

However (again) if we don't do it now, we'll need to do a "port" at
sometime in the future.

Ho hum.

Any thoughts?
  Josh.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBEJqIwpkR5bKmAsRAsmqAJ9Pk0rP+sowiy7GBegGmlC03hek3ACeLfmu
ymIp+hW3/d2X7Oii2eKs3DM=
=TRHx
-----END PGP SIGNATURE-----


More information about the ome-devel mailing list