Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling EJBs

 
Jaffery Rab
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic