Create a Bean

The Eclipse window will look like the figure below with the PM_CONTROLS and PM_LIBS libraries listed.

  1. Write a JAVA code.


    Figure 1.
    Note: MyFirstBean.java and MyFirstBean.mf are available at the end of this document.


    Figure 2.
  2. Create the manifest file, with the content shown below, at the root of the MyFirstBean directory.


    Figure 3.
  3. Export “MyFirstBean” as a JAR file to the control directory:
    C:\SampleBeans\MyTemplate\controls\MyFristBean.jar
  4. Create the template file under C:\SampleBeans\MyTemplate directory as C:\SampleBeans\MyTemplate\sample.pmt.
    Your JAR or bean control is ready to use in process manager templates.