--- Joseph Ottinger <[EMAIL PROTECTED]> wrote:
> From: "Joseph Ottinger" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: JSP Apostrophe in JDBC
> Date: Fri, 06 Sep 2002 06:07:28 -0500
>
> I find the idea of binding your SQL into your JSP a la DBTags really
> distasteful. It's fine for a quick and dirty hack, but... most of the time,
> I'm not willing to use crap like that because it ends up making it into
> production when management isn't willing to commit any time to doing it
> right. Once it makes it into production, it turns into a maintenance
> nightmare because a table change means you've got to go into every freakin'
> page that uses SQL on those tables... when you could have just modified a
> single manager class (presuming a DAO model) instead.
>
> Does it work with JDBC-ODBC? I sure hope so, because I use and test with
> that all the time.

To which I respond:

I'm sure you're right that in a large development environment, using DBTags
wouldn't be optimal. It certainly doesn't follow the MVC architecture. However,
for small, self-contained projects, it seems to me that it works just fine. My
web applications tend to have 5 or maybe 6 pages that interact with the
database. Hardly large enough for me to learn how to implement something like
Struts. (Though, I do plan to learn about Struts, most likely from the Manning
book on the topic, someday when I have some spare time on my hands!)

[Note: Joseph asked me to forward his email to the list, so I'm not posting a
private email response to the list.]

-David Castro
 email[at]davidcastro[dot]com
 http://jsp.davidcastro.com

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.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

Reply via email to