|
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?
|