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 |
Is microservice stateless?
What were entity beans?
What is bean in ejb?
What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?
What is the difference between @requestparam and @pathvariable?
What is stateless and stateful session bean in ejb?
How does ejbs work?
Which services are provided to ejb components by the ejb container?
Explain the concept of local interfaces?
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
Is decorator an ejb design pattern?
In EBs the DB state is more consistent than SBs why?