Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Compiling EJB interfaces

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic