Re: JSP to database communication

2001-01-17 Thread Ted Husted
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

Re: JSP to database communication

2001-01-17 Thread Marc Tremblay
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,

Re: JSP to database communication

2001-01-17 Thread Mahesh Chhatlani
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

Re: JSP to database communication

2001-01-17 Thread Marc Tremblay
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

Re: JSP to database communication

2001-01-17 Thread Tim Hengst
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

Re: JSP to database communication

2001-01-17 Thread Sanjay Gomes
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

JSP to database communication

2001-01-17 Thread Mahesh Chhatlani
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