This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE on which J2SE?  RSS feed

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm feeling like i'm asking a dumb question, but the only dumb question is the one that is never asked...
Which J2EE runs on which J2SE? Or are they all compatible?
Does J2EE 1.3 run on J2SE 1.4?
Does J2EE 1.4 run on J2SE 1.3?
Or must J2EE 1.3 run on J2SE 1.3 and J2EE 1.4 on J2SE 1.4?
Thanks for your replies....
Regards,
Robert Willems
 
author & internet detective
Marshal
Posts: 38250
623
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Robert,
The versions of J2EE will run on pretty much any version of J2SE. (I imagine you might get into trouble if you try to use J2SE 1.1.) Anything 1.2 or above is definitely interchangeable.
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
The versions of J2EE will run on pretty much any version of J2SE. (I imagine you might get into trouble if you try to use J2SE 1.1.) Anything 1.2 or above is definitely interchangeable.


Not really. Many J2EE 1.3 Application Servers are only certified to run under J2SE 1.3 (which is all that is required by the spec). For example, this is certainly true of WebLogic 6.1/7.0 and at least the early versions of Websphere 5.0.
 
Robert Willems
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reply.. thanks.... so if i make the following conclusion i'll be safe:
1. The J2EE specification doesn't depend on a specific J2SE version
2. However the J2EE implementation could depend on a specific J2SE version. That should be checked when using an implementation
3. To be safe just use the 'same' version.
Thanks for your replies....
Regards,
Robert
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 38250
623
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Robert,
It's not necessarily the same version. For example,
Websphere 4 uses J2SE 1.3 and J2EE 1.2
Websphere 5 uses J2SE 1.3 and J2EE 1.3
 
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!