Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Creating a Java Interface

Creating a Java Interface

Process Developer provides an easy way for Java developers to use existing Java projects to build Java endpoints in a BPEL process. Your project can include a POJO (plain old Java object) or EJB. (A JavaBean can be used for all application servers except for Apache Tomcat). You can either start with or build a package that includes an interface and a Java class that implements the interface.
Using one of the techniques that Process Developer provides, you can automatically generate a WSDL and schema from your Java interface. The WSDL includes the port type, operation, and messages to create receives, replies, and invokes.
Process Developer also provides built-in features to automatically include all the JAR and other files required for deployment to the server.
Stateless or Stateful Invokes
Using the Java Interface, you can easily create invoke activities in BPEL. These invokes can be stateless or stateful.
  • A stateless invoke means that each time the Java code is called from the BPEL process, a new instance of the Java class is instantiated.
  • A stateful invoke is based on a Java class that is marked implementing the
    java.io.Serializable
    marker interface. With a stateful invoke, the process uses the same Java instance throughout the lifetime of the partnerLink useing it. Multiple invokes on the same POJO partner link result in method calls on the same POJO instance.
For details, see:

0 COMMENTS

We’d like to hear from you!