All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: About Question enthuware.oce-ejbd.v6.2.376 :
PostPosted: Mon May 04, 2015 10:54 am 
Offline

Joined: Tue Mar 04, 2014 7:03 pm
Posts: 2
The case of the bean name in the first answer is incorrect.

(YLocal) sctx.lookup("java:global/EJBD-ToyApp/EJBD-ToyApp-ejb/XYSessionbean!YLocal");

Please change XYSessionbean to XYSessionBean, so the answer would be 100% correct.


Regards


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.oce-ejbd.v6.2.376 :
PostPosted: Sun Mar 18, 2018 4:23 pm 
Offline

Joined: Wed Dec 16, 2015 3:16 am
Posts: 5
"YLocal yl = (YLocal) sctx.lookup("YLocal");"
I suppose this option is not correct because of the name String. What String would be correct?


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.oce-ejbd.v6.2.376 :
PostPosted: Sun Apr 08, 2018 2:38 pm 
Offline

Joined: Wed Dec 16, 2015 3:16 am
Posts: 5
Please, someone answer my question!


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.oce-ejbd.v6.2.376 :
PostPosted: Sun Apr 08, 2018 9:58 pm 
Offline
Site Admin

Joined: Fri Sep 10, 2010 9:26 pm
Posts: 7095
Yes, the name is incorrect. The correct string is already given in option 1: "java:global/EJBD-ToyApp/EJBD-ToyApp-ejb/XYSessionbean!YLocal"
You should also go through section 4.4 of Global JNDI Access of EJB 3.1 for complete details.

HTH,
Paul.


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.oce-ejbd.v6.2.376 :
PostPosted: Sun Apr 08, 2018 10:05 pm 
Offline
Site Admin

Joined: Fri Sep 10, 2010 9:26 pm
Posts: 7095
negociadordns wrote:
The case of the bean name in the first answer is incorrect.

(YLocal) sctx.lookup("java:global/EJBD-ToyApp/EJBD-ToyApp-ejb/XYSessionbean!YLocal");

Please change XYSessionbean to XYSessionBean, so the answer would be 100% correct.


Regards

Fixed.
thank you for your feedback!
Paul.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Template made by DEVPPL/ThatBigForum