File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes insert/update in java web apps Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: insert/update in java web apps
 
Similar Threads
Form submission in struts 1.2
Regarding RESTful WEB SERVICES with SPRING MVC Framework
Regarding RESTful WEB SERVICES with SPRING MVC Framework
Column value is getting reset to zero automatically in Jtable
DAO pattern for stored procedure cal