Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

JDK issue 1.4.2 vs 1.5.0

  • 04-10-2007 11:11PM
    #1
    Registered Users, Registered Users 2 Posts: 4,867 ✭✭✭


    Is it better to have the JDK on the backend and frontend at the same release level or can they be different? i.e. will there be any issues with having the backend application running on 1.4.2 and the frontends using a Java GUI while running 1.5.0 on the frontend.

    Scenario: Backend server running 2 applications. App 'A' can run on 1.4.2 or 1.5.0. App 'B' can only run on 1.4.2

    Front end side. App 'A's GUI requires 1.5.0 JDK. App 'B' can use either 1.4.2 or 1.5.0... so on the frontend it can be upgraded to 1.5.0 and there should be no issues...

    My question being, even though it is possible to use different versions could there be problems with App 'B' and the communication between the backend and frontend due to differnt JDK versions? Technically it should work, right?

    Has anyone ever come across this situation before?


Comments

  • Registered Users, Registered Users 2 Posts: 2,082 ✭✭✭Tobias Greeshman


    Yeah it really should work assuming there's no API changes between the 14 jdk and the 15 jdk. That's not to say there won't be performance differences.

    Personally I wouldn't mix the jdk versions on either tier of the system, I'd use 14 on the backend and 15 on the frontend.

    I can't say exactly how well its work, you'll have to implement it and test how well it works.


  • Registered Users, Registered Users 2, Paid Member Posts: 2,032 ✭✭✭lynchie


    What is the communication mechanism between client and server. If its just plain sockets, then there is no difference between jdks so you can mix them if you like. If you are using rmi or serialisation then there may be differences if u are passing around serialised core jdk classes.


Advertisement