aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Installation of J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Installation of J2EE" Watch "Installation of J2EE" New topic
Author

Installation of J2EE

Graham King
Greenhorn

Joined: Oct 30, 2003
Posts: 18
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


Blackstar_solar<br />----------------------------------<br />The Dictionary - "The most pointless book since How to Learn French' was translated into French."<br /> <br />Edmund Blackadder - Blackadder the Third
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi Graham,

I�m not familiar with NetBeans IDE, but you might need to install the Java 2 Enterprise Edition SDK from here http://java.sun.com/j2ee/download.html.[/url] A common practice is to use the API provided by your container vendor. WebLogic for example provides its own implementation of J2EE that could be imported from weblogic.jar, or its client subset wlclient.jar. So check your container�s documentation.
Please allow me to make one more suggestion: if you like to learn using an IDE, 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.


I think, therefore I exist -- Rene Descartes
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

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.


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Installation of J2EE