• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai,
Can u please clear me
when would we use Entity beans?
when would we use Stateless Session beans?
when would we use Stateful Session beans?
when would we use Message-driven beans?
Regards...
Vijaya.
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In a nutshell...
  • Entity beans - for representing persistent information
  • Stateless session beans - for representing business processing/logic
  • Stateful session beans - for representing business logic where state is required to be maintained over a longer period of time (longer than a single method invocation)
  • Message-driven beans - as an aynchronous interface (via JMS) to functionality contained within stateless session beans, or to provide a messaging interface for your app


  • HTH
    Simon
    [ November 06, 2002: Message edited by: Simon Brown ]
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic