File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB3 & JDK1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3 & JDK1.4" Watch "EJB3 & JDK1.4" New topic

EJB3 & JDK1.4

Mohammad Jaber
Ranch Hand

Joined: Apr 10, 2006
Posts: 46
Hi all ,
is there any way where i can use EJB3 under JDK 1.4 if i used XML mapping files instead on Annotations and using Unmanaged Senarion where i use the EntityManagerFactory instead of injection , any hints or ideas , thanks

OCP , SCJP 5.0
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Since EJB3 relies heavily on Java 5 features this is not possible.
Debu Panda
Ranch Hand

Joined: Jan 21, 2007
Posts: 100
It depends upon whether app server supports that. For example, OracleAS supports limited EJB 3 functionality with JDK 1.4 using XML

Author: EJB 3 In Action (
Reza Rahman
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
JBoss on the other hand, requires JDK 5 for EJB 3 support.
[ March 18, 2007: Message edited by: Reza Rahman ]

Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Mohammad Jaber
Ranch Hand

Joined: Apr 10, 2006
Posts: 46
Thanks for your replies , but can you please give me more details about running it under Oracle AS and JDK 1.4 how can i accomplish this , does it need a certain persistence.jar compiled under 1.4 or it depends on the Implementaion (which on Oracle AS case is Toplink), or is it configured by AS , and can you please tell me as an example what limitaions we might have , Thanks again
I agree. Here's the link:
subject: EJB3 & JDK1.4
jQuery in Action, 3rd edition