Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I am brand new to EJB

 
Edelweiss Cierniak
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Today I downloaded J2ee 1.4 from Sun site, and tried to play with it.
I can run the sample using ant.
but when I try to type in some java files( I copied from Headfirst EJB book), and tried to compile using
javac *.java
I got: symbol not found: javax.rmi.RemoteException.
I did include j2ee.jar in the classpath. What else do I need to set up? or there are more jar files to download?
Bow!!
[ December 20, 2003: Message edited by: Edelweiss Cierniak ]
 
Edelweiss Cierniak
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
one more confusion.
is jdk1.3 included in j2ee 1.4, should I downloaded jdk first before I install j2ee 1.4?
Javax.rmi.RemoteException is in jdk1.3? if so, why the samples provided in j2ee were able to be compiled. is that because Ant provided jar files for RemoteException? Where are the jar files?
Thanks very much.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know what the deal is with javax.rmi.RemoteException (java.rmi.RemoteException is part of the JDK), but generally you need to install both a standard JDK and the J2EE SDK.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic