Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Why do we need Entity Bean Local Component Interface ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi People.

Can any one help me regarding the following issue :

Its never advisable to acess the entity beans remotely. the best performance which we can get it to use
Entity beans locally and provide a remote session bean to acess the local entity bean

Or use the remote session bean to acess the co- located Entity bean.

then why do we have the remote home and compoenet interface for an Entity bean when its never used .


Cheers
Param
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

then why do we have the remote home and compoenet interface for an Entity bean when its never used .



Local interfaces were introduced from EJB 2.0. Earlier versions had just the remote interfaces. Remote interfaces are useful when Entiy needed to be accessed from another JVM. Usually you will find entity and session colocated, so remote are not used. This resulted in introduction of local interfaces in EJB 2.0.

Hope this helps.
 
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic