Hi! 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. SampleRemote.java(remote interface) SampleHome.java(Home interface) SampleBean.java(Bean class) SampleClient.java(Client 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? 3.how 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, Madhavi.
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="http://www.amazon.com/exec/obidos/tg/detail/-/1931182108/" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com