I am tyring out JBoss and Tomcat with a simple JSP page which consits of an EJB to access data from a backend database.
When I repeatly pressed the refresh button on the browser to reload the page, I noticed multiple threads were created by JBoss/Tomcat to fulfil the request. At the same time, the server load increases and take a long time to came back down to the nominal level. How can I protect against this in a production environment?
Do I have to cache every single dynamically generated pages? Does JBoss has buildin caching support?
Thank you.