Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling EJB interfaces

 
prasanna kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello people,

I'm a beginner to EJB Technology.
i tried compiling the home,component,bean.java files but the compiler says that package javax.ejb doesn't exist...
the error is on the line javax.ejb.*;
I would really appreciate if anyone can give any suggestions.
Since This is the first step i'm not able to proceed further.

I downloaded the j2ee RI server
and I set the environment varaiables as

J2EE_HOME - c:\j2sdkee1.3.1
JAVA_HOME - c:\j2sdk1.4.2_04
PATH - c:\j2sdkee1.3.1\bin;c:\j2sdk1.4.2_04\bin
do i need to set up the classpath to j2ee.jar? if so
do I find the j2ee.jar file and how do i set up the classpath

I would be grateful if anyone can clear this.



Thank you
Arun
 
C Chavan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, you will need to setup the classpath to include j2ee jar files. alternately, if you are compiling from command prompt, you may specify the required JARs using javac -classpath option.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic