Basic types of Enterprise JavaBeans?

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


Please Help Members By Posting Answers For Below Questions

Enlist the declarative transaction types?

602


What is bean in ejb?

511


What is @resource in java?

528


What is an entity and its types?

554


Define Initial Context?

590






What are the advantages of ejb?

552


How can enterprise javabeans be accessed from active server pages?

571


What causes statelessness?

485


What is stateless and stateful?

519


What is ejb and how it works?

527


What’s the difference between hibernate and ejb 3?

551


Is functional programming stateless?

527


Explain what is an EJB Context?

619


What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?

554


What is jar, war, and ear?

625