C1000-010 · Question #42
For a request, which object is used for a Java execution of a Rule session?
The correct answer is A. IIrRequest. IIrRequest (option A) is the correct object used when executing a Rule session in Java within IBM Operational Decision Manager (ODM) / ILOG JRules - it serves as the standard interface for passing data into and triggering a rules execution session programmatically. Option B…
Question
For a request, which object is used for a Java execution of a Rule session?
Options
- AIIrRequest
- Brule Request
- CrestAPIRequest
- DIIrSessionRequest
How the community answered
(22 responses)- A95% (21)
- D5% (1)
Explanation
IIrRequest (option A) is the correct object used when executing a Rule session in Java within IBM Operational Decision Manager (ODM) / ILOG JRules - it serves as the standard interface for passing data into and triggering a rules execution session programmatically.
Option B (ruleRequest) is not a valid class in the ODM Java API; it's a plausible-sounding distractor that doesn't exist. Option C (restAPIRequest) applies to REST-based invocation of rules, not direct Java execution. Option D (IIrSessionRequest) follows a similar naming pattern but is not the actual interface defined in the ODM API - the "Session" infix is the red herring added to confuse.
Memory tip: The "IIr" prefix stands for IBM ILOG Rules - when you see the double-I prefix in an ODM Java context, that's your signal you're looking at a legitimate ODM API class. IIrRequest = "IBM ILOG Rules Request" → the thing you send in to the rule engine.
Topics
Community Discussion
No community discussion yet for this question.