Hello ranchers, I've developed the CMP bean and test it sucessfully with java client using WebLogic 6.0. Can anyone give me the basic idea how to use servlet as a client to test my EJB? Thanks, Oleg
Rahul Mahindrakar
Ranch Hand
Joined: Jul 28, 2000
Posts: 1825
posted
0
Try out this servlet . But keep in mind and make the nessary changes
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 973
posted
0
You may also reference the ejb from your web.xml deployment descriptor: <ejb-ref> (optional) <description>description text</description> (optional) <ejb-ref-name> name </ejb-ref-name> (required) <ejb-ref-type> ejb java type </ejb-ref-type> (required) <home>The home interface of the ejb</home> (required) <remote>The remote interface of the ejb</remote> (required) <ejb-link> ejb.name </ejb-link> (optional) </ejb-ref>
Oleg Shklyar
Greenhorn
Joined: May 28, 2001
Posts: 26
posted
0
Thank you guys for your assistance. It works! (Administration tasks took a lot of time, but WLS is better than WebSphere. This is my opinion) Oleg
Rahul Mahindrakar
Ranch Hand
Joined: Jul 28, 2000
Posts: 1825
posted
0
but WLS is better than WebSphere. This is my opinion
Hmm.. Please dont tell this. Weblogic and WebSphere are both great products and one cannot be pitted against the other. If you are comparing Weblogic and Websphere 3.5 you may be slightly right, but with the arrival of Websphere 4.0 nothing definate can be said. Let the market decide is the only solution. ------------------ Mahindrakar IBM Application Server & Developer Forum Moderator Consultant - Zensar Technologies ,Pune India. SCJP2, SCJD2 & SCJEA (Part I)