Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Triggering creation of a java object via PI

$
0
0

Dear experts,

I currently have a request where I need to connect to a java based 3rd party system.

On this system a certain object needs to be created. In order to create this object, the system even offers a full java based SDK, but also a low level REST API.

 

As we should trigger creation of this object via PI, I have some general questions about the architecture for this.

 

From the top of my head I can imagine to use the SDK out of a java mapping so that we actually do the logic and work on PI inside the mapping. We would need to do some hidden calls to the target system over a socket connection from within the mapping. The downside would be that we are hiding our logic in PI and that it might be complex to implement and difficult to monitor.

 

Another option might be, to trigger a program on the target machine which in term executes the SDK logic in order to create the object. There it would depend on wether this program can be triggered via a SOAP call. I also thought about if using JMS could be an option here. I have not worked with JMS queues yet, but my understanding is that this is a native Java message queue system that would run on the target machine and collects my "createObject" requests and could then use them to trigger the program that calls the SDK (all within the target system). Is my understanding about JMS correct?

 

Last option is to used the REST API. But as the REST adapter on PI is quite new and I haven't used it yet, I am not sure if it will be flexible and stable enough to do this implementation. Especially as we would need to have a stateful session over several REST calls, we would probably even require to use a BPM.

 

 

What other options do you see to fulfill  such a request and did any of you already call a java SDK with various methods from a mapping? How did it turn out?


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>