Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2009, 12:29 PM
Member
 
Join Date: Nov 2009
Posts: 2
Rep Power: 0
systech44 is on a distinguished road
Question Mvc
Hello,

I wish to insert, update and delete the database (postgresql / mysql / access) records using Servlet and JSP. I wish to implement the MVC framework along with this. Please help me to cope up the problem and show some small project with source code and relevant files.

Thanks & Regards.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 12:19 PM
FON FON is offline
Senior Member
 
Join Date: Dec 2009
Location: Belgrade, Serbia
Posts: 289
Rep Power: 1
FON is on a distinguished road
Default
I could provide some help
I'm into MVC very much these days.

I strongly recommend reading this book:

"JSP examples and best practices" by Andrew Patzer.

Why? Because it explains basic principles of MVC that every java web framwork uses
like Struts, JSF, etc.

Book is not big nor complicated, you will catch few patterns that are worth learning.

You will end up with your own small MVC framework and you will feel great about it

Most important thing is to learn how NOT to write code where its not meant to be,
and separate it in a way so you can extend it and maintain it easily,
and separate coder work from designers work so it does not hurt anyone.

If you want to learn it good, take your time and write it yourself
it's not so big deal, i have provide some help on your way

stay cool
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 12-18-2009, 11:23 AM
Member
 
Join Date: Dec 2008
Posts: 2
Rep Power: 0
vivek.barsagadey is on a distinguished road
Send a message via Skype™ to vivek.barsagadey
Smile
Hi,
you can use any one java base MVC framwork , like Spring MVC, struts , JSF ect.
There are so many example available on the net.



Jsp and servlet base MVC are very easy:
Create file like:
1> Jsp (as V)
2> Servlet (as C)
3> Bean (as M -- like user and all)
4> Create any util class to connection for data base, and if possible write DAO class to get data from DB.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 12-24-2009, 02:34 PM
Member
 
Join Date: Dec 2009
Location: Germany
Posts: 27
Rep Power: 0
jogep is on a distinguished road
Default
take a look at the Samples and Showcases which have the most Web Frameworks.
I think that helps you to understand how they work.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 03:20 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org