How to improve java and XML performance

Improving the performance of java and XML can be done in many ways. It all depends on the type of application you are building and the type of API that you are using the implementations.

_______________________________________________


_______________________________________________

For example you might be aware that processing an XML document using java can be done using SAX or DOM. But you should know the difference clearly between using the SAX and the DOM.

SAX is an event based model while DOM is tree structure. You could use SAX to process the document once opt for DOM if you are going to process the document multiple times.

DOM uses more memory when compared to that of SAX. To edit the XML documents you could very well opt for DOM. If you compare the performance of using SAX and DOM, SAX is much faster than DOM.

You should also consider the alternative APIs like JDOM and dom4j for processing XML documents using Java. Know the difference in the implementation as some of the API are designed with performance in mind and some with ease of use.

The URL,
http://java.sun.com/developer/technicalArticles/xml/JavaTechandXML_part3/ has a lot of comparison and tips on how to improve the performance. It is worth to have a look at it.

AdroitLogic Open Sources the High Performance and Lightweight Enterprise Service Bus - UltraESB
UltraESB is the first Open Source Enterprise Service Bus (ESB) to utilize Zero-copy proxying with Memory Mapped files and Java Non-Blocking IO for extreme performance.

Microsoft: 'We Love Open Source'
Steve Ballmer used to call Linux a cancer. Now Microsoft insists it loves open source. Open source - Microsoft - Steve Ballmer - Linux - Apple

Combining Hibernate Cache and Ehcache for Better Java Scalability
With advanced load balancers and decreasing hardware costs, ensuring the scalability of enterprise applications across multiple boxes is becoming more economically feasible.



FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________

Recommended XML Books

cover
cover
cover
cover
cover
cover





 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!


New XML Books Titles - Best Seller's @ Amazon.com

Visit XML Training Material Guide Homepage

Technology helps engage students - how do classroom instruction and social dynamics change when the classroom is completely dependant on modern technology?