• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serializing java.util across different Java versions  RSS feed

Jimmy Ho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got some code that uses a java.util.ArrayList (which implements Serializable) to send objects back and forth between different systems on the network. We have application server and MQ upgrades coming up, and I'm concerned that serialization will break when we do the upgrade.

Basically, I'll have something like this:
System 1: IBM JVM 1.4.2
System 2: IBM JVM 1.5.x

The code will be compiled by the build team using Java 1.4.2, probably.

One of the applications is a J2EE application that will run on JVM 1.5, and I'll set the EAR file setting to J2EE 1.3 (which corresponds to Java 1.4.2) in the DOCTYPE of application.xml. Not sure if that helps.

I know my code will be okay because it will be compiled by the same compiler for all systems, but since we hook into the java.util library residing on each JVM, how does that work?
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!