Re: Best practices JDBC JSP
From: Daniel Rohe (daniel.rohe_at_stud.tu-ilmenau.de)
Date: 03/31/04
- Next message: Herman Timmermans: "Re: Best practices JDBC JSP"
- Previous message: mBird: "Re: Best practices JDBC JSP"
- In reply to: mBird: "Re: Best practices JDBC JSP"
- Next in thread: Herman Timmermans: "Re: Best practices JDBC JSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 16:58:03 +0200
Read pattern under following link:
http://java.sun.com/blueprints/patterns/DAO.html
http://java.sun.com/blueprints/patterns/TransferObject.html
hope that helps
Daniel
"mBird" <no@spam.com> schrieb im Newsbeitrag
news:0NAac.1656$Bp2.664@nwrdny02.gnilink.net...
> Thanks for the info.
> Could you give more details on what technologies you would use (so do you
> mean more complicated like using EJB or just simply like making beans to
> access the data that my jsp would then call). I could make EJB and so
that
> would really separate out middleware from presentation but the querying I
> need is so small (just look up data from one table and list it) that I did
> not know if I still should go that complicated).
> Also I want to just use TomCat and not an applications server.
> Thanks for any info.
> Mike Bird
>
> "Andree Große" <user@example.net> wrote in message
> news:c4e2rh$2it$1@ppd00021.deutschepost.de...
> > mBird wrote:
> >
> > > I query an Oracle 9i database and present on the web using TomCat and
> JSP. I
> > > am wondering if the way I do it (see code snip below) is the
> > > best/recommended way to do it or are there other/better recommended
> ways.
> >
> > Your source isn't good practice. Build a middleware tier and put
> > business logic into this layer. Use JSP only as presentation layer
> > and get the data from middleware.
> >
> > A.G.
>
>
- Next message: Herman Timmermans: "Re: Best practices JDBC JSP"
- Previous message: mBird: "Re: Best practices JDBC JSP"
- In reply to: mBird: "Re: Best practices JDBC JSP"
- Next in thread: Herman Timmermans: "Re: Best practices JDBC JSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|