No, you are not wrong. Struts will likely be changed to use Commons Resources after a 1.3.x goes "GA". Of course, Commons Resources needs to go "GA" itself soon.

I have already written several Database implementations for Commons Resources (Hibernate, iBatis, JDBC-only). However, some of that work is not checked into SVN and some of it (at the time it was written) was not allowed in SVN due to incompatible licensing with ASL.

I don't really have a lot of free time to assist, but I'll do what I can.

Are you using any O/R frameworks or are you just doing straight jdbc?

--
James Mitchell
678.910.8017
Skpe: jmitchtx



On Nov 16, 2005, at 4:08 PM, Brian Russell wrote:

I got James's solution from:

http://sourceforge.net/project/showfiles.php? group_id=49385&package_id=7
6369

I also found another solution at:

http://sourceforge.net/project/showfiles.php? group_id=49385&package_id=1
49742

And I know the team is working on a solution to be included in
Commons-Resources and hopefully Struts 1.3.. but I may be wrong about
that.

Brian Russell
www.closerware.com


-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 4:00 PM
To: Struts Users Mailing List
Subject: RE: Message Resources from DB

Can you send me the solution to that? I don't have that book, I have an
older version without that solution.

-----Original Message-----
From: Brian Russell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 12:58 PM
To: 'Struts Users Mailing List'
Subject: RE: Message Resources from DB

Ah.. the man himself! I'm using MySql. I set up my database with the
tables from the scripts in the /sql directory. And of course did the
rest of the steps (i.e. updating struts-config, placing xml files in
/WEB-INF/classes dir, etc.)

Thanks!

Brian Russell
www.closerware.com


-----Original Message-----
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 3:47 PM
To: Struts Users Mailing List
Subject: Re: Message Resources from DB

What database would you like to use?

--
James Mitchell
678.910.8017
Skpe: jmitchtx



On Nov 16, 2005, at 3:41 PM, Brian Russell wrote:

I know this topic has come up before but.. Does anyone have a
suggestion
on a method for pulling Message Resources from a DB, as well as making sure a restart of the app isn't required when the message key/ value is updated in the db? Is there a recommended, working, solution out there
(i.e. OJB solution by James Mitchell, Commons-Resources, etc.)?

I tried to implement the solution found in "Jakarta Struts Cookbook"
Chapter 2 Section 7 "Accessing Message Resources from a Database". As
you may know, the OJB Message Resources distribution by James Mitchell requires an OJB jar to be available to a webapp attempting to use this approach. However, I am unable to pin down exactly what version of OJB
is required to work with this solution. I have currently tried 0.9.4,
1.0.0, 1.0.1, 1.0.1, 1.0.3, with invalid class or class not found
errors
on any that I choose.

My current environment is as such:

Java: 1.5.0_05
Tomcat: 4.1.29
Mysql: 3.2.3.58
Struts: 1.2.7

If anyone has been able to implement this and can give me a
recommended
solution, that would be great.

Thank you.

Brian Russell
www.closerware.com




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



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



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



"MMS <safeway.com>" made the following annotations.
---------------------------------------------------------------------- --
------
Warning:
All e-mail sent to this address will be received by the Safeway
corporate e-mail system, and is subject to archival and review by
someone other than the recipient.  This e-mail may contain information
proprietary to Safeway and is intended only for the use of the intended
recipient(s).  If the reader of this message is not the intended
recipient(s), you are notified that you have received this message in
error and that any review, dissemination, distribution or copying of
this message is strictly prohibited. If you have received this message
in error, please notify the sender immediately.

====================================================================== ==
======


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


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



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

Reply via email to