File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Deployment problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Deployment problem" Watch "Deployment problem" New topic
Author

Deployment problem

srinivas ramanujam
Greenhorn

Joined: Mar 31, 2003
Posts: 4
Hi,
I have HelloWorld stateless session example with Hello, HelloHome, HelloBean and HelloClient classes.
I have written and compiled the above classes and placed in the follwing directory structure
My directory structure is
HelloWorld
classes
META-INF
*.classes
Then using following command I created a temp jar
jar cf tmp.jar *
and then final jar using
java weblogic.ejbc -keepgenerated tmp.jar HelloWorld.jar
Now where shall I place this final HelloWorld.jar in the Weblogic server.
I have Weblogic server 7.0. and what else I have to do to run this example(Am I CORRECT upto this)
PLEASE do not give me a link to BEA documentation site.
Thanks and Regards
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2905
    
  12

Usually, you will go into the WebLogic console, and click on EJB under Deployments. Choose Install a new EJB, and browse for your jar file. On the other hand, in certain cases, you can autodeploy the jar by putting it into the applications subdirectory of your domain.
srinivas ramanujam
Greenhorn

Joined: Mar 31, 2003
Posts: 4
Thanks Greg!
 
 
subject: Deployment problem
 
It's not a secret anymore!