I would also recommend a very small simple MVC framework I built, called Theseus, at www.theseus.org. Unfortanately, my job has taken up all my time so I have not yet been able to complete the web site. I believe the basic download is 23K or so, and it works very well. It has been used on many professional sites (so I have heard anyways). I am available via email for help should any be needed.
-----Original Message----- From: Jeff Schnitzer To: [EMAIL PROTECTED] Sent: 4/6/2002 10:16 PM Subject: Re: Need Help w/ MVC and Database > From: Tom Kochanowicz [mailto:[EMAIL PROTECTED]] > > I am trying to do my first project with the MVC architecture (not > using > struts yet). The examples I look at in books do not have a working example > that actually connects to "any" real database and they only show examples > loaded a very small amount of data. Does anyone have a "very simple" > example > of a MVC actually retreiveing data from a database (any database) OR can > point me to a link that has an example. (yes I tried google). You have a method on a Java class executing... you can use JDBC or any O/R mapping tool of your choosing. It shouldn't be very confusing. Just extract the data from the RowSet, build JavaBeans, and hand those off as the model to the view layer. It's definitely not a simple example, but the Maverick MVC framework provides a *very* comprehensive sample J2EE application using a combination of entity EJBs and direct JDBC access. It's a wiki-like image gallery which is actually being used in the real world. The url for the sample application (the Punk Image Gallery) is http://mav.sourceforge.net/pig. I highly recommend that anyone who is daunted by Struts (which is far more complicated than it should be for what it does) should take a look at Maverick: http://mav.sourceforge.net. Good luck, Jeff Schnitzer [EMAIL PROTECTED] ======================================================================== ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
