Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

How do I use LiveCycle JAVA API's to LOCALLY invoke my application?

Avatar

Level 1

Hi All,

I have created a client application that can invoke my LiveCycle applications using either EJB or SOAP.  Now, one of our architects is asking me to move my client application into the SAME JVM as LiveCycle is running and invoke the application locally for performance sake.

I expect that it is probably a simple change, but I have been unable to find documentation that shows how to do it and I am not able to tell from simply looking at the API's directly.  The following link describes how to set up the connection properties when using the LiveCycle java APIs, but its unclear to me how to change this to make a local invocation:

http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000495.html

I am thinking that MAYBE if I simply change my EJB endpoint to use "localhost", that maybe it would internally do a local invocation, but I'm not sure.  Does anyone know the answer to this?

Thanks in Advance!

1 Reply

Avatar

Level 1

I think I may have found an answer to this problem here:

http://robertmarkbramprogrammer.blogspot.com/2011/10/connection-properties-and-adobe.html

This blog indicates that you can do local invocation by not setting the connection properties.  I am going to try it out using code something like this:

ServiceClientFactory serviceClientFactory = ServiceClientFactory.createInstance(null);

I am assuming that this will work as long as I deploy my client application in the same JVM.  We'll see...