• Post Reply Bookmark Topic Watch Topic
  • New Topic

database  RSS feed

 
eswar kumar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what will happen if i write a database connection code in my jsp page ? is there any difference in performance wise
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As for "what will happen", I guess if you write correct code, it will work.
As for "is there any difference in performance wise", you don't say what you would like to compare it with. Can you clarify what you are asking, please.
There are lots of things to consider when you are decising how to write database code, and performance is only one of them. Please also think about how easy it might be to make changes to such a solution once it is running, and how easy it might be to re-use the work you have done for another, similar, project.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!