Decision Management & Intelligence (ODM, DI)

Decision Management & Intelligence (ODM, DI)

Connect with experts and peers to elevate technical expertise, solve problems and share insights


#Data
#Data
#Businessautomation
#DecisionManagement
 View Only
Expand all | Collapse all

How-To embed a ODM decision in a Java Program (in-process)?

  • 1.  How-To embed a ODM decision in a Java Program (in-process)?

    Posted 05/16/22 02:39 PM
    All,

    I am interested in a documented "How-To" that shows the detailed instructions that my java developers can follow, to embed a ODM decision inside an existing java application as an in-process call and not an API web service call.  Does anyone have some instructions they can share?
    ODM V8.10.x

    Cheers,
    Dave Heckeroth



  • 2.  RE: How-To embed a ODM decision in a Java Program (in-process)?

    Posted 05/17/22 01:47 PM

    In the ODM 8.10.x Rule Designer there is a wizard to generate the whole project for you.

    Open an ODM workspace - the options are different depending on your workspace - but assuming you have a modern project using the Decision Engine and a Main rule project type. Select File > New > Other > Client Project for Decision Service > Java Project for RES on Java SE and follow the choices in the dialogs.

    You will need to have created a J2SE Deployment config to the file system before you do this though. It generates a simple Java client with understandable code for you.



    ------------------------------
    Andy Macdonald
    ------------------------------