Skip to main content
1-Visitor
Feb 23, 2016 9:24 AM UTC
Solved

How can I deploy and run custom java code on integrity server?

Hi,

I am developing and java application which require lot of processing and I don't want user to wait till my application finishes processing.

So I came up with splitting application in tow parts client side and server side both of them will run asynchronously.

I am familiar with integrity API and at client side I can work with it.

How do I run my java code at server side and do all required processing there?

Does integrity provides any facility for this?

    cjaiswalAnswer
    1-Visitor
    May 27, 2016 12:47 PM UTC

    I found solution by creating small web application in java.

    I have created WAR (web archieve) file of my java code and placed it at location : INTEGRITY_HOME_DIRECTORY/server/mks/deploy/

    And it got deployed automatically and I can now make service calls to java code deployed.

    3 replies

    1-Visitor
    Feb 29, 2016 10:09 AM UTC

    jar files will be loaded at startup when they are in this place:

    <IntegrityServer-Dir>\data\java\jars

    Does this help?

    What kind of Jar your are running? Mabye you need a Trigger to start the Jar-File.

    Translate
    16-Pearl
    Mar 5, 2016 10:43 PM UTC

    Hello Chinmay Jaiswal‌,

    Did Tobias Ketz‌'s response help you?  If so, could you please mark his answer as Correct Answer by clicking that button on his reply?  If not, could you let us know what is unclear so we can help you further?

    Marking a post as Correct Answer lets others looking for the same or similar information know that the answer marked helped you, and recognizes Tobias Ketz‌'s contribution to the community.

    Thanks,

    Kael

    Translate
    cjaiswal1-VisitorAuthorAnswer
    1-Visitor
    May 27, 2016 12:47 PM UTC

    I found solution by creating small web application in java.

    I have created WAR (web archieve) file of my java code and placed it at location : INTEGRITY_HOME_DIRECTORY/server/mks/deploy/

    And it got deployed automatically and I can now make service calls to java code deployed.

    Translate