Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> > > > How to go about deciding whether to use session beans and entity bean? > > Ans For 1 and 3 > > Entity Bean: > In general session bean is representing a client on the server side. However, only statefull session bean maintaining a state between the client and server. Stateless session bean is not. after it completes the work for the client it is removed from a instance pool. > For the entity bean, you can think of it as a relational object maping to a row of a table. And there are two type of them; bean-managed and container-managed entity beans. bean-managed entity bean means you have to write the code for inserting, updating, and deleting rows from a table, in constract, the container-managed does the work for you. However, you have to define variables maping to records in a table.
Replies: |
Sponsored Links
|