Hi all, I have a stateless EJB (TestEJB) which returns a "Hello World" created in WSAD 5.0. I need to write a test client application which can be a basic java class or a JSP to call that EJB and execute that "Hello World" method. Since I am new to WSAD, could anyone please let me know: 1) The test code for client application 2) How to import or add that generated EJB to client application path in WSAD. I have tried test client from WSAD where I can see Bean Page, JNDI explorer..... but when I clicked on Invoke button I cannot see anything. Thanks in advance, Chandra
HI Chandra I am not discouraging you but if you could at least look at Help Contents from WSAD, you will see step by step instruction about how to do all these things. Please let us know if you face any problem after that. I studied myself a long back only following their help materials and there is nothing else to beat that. There is everything what you need. I faced the same situation you had before when I was testing my ejb but you will see that solution is just about following the right path of how to do it. Thats why you have WSAD Help "Tasks" to do it. You ask the question "How do I". They have answers for you. Good luck.
It is much easier to use the Universal Test Client (UTC) that comes with WebSphere Studio Application Developer. Check the documentation. There is no need to write a client for unit testing. After generating deploy code, right click the bean and select run on server from the pop-up menu. Hope this helps.
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
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