Explore topic-wise MCQs in Spring.

This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.

1.

The hibernate-session element tells jBPM to reuse an existing Hibernate session:-

A. True
B. False
Answer» B. False
2.

When we re integrating with Spring, we modify the transaction-context element and the command-service element.

A. True
B. False
Answer» B. False
3.

The next bean the dataSource is configured entirely at your discretion. The properties are set using properties in the properties file :-

A. jbpm4.xml
B. jbpm.properties
C. jbpm4.properties
D. none of the mentioned
Answer» D. none of the mentioned
4.

Because our jBPM configuration uses Hibernate, we have to configure the :-

A. AnnotatedSessionFactory
B. AnnotatedSessionFactoryBean
C. None of the mentioned
D. All of the mentioned
Answer» C. None of the mentioned
5.

To have an annotated class be registered as a Hibernate entity, it needs to be registered with the:-

A. AnnotationSessionFactory
B. AnnotationSessionFactoryBean
C. AnnotationSession
D. None of the mentioned
Answer» C. AnnotationSession
6.

jBPM is, fundamentally, a runtime that stores its state and jobs in a database. It uses:-

A. Hibernate
B. Spring
C. All of the mentioned
D. None of the mentioned
Answer» B. Spring
7.

JBoss itself supports deploying processes to a directory and loading those, with some configuration.

A. True
B. False
Answer» B. False
8.

It s not too difficult to get jBPM working on JBoss EJB environment.

A. True
B. False
Answer» C.
9.

To use jBPM as a stand-alone process server:-

A. Javax
B. JBoss
C. None of the mentioned
D. All of the mentioned
Answer» C. None of the mentioned
10.

To make use of jBPM from within a Spring application context.

A. org.jbpm.pvm.internal.cfg.SpringConfiguration
B. org.jbpm.pvm.internal.cfg.Spring
C. org.jbpm.pvm.internal.cfg.*
D. All of the mentioned
Answer» B. org.jbpm.pvm.internal.cfg.Spring