Date: 2004-04-19T06:15:43
   Editor: HowardLewisShip <[EMAIL PROTECTED]>
   Wiki: Jakarta HiveMind Wiki
   Page: ModuleResourcesProposal
   URL: http://wiki.apache.org/jakarta-hivemind/ModuleResourcesProposal

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -177,3 +177,5 @@
 = Commentary =
 
 Please add your comments, ideas and suggestions here ...
+
+HowardLewisShip: Not quite seeing what a resource can do that a service can 
not. For example, a data source:  For this, I would picture a special factory, 
specific for creating a service that implements the DataSource interface. The 
parameters would be the same as what you are contributing to a <resource> 
element. For another service to obtain JDBC connections, it would simply inject 
the correct data source service. What your syntax (in the second implementation 
suggestion) seems to allow is a bit more succinct approach; annoymous 
<resource> elements, in place, vs. well known services.  Lets noodle on this 
more and consider wider use cases.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to