Showing posts with label Advanced Java. Show all posts
Showing posts with label Advanced Java. Show all posts

Which statement describe about Message-Driven Beans is correct? (Choose one)

Which statement describe about Message-Driven Beans is correct? (Choose one)



a. Message-Driven Beans are stateful
b. An EJB 3.0 message-driven beans can itself be the client of another message-driven beans
c. The bean mediates between the client and the other components of the application, presenting a simplified view to the client.





Answer: A

Which statement about an entity instance lifecycle is correct?

Which statement about an entity instance lifecycle is correct?



a. A new entity instance is an instance with a fully populated state.
b. A detached entity instance is an instance with no persistent identity.
c. A removed entity instance is NOT associated with a persistence context.
d. A managed entity instance is the instance associated with a persistence context.




Answer: D