• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unclear on how to set up for EE

 
Thomas Kennedy
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've installed Glassfish 3 and confirmed that it's up and running.

I'm on Windows XP. I'm not using any IDE.

Now I want to compile an EJB but the compiler says it cannot find javax.ejb.*. Of course I see the file it needs, in glassfish/modules. What I don't understand is what, if anything, I'm supposed to do with my environment variables to get the compiler using EE, as opposed to the SE jdk (1.6) I've used up to this point. My classpath is unchanged, and JAVA_HOME still points to my SE version. So I don't see that installing Glassfish did any such setup, and I sort of expected that it would.

So what is it I need to do to get on EE? And is Glassfish one and the same with the EE edition?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I would strongly advise you to use an IDE such as Eclipse or NetBeans when attempting development of an EJB project, or a web application project with EJBs.
The gains you may do by doing it "by hand" will, most likely, be obscured by the complexity of managing the classpath etc.
If you want to be "closer to the metal" with as little as possible hidden from you, I suggest using Eclipse.
NetBeans is nice, but when learning, it tends to hide a little too much (my personal experience).
Best wishes!
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you decide to go for Eclipse, download the Eclipse for J2EE Developers package.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic