ejb@glassfish.java.net

RE: EJB3 worked in Glassfish

From: Mohanapriyanka_Dasari <Mohanapriyanka_Dasari_at_mahindrasatyam.net>
Date: Fri, 16 Oct 2009 20:19:11 +0530

Tried with Injections(@EJB in client) when i wanted to try the EJB3 first application in Glassfish.
It did not work.

________________________________
From: Eve Pokua [gorgeous65_at_msn.com]
Sent: Friday, October 16, 2009 8:01 PM
To: ejb glassfish
Subject: RE: EJB3 worked in Glassfish

Or you could just use injections.

eve

________________________________
From: Mohanapriyanka_Dasari_at_mahindrasatyam.net
To: ejb_at_glassfish.dev.java.net
Date: Fri, 16 Oct 2009 19:36:12 +0530
Subject: EJB3 worked in Glassfish


Hi

It worked for me when i changed code like this:

@Stateless(mappedName="HelloBeanJNDI")
public class HelloBean implements Hello
{


and creating instance for Remote interface like this in JSP
hello = (Hello) ic.lookup("HelloBeanJNDI");

Thank you.

Priyanka

________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

________________________________
Use Windows Live Messenger for free on selected mobiles. Learn more.<http://clk.atdmt.com/UKM/go/174426567/direct/01/>

________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.