aspose file tools
The moose likes EJB and Other Java EE Technologies and the fly likes EJB jar files? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "EJB jar files?" Watch "EJB jar files?" New topic
Author

EJB jar files?

Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
Hi all
in order to compile the home interface and remote interface i need jar files for the packages javax.ejb and others.
where or how to download them and how to set the classpath in order for the system to get need classes from them
thanks all for your help.


Thanks for your help.
Marco Barenkamp
Ranch Hand

Joined: Aug 27, 2001
Posts: 94
Hi,
you can use the J2sdkee by sun to compile the classes and interfaces. Download at http://java.sun.com.
After installing, you have to put the following jar archive in
your classpath:
~j2ee_install_folder~/lib/j2ee.jar.
Have fun!
------------------
Marco Barenkamp
____________________________________________
L M I N T E R N E T S E R V I C E S AG
Senior Trainer & Architect,
BEA Certified Enterprise Developer
Sun Certified Programmer for the Java2 Platform
Sun Certified Web Component Developer for the Java2 Platform
Sun Certified Developer for the Java 2 Platform
Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition (PI)
[This message has been edited by Marco Barenkamp (edited November 18, 2001).]


Marco Barenkamp<br />_ _ _ _ _ ________________________ _ _ _ _ _ <br />L M I N T E R N E T S E R V I C E S AG<br /> <br />Head of Software Development<br /> <br /> <br />BEA Certified Enterprise Developer<br />Sun Certified Programmer for the Java2 Platform<br />Sun Certified Web Component Developer for the Java2 Platform<br />Sun Certified Developer for the Java 2 Platform <br />Sun Certified Business Component Developer for the Java 2 Platform <br />Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition<br /> <br />LMIS AG
Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
Thanks for the reply,i do appreciate it.
i downloaded j2sdkee1.2.1-src and i found the j2ee.jar
in this path: c:\j2sdkee1.2.1-src\j2ee\misc\lib\j2ee.jar
I'm not sure if i'm pointing to the right jar file.
I'm trying to comple a sample file and i'm getting the following error:
Class javax.ejb.EJBObject not found in import.
import javax.ejb.EJBObject;

the file is :
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
public interface Customer extends EJBObject {
public Name getName()
throws RemoteException;
public void setName(Name name)
throws RemoteException;
public Address getAddress()
throws RemoteException;
public void setAddress(Address address)
throws RemoteException;
}

thanks for the help again.
Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
Thanks for the help again.
i downloded the wrong stuff,i got it right this time.
thanks.
 
 
subject: EJB jar files?
 
Threads others viewed
Regarding Jar File
Jar Tag (put libraries in Jar file).
jar file with in a jar file
Exception in thread main
how to include jar in jar
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture