|
|
Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs
Page 5 of 5
You can take other approaches when sending XML across process boundaries. To reduce the space required, you can compress both the textual representation and the serialized DOM representation.
You can use other transports besides HTTP, RMI, and CORBA; for example, you can use email or FTP. In environments with shared network file systems, the sender and receiver can exchange XML data via the file system.
As you've seen, there are several approaches to sending XML from here to there in a Java distributed application. Each approach makes different performance and interoperability tradeoffs.
It is important to abstractthe communication of XML from the rest of the distributed application logic. That is, the code that sends and receives XML should be separate from the code implementing the application logic. By packaging the code as software components, you can change the implementations of the sender and the receiver without affecting the rest of the application.
You can obtain the complete three sender and receiver implementations described here for free at Xbeans.org.
The authors of this month's server-side Java computing articles will be holding a free online seminar on February 10 at 10 a.m. PST. Register to join at http://seminars.jguru.com.
Read more about Enterprise Java in JavaWorld's Enterprise Java section.
Server-side Java: Read the whole series -archived on JavaWorld