Answer Posted / janet
There are two types of Enterprise beans- session beans and
entity beans representing different types of business logic
abstractions.
session beans represent behaviors associated with client
sessions ,they are generally implemented to perform a
sequence of tasks with in the context of a transaction. A
session bean is a logical extension of the client program
,running process on the clients behalf remotely on the server.
Entity bean represent specific data or collection of data
,such as a row in a relational database.Entity bean methods
provided operations for action on the data represented by
the bean.An entity bean is persistent,it servives as long as
its data remains in the database.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between Session bean and Entity bean?one?
What is the use of @resource?
What is Enterprise JavaBeans Query Language (EJB QL)?
Differentiate Phantom from Un-repeatable?
Why do we use ejb?
What is a stateless session?
What are the attributes of transaction in ejb?
What is bean-managed transaction?
What are ejb components?
What are the key benefits of the ejb technology?
Explain the concept of connection pooling feature of ejb container?
Which services are provided to ejb components by the ejb container?
What are the callback annotations for the stateless bean?
What is EJB server provider?
How do I use a less than or greater than on a message selector in ejb-jar.xml?