File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Installation of J2EE

Graham King

Joined: Oct 30, 2003
Posts: 18

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

I think, therefore I exist -- Rene Descartes
Masoud Kalali
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.

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
I agree. Here's the link:
subject: Installation of J2EE
It's not a secret anymore!