tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Smith" <sat-g...@home.com>
Subject Re: How to use JDBC in JSP & servlet
Date Sat, 04 Nov 2000 21:08:52 GMT
Hi Greyson,

Sorry if the links did not work. Try these:

http://www.bitmechanic.com/ (connection pool)

http://castor.exolab.org/index.html (JDO/XML)

http://www.ambysoft.com/persistenceLayer.html 
(links and info on persistence strategies)

Dave

----- Original Message ----- 
From: <greyson.smith@convergys.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 02, 2001 3:08 PM
Subject: Re: How to use JDBC in JSP & servlet


> 
> Dave, I tried the link you supplied, and it didn't resolve, do you have a
> different link by chance?
> 
> 
> 
>                                                                                     
             
>                     "Dave Smith"                                                    
             
>                     <sat-guru@hom        To:     tomcat-user@jakarta.apache.org  
                
>                     e.com>               cc:     (bcc: Greyson Smith/CCMG/CVG)   
                
>                                          Subject:     Re: How to use JDBC in JSP &
servlet        
>                     04-11-00                                                        
             
>                     01:41 PM                                                        
             
>                     Please                                                          
             
>                     respond to                                                      
             
>                     tomcat-user                                                     
             
>                                                                                     
             
>                                                                                     
             
> 
> 
> 
> 
> 
> Viet,
> 
> When you are learning the API, obviously
> your first projects will use sql Connections
> inside servlets and JSP. This is not very
> maintainble code, though. A better plan is to
> encapsulate all the JDBC code in a layer
> between the JSP and the DB:
> 
>     DB --> Persistence layer --> JSP --> User.
> 
> There is no cut and dried way to do this,
> however. Yes, Connection Pooling is
> essential. Again, there is no one way to do it.
> For stand-alone systems you can use code from
> Bitmechanics. In some environments (e.g.,
> Websphere) connection pooling is built in.
> 
> A cool persistence layer can be found at
> http://castor.exolabs.org/
> 
> 
> Regards,
> 
> Dave
> 
> 
> 
> 
> 
> --
> 
> NOTICE:  The information contained in this electronic mail transmission is
> intended by Convergys Corporation for the use of the named individual or
> entity to which it is directed and may contain information that is
> privileged or otherwise confidential.  If you have received this electronic
> mail transmission in error, please delete it from your system without
> copying or forwarding it, and notify the sender of the error by reply email
> or by telephone (collect), so that the sender's address records can be
> corrected.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message