I am aspiring to learn EJB development. When I installed the J2EE SDK 1.3 and was able to start the server using 'j2ee' on the command line... Is this an application server / EJB container? Do I just need this to program EJB? Can anyone help me with a good way to start? Do I still need any app server?
posted 13 years ago
I think what you downloaded was the J2EE reference implementation. Yes, you can create EJB's and deploy them with the Deploy tool, but it is a PAIN, just going to so many windows. When I started learning EJB (i'm still learning) I used the J2EE reference implementation. Didn't like it because of what I mentioned before. Now I use JBoss. You can download it for free, you can develop/deploy EJB's, servlets, jsp's. It is an application server that *implements* the J2EE set of api's (although is not certify but SUN). I would highly recommend using the Ant build tool to package your EJB's, you will see the difference using this tool and using the Deploy Tool and when you are familiar with EJB stuff (home interface, remote interface, local home interface, local interface, deployment descriptors, etc..) try XDoclet, it is beautiful the amount of time you save. just my $0.02 hope it helps...
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury