• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP vs JSP/servlet/bean vs SSJS

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to find the best way to write a java web application.
Currently this application is written in SSJS (server side javascript). The first page connects to a database and returns about 700 rows. Here are some statistics:
1. With SSJS, the first page takes 3 seconds to load.
2. Using JSP with 1 bean (a Connection Pool Bean) it takes 7 seconds.
3. Using JSP, servlet, and Java beans (I was trying to follow the MVC architecture), it take 8-9 seconds to load.
I know the appropriate way to do it is #3, but 8 seconds to load a page, is pretty long.
Is this timing normal? Its a basic jsp page and the only dynamic part of the page is the 700 rows that it needs to display.
Please help
Any suggestions?
 
reply
    Bookmark Topic Watch Topic
  • New Topic