Basic HTML version of Foils prepared May 19 99

Foil 10 Session and Entity Beans

From Enterprise Javabeans Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Nancy McCracken


Session Beans:
  • Fields contain conversation state
  • Typically reads/writes database for client
  • Life of client is life of bean
  • Can be transaction aware
  • Do not survive server crashes
Entity Beans:
  • Represent data in a database
  • Transactional
  • Share access for multiple users
  • Long-lived: as long as data in database
    • tyical of object-oriented databases
  • Survive server crashes.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Mon Jul 5 1999