struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject Re: using struts datasource from a servlet
Date Tue, 01 Jul 2003 14:54:30 GMT


Richard Raquepo wrote:
>>Another option would be to configure the DS in struts but register it with
> 
> a
> 
>>singleton (Service Locator) that can retrieve the datasource in your data
>>access classes.
> 
> 
> maybe you can give me some link about this? tutorials maybe? any code maybe?
> :p

As you wish:

<http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html>


Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message