Q&A

Q1:What files do I need to write for a message-driven bean?
A1: Unlike other enterprise beans, message-driven beans consist of enterprise bean class and deployment descriptors. They do not provide home or component interfaces.
Q2:Can a message-driven bean contain a state that's specific to a client?
A2: A message-driven bean can't contain a state that is specific to a client. However, the instance variables of the message-driven bean instance can contain a state across the handling of client messages. Examples of such a state include socket connections, database connections, and references to EJBObject.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.253.223