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 :-(
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
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.