• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java 1.5 and Java 1.4.2  RSS feed

 
Oren Gross
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there
We have a server running and developed for Java 1.5. This server has client Open APIs also written in Java 1.5 of course. Now we have a customer that has Java application running on Java 1.4.2. The client's code in order to work with our server has to use our Open APIs. What's the best solution?

BTW, we support web services (for none Java clients) so maybe they should use the Web Services?

I know that at the begining of JDK 1.5 you could compile Java 1.5 code and run it on Java 1.4.2. Can it still be done?

Oren
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's still possible; check out the -source and -target switches of javac. But you won't be able to use any 1.5-specific features.
 
Oren Gross
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what happens if the server (which is Java 1.5) returns a HashMap to the client? Will the client be able to diserialize it?

Oren
 
Paul Clapham
Sheriff
Posts: 22697
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Oren Gross:
what happens if the server (which is Java 1.5) returns a HashMap to the client? Will the client be able to diserialize it?
I would expect so. Why do you ask? Did you have a problem when you tried it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!