This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Yes, I have two EJB modules which are basic client server and the first EJB is having a remote EJB call to the second one. I'm monitoring the thread count through jconsole. I'm calling the second EJB in a loop(this is for load testing). Now whenever I'm getting a CORBA exception during the remote call, there is an increase in the thread count by 1. Also the CPU utilization as well as the Heap size increases in case of this exception. Although this is short lived but still it is not desirable.
I can remove this exception but this was something really interesting for me to have come across the increase in the number of threads.