This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Websphere and the fly likes how to execute EJB in websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "how to execute EJB in websphere" Watch "how to execute EJB in websphere" New topic

how to execute EJB in websphere

madhavi latha

Joined: Oct 28, 2003
Posts: 2
Can anybody tell me step by step procedure to deploy Stateless session bean in Websphere and how to execute a client file?
I have the following files. interface) interface) class) class)
I have created a jar file.
jar cvf hello.jar sample
I compiled all these files and it generated a package sample.
now what r the steps i need to follow to deploy the bean in Websphere?
1.Do I need to create META-INF folder?
2.what xml or xmi files i need to write? can i create a jar file using AAT?
4.wht r the changes i need to do in config file or policy file or anything?
5.what classpath i ihave to set?
I am very much confusing with the steps to deploy.
I have gone through so many websites.but I didn't find any step by step procedure neatly anywhere.
6.Where can I find examples in websphere?
If anyone tells this,they can be appericated.
I have been facing a problem for the past one month.
Thank u,
Howard Kushner
Ranch Hand

Joined: Sep 19, 2003
Posts: 361
Hello Madhavi,
Are you using WebSphere Studio? If so then the UTC is the way to go. Six simple steps. If not then it becomes more difficult and you probably need the AAT depending on your development tooling. What version of WebSphere Application Server are you using? That will tell me which level of J2EE.

Howard Kushner<br />IBM Certified Enterprise Developer - WebSphere Studio Application Developer V5.0<br />IBM Certified Advanced System Administrator - WebSphere Application Server V5.0<br />IBM Certified Solution Developer - Web Services with WebSphere Studio V5.1<br /><a href="" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287
Tom John

Joined: Apr 15, 2002
Posts: 29
I think it is also my confusion.
I could not find a good url to study the Assembly and Deploy the codes to appServer .
Could anyone help me to settle this ?
I have no any WSAD .
Mahesh Chalil
Ranch Hand

Joined: Jan 24, 2002
Posts: 147
Hello madhavi and Tom
Here is what you need to do. As you have Websphere Application Server (Tom, which application server do you have?) it comes with Application Assembly Tool (AAT). What does it do for you is:
1. Let you assemble your files as an Ear file, war file or jar file. Simple..rt? No?
2. It is ... if you want to know how to assemble with your AAT, go to Help -> help contents. They have one of the best materials to help you get up and running..
Now, one your use AAT, you will get an EAR file with all the DTDs, MANIFEST etc .. you dont have to worry about writing anything of your own, but you need to configure all these things using AAT while you create your ear file from AAT.
Remember one thing. AAT is not a tool for development. It is just a tool to assemble your components together to form an ear file from war, jar etc.. just like deploytool in J2EE Reference Implementation..
Hope my lecture helps;-)
I agree. Here's the link:
subject: how to execute EJB in websphere
It's not a secret anymore!