Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 6 support for EJB 2.0

 
Sam Semwal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We wish to upgrade our java 1.4.2 version which has EJB 2.0 to java 6 with EJB 2.0.

Does SDK 6 support EJB 2.0?

Many thanks for help.
 
Joe Ess
Bartender
Pie
Posts: 9265
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. You are confusing the Java Platform, Standard Edition, which is what your version numbers are (1.4.2, 6) with the Java Platform, Enterprise Edition (which supports EJB's).
The version of JDK you can run will be dictated by what EJB container you are using (JBoss, Weblogic, Websphere).
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither Java 1.4 nor Java 6 "have" EJB of any version. Those are JSE versions, while EJB is part of JEE.

A Java 6 JVM can certainly run EJB 2 code, as long as the JEE server being used supports it. In general, JVMs are backwards compatible - whatever Java 1.4 can run, so can Java 5, and -by extension- Java 6.
 
Sam Semwal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your response.
What I mean was JDK 1.4.2 migration to JDK 6 and at the same time Weblogic 8.1 to Weblogic 10.
As we are using EJB 2.0 I was just wondering whether the servers which use JRE 6 can support EJB 2.0 or we have to migrate to EJB 3.0.

From the second answer it is clear that we do not have to migrate to EJB 3.0 which is very good news for us.

Many thanks for your responses.

Cheers
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the second answer it is clear that we do not have to migrate to EJB 3.0

Actually, it's not. Note that I said "as long as the JEE server being used supports it." So you need to make sure that WebLogic 10 supports EJB 2 (it probably does, but you need to make sure).
 
Joe Ess
Bartender
Pie
Posts: 9265
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic 10 supports EJB 2.
I have a large EJB 2 application that I'm looking to move from WLS 8.1 to 10 and it deploys fine on 10. Unfortunately, BEA broke their own authentication API, so I'm waiting for a patch for that.
 
Sam Semwal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't worry, you don't have to provide disclaimer

Here is the solution:

http://edocs.bea.com/wls/docs100/compatibility/compatibility.html
http://edocs.bea.com/wls/docs100/ejb/overview.html#wp1116252
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic