Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE SDK 1.3 vs an AppServer?

 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic