Summary


We started our discussion by stating the two basic requirements of any P2P architecture. This entire chapter is about how Java fulfills the two requirements.

We discussed messaging and XML-related Java APIs. We introduced the messaging framework of JMS API, and explained the concept of synchronous and asynchronous communications. We also demonstrated the use of JMS clients and providers.

We then moved on to Java-based XML authoring, and processing details. We introduced two Java APIs: JAXP and JAXB. JAXP provides the implementation of SAX, DOM, XSLT, and XPath, and we demonstrated the use of these technologies. JAXB is a newer approach to solve the same XML processing and authoring tasks. We generated Java classes through the use of the JAXB Schema Compiler, and used the classes in a small application.

We then looked at JAXM, which is a Java API that combines XML processing and messaging capabilities. We discussed a few sample applications that explore the SOAP authoring capabilities of JAXM. We also discussed asynchronous communication using JAXM, and the use of messaging profiles in JAXM.



JavaT P2P Unleashed
JavaT P2P Unleashed
ISBN: N/A
EAN: N/A
Year: 2002
Pages: 209

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net