A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Session bean accessing entity
Joined: Jun 25, 2001
May 28, 2002 00:03:00
Why a session bean accessing an entity bean is a local call? In the session bean we have to do a JNDI lookup to access an entity bean and call the entity beans remote methods.
Thanks in advance
Joined: Jul 04, 2001
May 28, 2002 08:19:00
Because it isn't a local call. It's a remote one. EJB1.1 has no provision for accessing
in the same container in a local manner. EJB2.0 does. You can treat an
in the same container as a local call providing your container supports EJB2.0.
I agree. Here's the link:
subject: Session bean accessing entity
on EJB Topic
Remote v Local
Entity v/s Session
using session facade pattern to call entity bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013