Session and Entity Beans
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.
-