Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installation of J2EE

 
Graham King
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've downloaded and installed these two packages:
NetBeans IDE + J2SE SDK
J2EE 1.4
from here

I'm trying to get into deveolping and using EJB (what i understand is part of J2EE) but whenever i have a file with I get an "package javax.ejb does not exist"

Have i missed a stage in the installation...such as adding J2EE to my enviromental variables?

Could someone please help?

Thanks in advance
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Graham,

I�m not familiar with NetBeans IDE, but you might need to install the Java 2 Enterprise Edition SDK from here
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Graham
You need to mount J2ee_home/lib/j2ee.jar
in your IDE file system part. -if you use Old Netbeans-
and if you are using 4.0 then you need to add it to your class path ,in appropriate way .
I should tell you that netBeans 4.1 beta 2 support ejb and WS so i suggest you download newr version of NetBeans.

Originally posted by Valentin Tanase:
I would suggest you to think about using Eclipse, which is also free. Eclipse is a very powerful IDE and has a lot of support from the open source community. It could also help you in the future with your career, since it is becoming more like an industry standard.
Regards.


you are totally true , but Netbens 4.1 support EJB / WS out of the Box while Eclipse does not. and its better to go with netbeans for developing J2ee application instead of Eclipse and My Eclipse j2ee plugin.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic