ejb@glassfish.java.net

RE: EJB3 worked in Glassfish

From: Eve Pokua <gorgeous65_at_msn.com>
Date: Fri, 16 Oct 2009 15:31:54 +0100

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 http://clk.atdmt.com/UKM/go/174426567/direct/01/