This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Compiling EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Compiling EJBs" Watch "Compiling EJBs" New topic
Author

Compiling EJBs

Jaffery Rab
Ranch Hand

Joined: Jan 18, 2002
Posts: 36
Hi
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 http://www.coderanch.com/t/310135/EJB-JEE/java/Compiling-EJBs 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 too......how can I solve that problem please help
cheers
Irfan JaffreyCODE] [/CODE]
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 264
u download the j2sdkee1.3.1 from www.sun.com.then 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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Compiling EJBs
 
Similar Threads
EJB Home interface
Help with CalcHome.java interface
Help with CalcHome.java interface
First Program in HF
Why is it giving "package does not exist error"