aspose file tools*
The moose likes JDBC and the fly likes insert/update in java web apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "insert/update in java web apps" Watch "insert/update in java web apps" New topic
Author

insert/update in java web apps

J Das
Ranch Hand

Joined: Jul 27, 2011
Posts: 83

hello.... can someone explain me how data can be inserted,updated etc.. in a database that is part of a java web application... please explain me in terms of the MVC architechture (with Servlet,Jsp,POJO/Bean )...
my question in simple words is If we consider the MVC architechture, and consider that we have a database , how does the data from say, an (html) form , gets inserted into the database tables.. Please help me understand this....

Please provide necesssary links of free ebooks or tutorials if there are any on this matter....
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

View Controller Model (VCM) : V=HTML/JSP; C=Servlet; M=DAO/JDBC Layer

You need to write Java code that, should send the values entered in V to the C which should call the right entity in M.

Entities in M interact with the DB to insert/update/delete/select data.


S.D. MADHAN
Not many get the right opportunity !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: insert/update in java web apps