Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes J2EE where's it gone! 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 "J2EE where Watch "J2EE where New topic
Author

J2EE where's it gone!

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
OK, it's been over 4yrs since I worked on a J2EE project (recent projects have all been Servlet/JSP based J5SE projects)

I've been looking around the J2EE scene again for a few days to see whats changed and it seems a lot has changed!

Can you no longer download simply the J2EE JDK5? Why is it Sun seem to only have the option to download the Sun WebApp server? I take it J2EE is in there somewhere?
looking at it the is a J2EE.jar under the libs folder but it's only 1KB in size, there's alo a Java2EE.jar which is bigger.

I need to set Eclipse up to use J2EE, does anyone know how exactly I'm supposed to do this with this new downlooad structure (Sun WebApp all bundled together).

I've tried adding teh java2ee.jar to my Eclipse project as an external JAR file, is this all I need to do?

It's been far too long since I last used J2EE, things haveclearly moved on in a new direction from me :-(
Jeremy Botha
Ranch Hand

Joined: Feb 16, 2005
Posts: 125
Hi, Bill.

As far as I am aware, there is no single 'J2EE' download. Rather, there are a lot of J2EE API's available on the sun site. Things like JMS, XML, Web-services etc.

If you want a complete set of J2EE Apis, JBoss's application server or sun's SunOne server are probably your best bet.

J


McFinnigan? Never heard of him. Nobody here but us chickens...<br /> <br />SCJP for Java 1.4<br />SCJD for Java 5.0
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Yes, for EJB 3.0 there are no longer any classes to extend or interfaces to implement. You EJB3 objects are POJOs. There are Annotations, and you usually get them from a reference implementation rather than from Sun directly. For instance, if you are going to use JBoss AS, then download either AS 4.2.GA or if you want 4.0.5GA then you will need to use the web installer for that version to get EJB3, it is just easier to do it that way for 4.0.5

Good Luck

Mark


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

Joined: Feb 18, 2005
Posts: 362
Found/downloaded :
ejb-3_0-api.jar (Sun site)
This is a good starting point for EJB3 I guess.

And looking at it, by mapping a Libraries Path (using Eclipse) to the Sun WebApp/libs folder I can use the J2EE classes included in that (downloaded when you click on the J2EE 5 download option from Sun's site)

It's mainly EJB I need to get used to again and will be using mail.jar too but that was used in my previous SE project.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2EE where's it gone!