Friday, June 19, 2009

Oracle BPM and Java objects

Why using Java for business objects?

When creating business objects for Oracle BPM (10.1.3), I have a couple of compelling reasons for basing them on a Java class model. The reasons being:
  • Ease of migration
  • Testing
  • Reuse
At the end of the day, Oracle will get rid of the proprietary PBL language and target for Java instead. So building your business objects on top of a Java class model, might be a good strategy to ease migration to any one of the new versions.

Oracle BPM leverages CUnit (and PUnit), both being proprietary testing frameworks. When you base your business objects on Java, this also offers the opportunity to test your objects using the de facto standard unit testing framework JUnit.

BPM business objects can only be used by BPM. A Java class model can be reused almost anywhere, including BPEL, and (obviously) Java applications.


How using Java for Business Objects?

Just follow the instructions for catalogueing components in your catalog. To leverage the extra functionality that BPM business objects offer (including creating object presentations), create a BPM business object for every top-level object type that you need, as an heir of the Java class. Don't do them all, only the ones you need the extra functionality for.

I put the Java objects and BPM objects in the same catalog, and name the BPM objects after the Java classes, post-fixed by "BO", for example CustomerBO for the Customer Java class.

Finally, to ease synchronization between JDeveloper (or your preferred IDE) and Oracle BPM, after first-time catalogueing, generate the jar file with the Java classes directly to the lib folder of your BPM project.

5 comments:

cedricbryanz said...

Oracle BPM provides the tools to plan, execute, execute, and manage business processes that can be used by a department or company or enterprises.Business between analysts and developers can create, simulate and test solutions using Oracle BPM Studio.
yoga pants

أبل said...

good tools for jave nice to know about them

sap upgrade testing said...

The answer to the question why use Java Objects with Oracle BPM is the ease of migration, testing and reuse. Java objects are easy to work with. Check out this post then you will see the importance of java objects.Thanks for the post.

Resep Herbal said...

good Post
Pengobatan Kanker Payudara Stadium 4
Pengobatan Kanker Payudara Sudah Stadium 4
Cari Pengobatan Kanker Payudara Stadium 4
Pengobatan Alami Untuk Kanker Payudara Stadium 4
Pengobatan Ampuh Kanker Payudara Stadium 4

Anonymous said...

good
Cari Obat Ambeien Wasir Ambeclear di Apotik
Obat Ambeien Ambeclear di Apotik
Cari Obat Ambeien Ambeclear
Cari Obat Ambeyen Ambeclear di Apotik
Obat Ambeien Ambeclear di Apotik
Resep Obat Ambeien Ambeclear
Resep Obat Ambeien di Apotik
Resep Obat Ambeyen Ambeclear di Apotik
Jual Obat Ambeien Ambeclear
Jual Obat Ambeien Ambeclear yang ada di Apotik
Jual Obat Ambeien di Apotik
Jual Obat Ambeien Ambeclear yang di Apotik
Kumpulan Obat Ambeien Ambeclear Apotik
Obat Ambeien Ambeclear di Apotik
Kumpulan Obat Ambeien di Apotik
Kumpulan Obat Ambeyen Ambeclear di Apotik
Obat Ambeien Alami Ambeclear yang ada di Apotik
Obat Ambeien Alami Ambeclear
Obat Ambeien Ambeclear Apotik
Pengobatan Ambeien Alami Ambeclear di Apotik
Beli Obat Ambeien Ambeclear
Beli Obat Ambeien di Apotik
Obat Ambeien Ambeclear
Beli Obat Ambeyen Ambeclear di Apotik
Cara Tradisional Pengobatan Kanker
Cara Pengobatan Kanker Alami
Pengobatan Kanker Alami
Cara Tradisional Pengobatan sakit Kanker Alami
Cara Alternatif Pengobatan Kanker
Cara Pengobatan Kanker Alami
Pengobatan Kanker Alami
Cara Alternatif Pengobatan Kanker Alami dan Mujarab
Cara Pengobatan Kanker Parah
Cara Pengobatan Kanker Parah dengan cara Alami
Pengobatan Kanker Parah Alami
Cara Pengobatan Kanker Parah yang Alami