Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes Database Program - Web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Database Program - Web application" Watch "Database Program - Web application" New topic
Author

Database Program - Web application

Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134
Hi All,

I am always having this doubt bouncing back into my mind everytime I read something about thread-safe issues. I have developed a web application which follows the MVC architecture although its not using Struts. I am just worried about my database program which performs database specific operations. This is my class...



My concern is that whether all the methods which does some execution (methods starting with execute) needs to be synchronized and static.


thanx.
shankar


"Failure is not when you fall down; its only when you fail to get up again."
 
jQuery in Action, 3rd edition
 
subject: Database Program - Web application
 
It's not a secret anymore!