aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB 3 with j2ee 1.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 "EJB 3 with j2ee 1.4" Watch "EJB 3 with j2ee 1.4" New topic
Author

EJB 3 with j2ee 1.4

Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
Hi,
I am new to ejb. I am using j2ee 1.4. is it possible to work with ejb 3 with j2ee 1.4?..what I need to use ejb 3?

thanks.
milan.


Milan.<br />I can because I think I can...
Sumit Malik
Ranch Hand

Joined: Jan 05, 2007
Posts: 84
Hi Milan Jagatiya,

Yes you can but i would suggest you to go through Head first series of EJB and even you can go through the sample tutorials which has been provided by jboss

Jboss trailblazer

I hope this would suffice the initial requirement of j2ee with EJB

Cheers !!!11
Sumit Malik


If at first you don't succeed, don't try skydiving
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Well, yes and no.

EJB is part of the Java EE 5 version which is the next version after J2EE 1.4 so Sun changed the name, basically EJB3 is part of J2EE 1.5.

You can have a JSP Servlet in version 1.4 in Tomcat and lookup and use EJB 3s that are deploying in an EJB 3 supported app server.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
hi,
thanks mark.


You can have a JSP Servlet in version 1.4 in Tomcat and lookup and use EJB 3s that are deploying in an EJB 3 supported app server.


->can i use sun app server(j2ee 1.5) for both my web component(j2ee 1.4) and ejb3 component?

->and as you told if i deploy my web component in tomcat and ejb3 component in sun app server, how can they communicate?

milan.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

You should be able to deploy both on Sun's App Server that is Java EE 5 certified, called Glassfish or also in JBoss.

Your Servlets just lookup EJBs just like any other client would.

Mark
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
Thank you so much! Mark.

milan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB 3 with j2ee 1.4
 
Similar Threads
Which version of J2EE and EJB will be used in Part I
How to convert com to ejb
Entity Beans and DAO
To Kathy & Bates
How to create EJB 2 and EJB 3 application with Eclipse