File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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: 265
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://aspose.com/file-tools
 
subject: Compiling EJBs