my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes Compiling EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Compiling EJBs" Watch "Compiling EJBs" New topic

Compiling EJBs

Jaffery Rab
Ranch Hand

Joined: Jan 18, 2002
Posts: 36
I am new guy in EJB world and just try to run and deploy first EJB's application in J2EE application server. I got the problem that how can I compile my EJB throgh javac.....I read the same issue at matter of fact I set my class path and everything but error message is

and my code was

I think I got the problem with javax package cause even I can't be able to compile my servlets can I solve that problem please help
Irfan JaffreyCODE] [/CODE]
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
u download the j2sdkee1.3.1 from u set the classpath like this
set JAVA_HOME=c:\jdk1.3
set J2EE_HOME=c:\j2sdkee1.3.1
set CPATH=.;c:\j2sdkee1.3.1\lib\j2ee.jar
set CPATH=.;c:\j2sdkee1.3.1\lib\locale
then u can compile ur ejb program.
I agree. Here's the link:
subject: Compiling EJBs
It's not a secret anymore!