ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  JBoss Optimizations 101
Subject:   about stateless session bean
Date:   2007-05-16 00:52:54
From:   santhu-jboss
i have a client application that is multithreaded which is accessing stateless session bean .stateless session bean just accesses the database and gives the result.my application server is jboss.


Problem:
when i access the stateless session bean from the client with single thread the application is faster but same thing if i access with multiple threads the application becomes very slow.can anybody please tell me why is it so? i suspect some locks in stateless sssion bean if it is true how can i rsolve it?