Java

Discusses use of CAPE-OPEN compliant Process Modelling Components

Moderator: jasper

Post Reply
User avatar
colancto
Administrateur
Posts: 92
Joined: 23 October 2012, 11:46
Contact:

Java

Post by colancto »

Has anyone experience with using Java in order to develop a CAPE-OPEN PMC such as a Unit Operation?
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Java

Post by jasper »

Developing a COM object in java is not straight forward. Here is a package that could help: http://jsegue.sourceforge.net/; look for reverse COM.

Another way to go is to write the COM part in C++ and use JNI to call java.

In either case, marshaling of COM data to java arrays will be required, and this causes some overhead, if a lot of thermo is to be used. Probably less so if the COM part is written in C++, as now the data marshaling can be restricted to that data that is really required on the java side.

Java of course comes with native support for CORBA. But that will exclude a lot of PMEs, if not all.

edit: to answer the actual question: no I have not done this before.
Post Reply

Return to “Process Modelling Components”