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.
Which is a valid PostConstruct method in a message-driven bean class?
a. @PostConstruct
a. public boolean init() { return true; }
b. @PostConstruct
b. private static void init() {}
c. @PostConstruct
c. private void init() {}
d. @PostConstruct
d. public static void init() {}
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.
Which is NOT a correct statement about entity beans?
a. They are used to store persistent data
b. They are used to share data among clients
c. They are used to implement business processes
d. They are used to represent data stored in a RDBMS