EJB-methods-Entity-Bean.aspx

What are create methods of Entity Bean?

- The create() method is used to insert data into the database by creating a new instance of CMP entity bean.

- The creation methods look like this:

a. ejbCreate()
b. ejbPostCreate()

- The creation methods are linked at run time. The container delegates the invocation to these methods when the create() is invoked on home interface.

- These methods create Entity beans per programmer specified parameters and conditions.
EJB session bean: What happens if remove() is never invoked on a session bean?
EJB session bean - the bean might be kept in cache until the session is timed out after which it is removed or..
EJB transaction attribute: What is the default transaction attribute for an EJB?
EJB transaction attribute - There is no default transaction attribute for an EJB. The deployer must specify a value for the transaction attribute for the methods that have..
EJB Server,Container,Connector: Difference between a Server, a Container, and a Connector.
EJB Server, Container, Connector - A server is an application that responds to the requests made by client(s) and manages system resources like network connections, threads, processes, memory, ..
Post your comment