Basic types of Enterprise JavaBeans?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / harika.thota001@gmail.com
EJB's holds the business logic solely.
There are 2 types of EJB
1--> Session ==>Performs task for the client
2--> Message Driven ==> acts as a listener for a message type ,for example Java Message Service API
Is This Answer Correct ? | 0 Yes | 0 No |
What is Session Bean Interface?
What are the system services of ejb container?
An EJB client, can marshall an object of the class java.lang.Class to an EJB?
What happens when I change a value in the httpsession from inside an ejb?
Can you be deported if you are stateless?
Explain what is an EJB Context?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
Why do we need ejb in java?
in EJB diclare the static methods are not?
Is decorator an ejb design pattern?
What does ejb stand for?
What are the advantages of java beam?