Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling BRM from UDF using JNDI lookup with @EJB annotation

Hi Experts

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:

  1. 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:





import javax.ejb.EJB;

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?

  1. Is is possible to invoke the rule set from my UDF?
  2. 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.

Not what you were looking for? View more on this topic or Ask a question