Skip to main content
1-Visitor
February 23, 2016
Solved

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

  • February 23, 2016
  • 2 replies
  • 3028 views

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?

    Best answer by cjaiswal

    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.

    2 replies

    1-Visitor
    February 29, 2016

    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.

    16-Pearl
    March 5, 2016

    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

    cjaiswal1-VisitorAuthorAnswer
    1-Visitor
    May 27, 2016

    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.