adplus-dvertising
frame-decoration

Question

The current method should not run within a transaction. If there’s an existing transaction in progress, an exception will be thrown.

a.

Required

b.

MANDATORY

c.

SUPPORTS

d.

NEVER

Posted under Java Spring Framework

Answer: (d).NEVER

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The current method should not run within a transaction. If there’s an existing transaction in progress, an exception will be thrown.

Similar Questions

Discover Related MCQs

Q. If there’s an existing transaction in progress, the current method should run within the nested transaction.

Q. For two transactions T1 and T2, T1 reads a field that has been updated by T2 but not yet committed.

Q. For two transactions T1 and T2, T1 reads a field and then T2 updates the field.

Q. For two transactions T1 and T2, T1 reads some rows from a table and then T2 inserts new rows into the table.

Q. For two transactions T1 and T2, they both select a row for update, and based on the state of that row, make an update to it.

Q. Isolation Levels Supported by Spring:-

Q. The exceptions that cause a transaction to roll back or not can be specified by attribute:-

Q. Key technology in developing distributed applications, especially multi-tier enterprise applications.

Q. Java-based remoting technology that allows two Java applications running in different JVMs to communicate with each other.

Q. To expose a service through RMI, you have to create the service interface that extends:-

Q. To call the methods on a remote service:-

Q. Spring remoting facilities can significantly simplify the RMI usage on both the server and client sides.

Q. There are several properties you must configure for an RmiServiceExporter instance:-

Q. By default, RmiServiceExporter attempts to look up an RMI registry at localhost port 1099.

Q. The Spring support classes facilitate building session beans:-

Q. Spring EJB Support Classes for Different Types of EJB:-

Q. EJB support classes provide access to the Spring IoC container for you to implement your business logic in POJOs and wrap them with EJB components.

Q. OpenEJB 3.1.1 supports:-

Q. If you want to expose EJB component for local access within an enterprise application, the preceding two interfaces should extend EJBLocalObject and EJBLocalHome.

Q. The ejbCreate() method is the EJB hook for initialization of state, much as a JSR-250 annotated @PostConstruct() method or afterPropertiesSet() method work in Java EE 5 and Spring.