Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

how to execute EJB in websphere

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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;-)
Let's go to the waterfront with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic