• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB jar files?  RSS feed

 
Tom Barns
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Tom Barns
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the help again.
i downloded the wrong stuff,i got it right this time.
thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!