Date: 2004-04-19T07:11:20 Editor: 63.69.231.245 <> Wiki: Jakarta HiveMind Wiki Page: ModuleResourcesProposal URL: http://wiki.apache.org/jakarta-hivemind/ModuleResourcesProposal
no comment Change Log: ------------------------------------------------------------------------------ @@ -185,4 +185,4 @@ HowardLewisShip: If it can be represented as a Java interface, it can be a service. So certainly for things like !DataSource, this is practical. Strictly speaking, then, we don't need this concept of resources. However, strict is not always ''correct''. !HiveMind should be easy to use, and if people are going to get constantly bogged down creating resource-like services and get annoyed or confused doing so, then we should adapt the framework to address this. For example, the <conversion> element was a recent addition: it doesn't do anything you can do with <rules>, but it makes it ''much'' easier. Something simiilar, to streamline your use cases may, or may not, be reasonable. -DanielFeist: Ah, that's something i had in mind but forgot to mention. A service is always an implementation of an interface but it is unreasonable to try to fit resources into the same box. Some resources implement an interface (DataSource, Context etc.) but others don't (e.g. ResourceBundle, Properties, File, URL). +DanielFeist: Ah, that's something i had in mind but forgot to mention. A service is always an implementation of an interface but it is unreasonable to try to fit resources into the same box. Some resources implement an interface (!DataSource, Context etc.) but others don't (e.g. !ResourceBundle, Properties, File, URL). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
