On 1/17/2001 at 2:05 PM Mahesh Chhatlani wrote:
> I just want to know the most "efficient" and "professional" way.
I'm not sure efficient and professional are always the same thing when
it comes to programming ;0), but ...
The database query would count as business logic. The accepted wisdom
no
ng app (for example).
-- Marc
> -Original Message-
> From: Mahesh Chhatlani [mailto:[EMAIL PROTECTED]]
> Sent: January 17, 2001 12:05 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JSP to database communication
>
>
> Thanks for the tips,
> But to be more clear on this subject,
Thanks for the tips,
But to be more clear on this subject, say I want to write a new web
application in JSP. Now I have to create a detail page where there will be 2
or more queries(with joins) to fill up the page. Now should I use a JavaBean
to have the query and logic to get data from the databa
esh Chhatlani [mailto:[EMAIL PROTECTED]]
> Sent: January 17, 2001 10:34 AM
> To: [EMAIL PROTECTED]
> Subject: JSP to database communication
>
>
> Hi,
> Which is the "suggested" way to access the database, say for
> an intermediate
> query that throws out about 100 r
bject: JSP to database communication
Hi,
Which is the "suggested" way to access the database, say for an intermediate
query that throws out about 100 rows.
(1) JSP to db directly on a JSP page
(2) JSP to JavaBean (where the bean has all the db access)
(c) JSP to Servlet (where the Ser
January 2001 17:34
To: [EMAIL PROTECTED]
Subject: JSP to database communication
Hi,
Which is the "suggested" way to access the database, say for an intermediate
query that throws out about 100 rows.
(1) JSP to db directly on a JSP page
(2) JSP to JavaBean (where the bean has all the db
Hi,
Which is the "suggested" way to access the database, say for an intermediate
query that throws out about 100 rows.
(1) JSP to db directly on a JSP page
(2) JSP to JavaBean (where the bean has all the db access)
(c) JSP to Servlet (where the Servlet accesses the db)
For quick login checks, et