1Z0-860 Web TestEngine demo

Exit VCEDump 1Z0-860 Java Enterprise Edition 5 Business Component Developer Certified Professional
Question 15 of 46
0% complete
Q15 Single choice

A developer implemented a Java class called Store. The class is annotated correctly to act as an entity.
The developer created a stateless session bean to create, lookup, and remove Store objects. This session bean has a container-managed entity manager injected into field em and a removeStore method with transaction attribute REQUIRED.
Given the following code :
32. public void re move St ore (St ore store) {
33. em.remove(store); 34.}

What is a possible reason that an HlegalArgumentException is thrown at Line 33 when the removeStore method is called by a remote client?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in