struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitch...@apache.org>
Subject Re: Using database tables for resource bundles
Date Mon, 02 Feb 2004 15:31:38 GMT
Not yet.  I was planning to finish my refactoring to commons-resources
(sandbox) quite some time ago, but like most people.....I have just been too
busy with other things.


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017 (cell)
AIM: jmitchtx
MSN: jmitchell@apache.org



----- Original Message -----
From: "Johan Wasserman - CPX Mngd Services" <Johan.Wasserman@Comparex.co.za>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Monday, February 02, 2004 10:21 AM
Subject: RE: Using database tables for resource bundles


Regarding using a database to provide resource bundles;
James Mitchell developed a nifty extention called 'OJBMessageResources'
that uses OJB and there where talk of a new version using Hibernate...

<quote>
I'm also about to release another implementation that uses Hibernate for
those who don't want the required OJB internal tables.....stay
tuned....more to come.
</quote>

Does anyone know (James, if you're listening) if the Hibernate version
where made available or if there is something else available (that
doesn't use OJB)?

Thanks (and kudos to James for the OJB version),
Johan Wasserman
For: Comparex Africa (Pty) Ltd
+27 (0) 83 326 7339 (Mobile)
+27 (0) 11 266 1110 (Tel)
+27 (0) 11 266 1099 (Fax)
Mailto:Johan.Wasserman@Comparex.co.za
http://www.comparex.co.za/
Company Registration Number 1993/003683/07
NOTICE: This message and any attachments are confidential and intended
solely for the addressee.  If you have received this message in error,
please notify Johan Wasserman at Comparex Africa (Pty) Ltd immediately,
telephone number +27 (0) 11 266 1110.  Any unauthorized use, alteration
or dissemination is prohibited.  Comparex Africa (Pty) Ltd accepts no
liability whatsoever for any loss whether it be direct, indirect or
consequential, arising from information made available and actions
resulting there from.



-----Original Message-----
From: James Mitchell [mailto:jmitchell@apache.org]
Sent: Tuesday, March 25, 2003 6:17 PM
To: Struts Users Mailing List
Subject: Re: Using database tables for resource bundles


On Tue, 2003-03-25 at 10:30, Robert Leland wrote:
> Rahul wrote:
> > Hi,
> >
> > We are developing a multilingual system using struts 1.1 and j2ee
> > 1.3.
> >
> > I need to know whether we can use backend database tables for
> > providing all the messages i.e. whether the messages can be provided

> > by a set of java class rather than relying on resource files
> > residing on the server.
>
> James Mitchell developed a version of this.
> It is in the jakarta-commons-sandbox/resources.
> I haven't used this myself though. For 1.2 we plan
> on making the message resources in struts a wrapper
> around these classes. Until that point you'll need to
> provide your own glue.

Cool, I wasn't aware that it was added to commons-sandbox.

I initially released this extension on http://sourceforge.net/struts
called 'OJBMessageResources'.  This particular implementation uses OJB
under the covers.

It is very simple to use.  The best part is that you don't have to
change anything in your application that already uses MessageResources.
You can even use both properties files and database in the same
application. (Props for some and db for others)

Complete details are available in the download, and I'm here (almost 24
X 7) if you need assistance with setting things up.

I'm also about to release another implementation that uses Hibernate for
those who don't want the required OJB internal tables.....stay
tuned....more to come.

>
> -Rob
>
>



--
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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


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


---------------------------------------------------------------------
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