• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

insert/update in java web apps

 
Ranch Hand
Posts: 83
MS IE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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....
 
Ranch Hand
Posts: 312
MS IE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic