File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j2ee & EJB

 
priya ranjan sahay
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,
When I compiled EJB files using jdk1.3(standard edition)
compiler javac,it gave errors such as can't resolve
symbols like EJBHome,EJBObject,CreateException etc.
Then I installed jsdk(enterprise edition)and set path
for \bin and \lib directories,but still it is not
recognising those classes.please send me details of
how to establish relations between these two jdks and
how to compile EJB files.
Thanking u
priya ranjan
 
Arun, Shanmugham
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Tell me what j2ee server u are using. If not download and install j2ee server from Sun or install some App Servers like
Bea WebLogic or IBM WebSphere or iPlanet App Server.
Arun
SCJP
 
ruilin yang
Ranch Hand
Posts: 334
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u need to set the Classpath to include the directories containing the libraries for compiling EJB code.
 
Naveed Azhar
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi priya ranjan sahay:
You mentioned that you have included \lib directory in the CLASSPATH. In fact you you need to include j2ee.jar file ( located in the \lib directory, not \lib directory )in your CLASSPATH.
so your classpath will have entry \lib\j2ee.jar ( not \lib itself).
Hope it works, cheers
------------------
Muhammad Naveed Azhar
(naveed@hotmail.com)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic