Results 1 to 4 of 4

Thread: Mvc

  1. #1
    systech44 is offline Member
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0

    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.

  2. #2
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    368
    Rep Power
    5

    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

  3. #3
    Join Date
    Dec 2008
    Posts
    2
    Rep Power
    0

    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.

  4. #4
    jogep is offline Member
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    43
    Rep Power
    0

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •