• Home
  • RSS Feed
  • Log in

EJAPP Top 10 countdown: #9 – Incorrect application server configuration
Posted by Vincent Partington in the early evening: February 25th, 2007

As promised last week, I am continuing the countdown of Enterprise Java performance problems. Today it's number 9.

An incorrect application server configuration can have such a detrimental effect on the performance of your application, that it pays to learn about the options your application server and its JVM offer to tune their performance.

The J2EE specification can lull the developer into a false sense of security, thinking "As long as I make sure my code is J2EE compliant, it will just run". Most likely it will run, but not necessarily perform very well! Developers should not just throw their EAR file over the wall; developers and application server administrators need to work together on this. The first has knowledge of the application, the latter knowledge of the application server.

Some of the most important things to not leave at their default setting are:

  • JDBC connection pools and data sources; initial and maximum capicity, connection timeouts, connection testing options, prepared statement cache. JBoss 4, BEA WebLogic 9.2, IBM WebSphere 6, and Oracle Application Server 10g offer numerous tuning features.
  • Thread pools. Again JBoss 4, BEA WebLogic 9.2, IBM WebSphere 6, and Oracle Application Server 10g offer a lot of options.
  • JVM settings. The default heap size can be as low as 64MB! Next to the standard JVM options, the Sun JVM, IBM JVM, and the BEA JRockit JVM have their own sets of specific options. Of particular interest to people using the Sun JVM is Joseph D. Mocker's list of JVM options, a comprehensive collection of options sometimes only mentioned in bug reports and other obscure places. ;-)

Next to these specific tips, BEA WebLogic 9.2, IBM WebSphere 6, and Oracle Application Server 10g have performance tuning guides. For JBoss a number of forums are available, as well as an unofficial JBoss performance tuning guide.

  • Share/Bookmark

Filed under Java, Performance | 2 Comments »



2 Responses to “EJAPP Top 10 countdown: #9 – Incorrect application server configuration”



    Erwin Bolwidt Says:
    Posted at: March 7, 2007 at 2:40 pm

    There’s an even more complete list of JVM settings for the Sun JVM on this russian site:

    http://www.md.pp.ru/~eu/jdk6options.html



    Le top 10 des problèmes de performances des applications J2EE par J2EE, AgilitĂ© et SOA : Le blog de Xebia France Says:
    Posted at: May 4, 2007 at 11:26 am

    [...] #09 – Mauvaise configuration du serveur d’application [...]



Leave a Reply

Click here to cancel reply.

Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Training

  • Tackling Top 10 JavaEE Performance Pitfalls
    13 & 14 May 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Functional Programming Grails Seam Xebia Testing JavaOne Scrum Poppendieck qcon esb XML Agile Awareness Workshop Agile Architecture SOA Semantic Web Scala Java Spring Maven Lean Performance Closures Introduction to Agile IntelliJ Hibernate product owner Ajax Groovy fitnesse