• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reuqest object with so much data

 
pawan chopra
Ranch Hand
Posts: 417
jQuery Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I would like to ask whether a request object with so much data and getting that data from request object in JSP is a heavy process? If yes then which one will take less time. Using request object or using scriplets and call java methods from JSP? I know writing java stuff in JSP is not a good design but this application is quite old and we are not allowed to change anything . We are trying to make Minor changes to improve the performance.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64716
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any such changes will have no impact on performance.
 
pawan chopra
Ranch Hand
Posts: 417
jQuery Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear, But can you please guide me what are the steps we should take to improve the performance we are also using Hibernate to fetch the data from DB.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64716
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guessing won't do anyone any good. Get a profiling tool (no, I don't have a recommendation -- do some searching) and find out where the problems really are. Doing things like "maybe it'll be better if I use scriptlets" will not get you anywhere. Find out where the real problems are and then fix them.

P.S. 9 times out of 10, the database and queries run against it are the biggest performance hog in a web app.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic