“WebSphere is a very powerful platform with lots of capabilities, and mastering those capabilities to build mission-critical applications requires careful planning and execution in your development.” So says Giga Information Group Vice President John Rymer during the ebizQ webinar, “
,Best Practices for IBM WebSphere Application Server Performance” which is part of our “Best Practices for Websphere” webinar series, sponsored by Candle Corporation.
Rymer says WebSphere is, “quite simply, IBM’s most important application platform for the future.” But he adds that the old ways of mapping out mission-critical apps just won’t cut it for WebSphere, and there are “very serious design concerns” that developers, architects and designers “need to master,” to make WebSphere apps servers scalable, reliable, highly available, and secure.
What are some of the best practices that should be applied to meet those challenges? Candle Senior Solutions Architect Michael Pallos says there’s no one-size-fits-all WebSphere blueprint. Different companies need different architectures, depending on their business drivers. But in the webinar, Pallos outlines 18 best practices which, when in place, could make WebSphere run from two-and-a-half to ten times faster, depending on the practice.
Among them: keeping servlets smaller than 50 lines of code; avoiding single-threaded models; steering clear of system-dot-out-dot-print lines; using Java StringBuffers rather than string concatenations; staying away from serialization and synchronized statements; keeping sessions small; designing session data to last just for the life of the session and not mixing it with persistent data; and either incorporating connection pooling or handling multi-threaded traffic, or both.
Pallos suggests ways to get vendors to conform JDBC drivers to your company’s needs for free, and says you should keep JNDIs to a minimum. He says data source caching can make WebSphere ten times faster than if you don’t cache it. Another tip: don’t use dynamic memory allocation: static allocation is faster. Pallos says Enterprise Java Beans “rock,” and offers ideas on how to make them rock best! He also dispenses advice on monitoring tools.
Pallos and Rymer leave no doubt about WebSphere’s potential to help your business. And to learn much more on getting optimal performance from WebSphere apps servers, click here
-1-