• Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE on which J2SE?  RSS feed

 
Robert Willems
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
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.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • 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: 37181
515
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!