Session beans are transient and do not survive a server crash or a network failure. Excluding the above point,functionally how entity bean is special from a session bean? Even session Bean can contain methods that query,update and retrieve data in a relation table. Where entity beans are must and should in a project?
posted 14 years ago
Hi, Entity beans are meant to be domain objetcs, they give you the object view of the database schema, they can be used to represent your data model. They can serve multiple clients. On the other hand session bean can also retrive,update data but they are only valid for the user session, they cant represent data . Rishi SCJP,SCWCD