Learn XQuery |
Home:Learn XQuery:White Papers:ACORD:DataDirect XQuery™ and XQJ with EJB Using DataDirect XQuery™ and XQJ with EJBThe XQJ interface is designed to provide Java developers with an easy way to access XQuery functionality from virtually any environment, and to resemble the structure of the well known JDBC interface. DataDirect XQuery™ integrates smoothly in virtually any J2EE environment. This Java example in particular (click here to open the Java code) shows how you can leverage DataDirect XQuery™ and XQJ to create a Message Driven Bean. The example references a 181 ACORD XML update request used in Updating a Relational Database, but it can be easily be modified/parameterized to execute other examples described in XQuery Operation Examples for an ACORD Insurance Application. DataDirect XQuery™ is able to plug into the JDBC pooling mechanism supported by most application servers. The core of the required Java code, shown here, is quite simple: public void onMessage(Message message) { … What's Next?Go to Comparing Solutions Using DataDirect XQuery™ versus SQL and XML DOM to learn about the efficiencies possible with DataDirect XQuery™. |
DataDirect XQuery FAQThis informative DataDirect XQuery® FAQ answers frequently-asked questions about DataDirect XQuery® , including questions about performance, scalability, use-cases, resources, and more. If you're more of a hands-on learner, then download a free copy and start exploring DataDirect XQuery® today! New Case StudyGevity produces sales proposals in real time using DataDirect XQuery® . See how Gevity uses DataDirect XQuery® to combine Web service data from SalesForce.com with relational data in Oracle in a pricing engine for HR management. |





