Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Performance differences between methods.  RSS feed

 
Bryce Martin
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a performance difference between these two methods..

Method 1: Connect to the database inside the jsp into an SQL result set.

Method 2: Use a servlet and beans to access data and then pass to a jsp for display.

Are they any gains or losses between these two methods? I understand the code clarity issues, this is strictly a performance question.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any difference in performance, if any, would be negligible.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!