📄 readme
字号:
Notes about J2EE connector for XmlBlaster =========================================In here is a resource adapter that follows the J2EE connectorspecification. With this it is possible to access XmlBlaster for publishingfrom any J2EE runtime environment that supports the Connector spec. Onesuch runtime that already do that is JBoss (see README.JBoss). Thecompiled adapter will be found in lib/xmlBlasterK2.rar.If you are familiar with EJB you will feel at home. One uses the XmlBlasterresource adapter the same way you would use a database connectio. Youdefine it as a resource and look it up with JNDI.Deployment of the adapter is runtime specific. You will probably have to editthe META-INF/ra.xml to suit your needs. The possible configurations optionsis vissable in the javadoc (or source code) for BlasterManagedConnectionFactory.The interface to access XmlBlaster is familiar, but you will have to accessit through the interface org.xmlBlaster.j2ee.k2.client.BlasterConnection.To build the connector you use the ant build script with the argument k2.There are two examples of how to use the adapter in demo/javaclientent/j2ee/k2.1. One is a Message Driven Bean with deployment descriptor for JBoss. In it,and in the deployment descriptors you will find a typical way to use theadapter.This you may build with build.sh jms-adapter2. The other is a standalone TestClient, wich mostly makes it somewhat easierto debug the adapter and proves that it is spec compliant (an adapter mustsupport standalone usage).//Peter
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -