Creating an MDB for data update.
创建用于数据更新的mdb。
mdb代码非常简单。
This can be done semi-automatically by MDB.
这个可以由mdb半自动地完成。
Now, your application should work with MDB.
现在,你地程序应当能够使用MDB。
Therefore, you do not need to add references for that MDB.
因此,您不需要为那个MDB增加引用。
The MDB is now ready to receive messages from the bus.
MDB现在已经准备从总线接收消息。
As in the earlier article, we will use a simple "Hello" MDB example.
与以前的文章一样,我们将使用一个简单的“Hello”mdb示例。
Create a queue definition for the JRules MDB to respond to a message.
为JRulesMDB创建用于响应消息的队列定义。
Create a queue definition for the JRules MDB to receive a message.
为JRulesMDB创建用于接收消息的队列定义。
To complete the scenario, we need to create a Message Driven Bean (MDB).
为了完成此方案,我们需要创建消息驱动的Bean (Message Driven Bean, MDB)。
If you wish, you can use this feature to test our sample MDB as well.
如果愿意,您也可以使用该特性来测试样例mdb。
This is one key area that is focused on during the development of MDB.
这是MDB开发过程中关注的关键区域之一。
Well, there is one big difference: an MDB can now implement any interface.
有一个重大的区别:MDB现在可以实现任何接口。
The difference is that MDB offers such a method for every data type listed above.
不同之处是MDB 给每种前面所列的数据类型都提供了这样的函数。
The MDB uses the information in the message to perform the relevant business logic.
MDB使用该消息中的信息执行相关的业务逻辑。
Click on the module TAB and make sure jrules-bres-mdb-WAS6.jar is added under the Modules list.
单击module标签,保证jrules - bres - mdb - WAS6 . jar添加到Modules清单中。
Click on the module TAB and make sure jrules-bres-mdb-WAS6.jar is added under the Modules list.
单击module标签,保证jrules - bres - mdb - WAS6 . jar添加到Modules清单中。
应用推荐