wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes I am brand new to EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "I am brand new to EJB" Watch "I am brand new to EJB" New topic
Author

I am brand new to EJB

Edelweiss Cierniak
Greenhorn

Joined: Mar 31, 2003
Posts: 15
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

Joined: Mar 31, 2003
Posts: 15
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
wood burning stoves
 
subject: I am brand new to EJB
 
Similar Threads
javax.naming.NamingException: Failed to initialize the ORB exception
weblogic 6.1 EJB Entity Bean CMP compilation issue
multiple EJB Container on same App Server
one mock question for exception
Configuration of EJB2.0 with struts1.2.4