Hi Friends.........
How can i reduced the time to load the jsp page specify it.
Thanks.......
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Chintan RathodPosted Dec 24, 2011, 10:19 AM
Use local interfaces for EJB calls
If the Web application calls EJB components, local interface invocations offer the best performance since they pass parameters on the stack rather than marshalling parameter values into an IIOP stream.
Threading
Avoid using servlets that must be single-threaded. One instance of a single-threaded servlet can serve only one client at a time, while thread-safe servlets can serve all clients with one instance.
If you cannot avoid using a single-threaded servlet, configure the number of instances to minimize blocked client requests.
Preloading classes
If your servlets that take a long time to load and initialize, configure them to load when the server starts. Otherwise, the first client that calls the servlet experiences poor response time when the servlet is loaded to satisfy the request. You can also configure JSPs to load at start-up. If a JSP is loaded at start-up, it is compiled if necessary.
JSP compilation options
If you precompile JSPs, you can further improve performance by disabling runtime timestamp checking. If your application design requires runtime compilation, you can tune the JSP compilation settings to reduce compile time.
Precompiling JSPs
1) Configure the JSP to load at start-up
2) Compile the JSPs using the jagtool compile jsp command
JSP file timestamp checking
If you have precompiled all JSPs, you can turn off JSP file timestamp checking for the Web application. Doing so can increase performance by eliminating the required system calls.
Chintan RathodPosted Dec 26, 2011, 12:20 PM
Vikas MishraPosted Dec 26, 2011, 11:41 AM
Satyapriya NayakPosted Dec 24, 2011, 8:09 AM
Please refer the below link
http://www.precisejava.com/javaperf/j2ee/JSP.htm
Thanks