![]() |
When you are ready to ship your application, you should include a BRBeans
jar file in your ear file. There are several of these jar files in the <WAS-HOME>\Enterprise\BRBeans
directory,
one for each supported database. Each name reflects the database type that
it uses (ex: BRBeansDB2.jar). These jar files contain 3 EJBs, with
the following JNDI names:
brbeans/application/Rule
brbeans/application/RuleFolder
brbeans/application/RuleHelper
In your ear file, you should change these names to make them
unique for your application. For example, if your application is called MyApp,
you could change the first one to brbeans/MyApp/Rule
, or possibly com/MyCompany/MyApp/Rule
.
In your ear file, you will also need to define EJB references to these
3 EJBs. These should be defined in any module where a trigger...()
method
exists in one or more of its classes. You can do this using the Application
Assembly Tool. The Name field should contain the following, corresponding
to the EJBs listed above:
ejb/com/ibm/ws/brb/Rule
ejb/com/ibm/ws/brb/RuleFolder
ejb/com/ibm/ws/brb/RuleHelper
The JNDI name on the Bindings tab should be the same as the JNDI names that you gave earlier to the EJBs.
View PDF file... | |
To view a PDF file containing this article and related articles, click: | |
![]() | |