Re: AW: ApplicationResources.properties to DB?
I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
Well, I'm gonna try it...James? Your thoughts? -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: AW: ApplicationResources.properties to DB? I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
On Thu, 29 Aug 2002, Galbreath, Mark wrote: Date: Thu, 29 Aug 2002 11:01:29 -0400 From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: AW: ApplicationResources.properties to DB? Well, I'm gonna try it...James? Your thoughts? If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution Craig -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: AW: ApplicationResources.properties to DB? I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution That would be great. I was thinking that this would be an ideal solution for my work too. I wonder what the differences would be between parsing a very large ApplicationResources.properties and a database table with the appropriate entries. I assume that all this stuff is cached at startup by Struts. Is this the case? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: ApplicationResources.properties to DB?
Mark Kaye wrote: -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution That would be great. I was thinking that this would be an ideal solution for my work too. I wonder what the differences would be between parsing a very large ApplicationResources.properties and a database table with the appropriate entries. I assume that all this stuff is cached at startup by Struts. Is this the case? Yes, it is. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
On Thu, 29 Aug 2002, Mark Kaye wrote: Date: Thu, 29 Aug 2002 16:09:24 +0100 From: Mark Kaye [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: AW: ApplicationResources.properties to DB? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution That would be great. I was thinking that this would be an ideal solution for my work too. I wonder what the differences would be between parsing a very large ApplicationResources.properties and a database table with the appropriate entries. I assume that all this stuff is cached at startup by Struts. Is this the case? star-wars-reference Use the Source, Luke ... /star-wars-reference In particular, the sources to the following org.apache.struts.util classes will be very useful to you: - MessageResources - MessageResourcesFactory - PropertyMessageResources - PropertyMessageResourcesFactory The default implementation (PropertyMessageResources) caches the resources in memory the first time you access a particular file. The proposed JDBCMessageResources would have to make its own decisions about whether to cache or not -- perhaps as a configuration option. You would probably also want to be flexible about how the database connection is established, what the table and column names are, and so on -- for some ideas about configuration, take a look at how JDBCRealm is configured in Tomcat. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
Well, I've convinced the team to let me give it a shot, so I'll let you know; It should only take a couple of days, since I can devote all my attention to it (well, all that's not spent on [OT] threads here!). Mark -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:08 AM To: Struts Users Mailing List Subject: RE: AW: ApplicationResources.properties to DB? On Thu, 29 Aug 2002, Galbreath, Mark wrote: Date: Thu, 29 Aug 2002 11:01:29 -0400 From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: AW: ApplicationResources.properties to DB? Well, I'm gonna try it...James? Your thoughts? If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution Craig -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: AW: ApplicationResources.properties to DB? I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]