Calling BRM from UDF using JNDI lookup with @EJB annotation
I am trying to implement a UDF to invoke my BRM Rules set via JNDI Lookup instead of a SOAP Channel lookup.
I have had a look at the following links/docs:
- Calling BRM from UDF using Public API
For item 1 above, the example looks really good, but it doesnt explain how I get access to the following required imports from my UDF:
The second document is really good as well, but I could not figure out how to get it to work from my UDF.
So, can anyone help me to understand specifically what is required to get this to work?
- Is is possible to invoke the rule set from my UDF?
- How do I give my UDF access to all the required jars/imports?
I have manage to create a new DC (Development Component) with a public part and this enables me to get my code to compile on my local PC but I am not able to activate it due to the server not having access to the same java packages as my local copy.
Any help would be greatly appreciated.