File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Database Program - Web application" Watch "Database Program - Web application" New topic

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.


"Failure is not when you fall down; its only when you fail to get up again."
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Database Program - Web application
It's not a secret anymore!