adplus-dvertising
frame-decoration

Question

Inside the createCustomer method, we use jBPM to start the business process to track the Customer. This is done with the :-
<?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

Answer: (a).startProcessInstanceByKey

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:-

Q. Inside authorizeCustomer, the service queries the server for the any processes waiting at the:-

Q. The authorizeCustomer method also updates the Customer entity, marking it as authorized. From there, execution proceeds to the send-welcome-email java element.

Q. OSGi—which was formerly known as the:-

Q. OSGi provides a layer on top of the JVM’s default class loader.

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.

Q. OSGi is a framework.

Q. User component models are:-

Q. In OSGi, anything used by something else is a state.

Q. “Service” doesn’t imply any:-

Q. OSGi bundles are simply standard .jar files with customized MANIFESTs that OSGi consumes at runtime.

Q. Tool which dynamically interrogates classes for their imports and generates OSGi–compliant entries.

Q. The Bundle-Activator directive describes to the OSGi environment, which class implements :-

Q. When the bundle begins to load and start, it calls the start method of the:-

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.

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.

Q. You’ll split your OSGi–specific Spring configuration and your plain-vanilla Spring configuration into:-

Q. To create services and have those automatically installed in the registry.

Q. Element to export the bean as an OSGi service, classified by the interface we specify.

Q. An anonymous bean specified inside of the osgi:service element allows you to avoid cluttering the namespace.