Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying Beans

Status
Not open for further replies.

rajeshs

Technical User
Dec 17, 2001
2
JP
Hi
I have created the beans. home, remote and session. Now how to make a jar, ear files from it?
I am deploying on oracle 9iAS
 
If your EJB classes (home and remote interfaces, and the bean class) are set up correctly, and you have the appropriate XML descriptor files in a META-INF directory, you should use the vendor-specific EJB jarring utility. I am not familiar with Oracle 9iAS's process, but for BEA's Weblogic, you need to package all of the .class files (for remote, home, and bean classes) and XML files into their own jar, and then call:

Code:
    java weblogic.ejbc EJBJar.jar

This will perform the container-specific jarring operation to transform the EJBJar.jar into code that is executable by the particular app server which will be hosting the EJB.

Hope this helps,
Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top