On 11/17/01 2:41 PM, "Ignacio J. Ortega" <[EMAIL PROTECTED]> wrote:
>> >> These classes are now in the commons sandbox, work has been >> done on them by >> Michael Schachter to make the resources classes work with webapps >> specifically and there are tests and examples. If you work on >> this put it >> back in Turbine. >> > > No problem.., but thinking a bit more about , i think we can have a > middle ground here using classloaders.., can be nice if turbine used a > private classloader to load properties bundles.. this way, we can manage > to have a user experience of dynamicaly changing strings in the file, > simply by discarding that private classloader are restarting the > process, create another CL, and start to load bundles in it.. > > WHat do you think? I suggest you take a look at the resources package and bypass ResourceBundles and classloaders all together. This is the approach I was going to take but it will be a long while before I get to it. There are probably some notes by Craig in the struts archive but he didn't use ResourceBundles because of some serialization problems and other various concerns. With the resources package you can make any type of source you want: XML, LDAP, database, properties ... whatever. I was planning on combining the workings of the velocity resource loader and resource mechanism with what is in the sandbox to combine the best of both the packages. There's lots of overlap but I'd like to make one so it can be used in both velocity and all the other uses. That's my take, but do what you like :-) > Saludos , > Ignacio J. Ortega > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- jvz. Jason van Zyl http://tambora.zenplex.org http://jakarta.apache.org/turbine http://jakarta.apache.org/velocity http://jakarta.apache.org/alexandria http://jakarta.apache.org/commons -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
