Question
<?xml version="1.0" encoding="UTF-8"?>
<process name="RegisterCustomer" xmlns="http://jbpm.org/4.0/jpdl">
<start>
<transition to="send-verification-email" />
</start>
<java name="send-verification-email" expr="#{customerService}"
method="sendCustomerVerificationEmail">
<arg> <object expr="#{customerId}" /> </arg>
<transition to="confirm-receipt-of-verification-email" />
</java>
<state name="confirm-receipt-of-verification-email">
<transition to="send-welcome-email" />
</state>
<java name="send-welcome-email"
expr="#{customerService}" method="sendWelcomeEmail">
<arg> <object expr="#{customerId}" /> </arg>
</java>
</process>
a.
startProcessInstanceByKey
b.
startProcessInstance
c.
all of the mentioned
d.
none of the mentioned
Posted under Java Spring Framework
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Inside the createCustomer method, we use jBPM to start the business process to track the Customer. This is done with the :-
Similar Questions
Discover Related MCQs
Q. Once in the java element named send-verification-email, jBPM will invoke the method:-
View solution
Q. Inside authorizeCustomer, the service queries the server for the any processes waiting at the:-
View solution
Q. The authorizeCustomer method also updates the Customer entity, marking it as authorized. From there, execution proceeds to the send-welcome-email java element.
View solution
Q. OSGi—which was formerly known as the:-
View solution
Q. OSGi provides a layer on top of the JVM’s default class loader.
View solution
Q. On top of Spring Dynamic Modules, SpringSource built SpringSource dm Server, which is a server wired from top to bottom with OSGi and Spring.
View solution
Q. OSGi is a framework.
View solution
Q. User component models are:-
View solution
Q. In OSGi, anything used by something else is a state.
View solution
Q. “Service” doesn’t imply any:-
View solution
Q. OSGi bundles are simply standard .jar files with customized MANIFESTs that OSGi consumes at runtime.
View solution
Q. Tool which dynamically interrogates classes for their imports and generates OSGi–compliant entries.
View solution
Q. The Bundle-Activator directive describes to the OSGi environment, which class implements :-
View solution
Q. When the bundle begins to load and start, it calls the start method of the:-
View solution
Q. To start using Spring to smooth over some of the minutiae of resource acquisition and to help build more reliable systems in an OSGi environment.
View solution
Q. Spring Dynamic Modules scans our deployed bundles and loads an ApplicationContext (actually, the specific type of the ApplicationContext is OsgiBundleXmlApplicationContext) into memory based on an event, or a trigger.
View solution
Q. You’ll split your OSGi–specific Spring configuration and your plain-vanilla Spring configuration into:-
View solution
Q. To create services and have those automatically installed in the registry.
View solution
Q. Element to export the bean as an OSGi service, classified by the interface we specify.
View solution
Q. An anonymous bean specified inside of the osgi:service element allows you to avoid cluttering the namespace.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Spring Framework? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!