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 contents of Container.

578


What do you mean by ejb ql?

567


Enlist the changes in EJB 2.1 ?

573


Where is ejb used?

516


Who took over ejb?

592






Which is the only method defined in the javax.ejb.handle interface?

627


Explain ejbhome and ejbobject in ejb?

581


What is @resource in java?

523


Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?

586


How does ejb invocation happens?

548


What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?

556


What do you mean by in-memory replication?

611


How to import ejb project in eclipse?

571


What does statelessness mean?

518


What is ejb home object?

560