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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Chintan RathodRank #516 · 4.8K reputationPosted Dec 24, 2011, 5:19 AM EST
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.
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 24, 2011, 3:09 AM EST
Please refer the below link
http://www.precisejava.com/javaperf/j2ee/JSP.htm
Thanks
Vikas MishraRank #559 · 4.3K reputationPosted Dec 26, 2011, 6:41 AM EST
Chintan RathodRank #516 · 4.8K reputationPosted Dec 26, 2011, 7:20 AM EST