A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Session bean accessing entity
on EJB Topic
Remote v Local
using session facade pattern to call entity bean
Entity v/s Session
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014