Hi, I'm developing a JEE6 application (in glassfish3) with a lot of background processing and I'm trying to figure out how the @Asynchrounous annotation works when it comes to threading.

What I'm trying to do is to trigger multithreaded background processing from a single EJB call from a client by calling a private method in the same EJB multiple times. This private method is annotated @Asynchrounous but when I debug it looks like there is one single thread that processes all calls to this method in the background.

Is there anyway to configure this behaviour ? Running backgound processing triggered by a single client call in one single thread is not an option in this project since that will cause a big loss in performance.

Thankful for any help with this

Steinar Dahl