Re: referencing spring beans from struts.xml

2006-12-12 Thread Paul Benedict
In Tapestry, you use the "spring:" prefix notation (all lowercase) to refer to Spring beans. David Durham wrote: Dave Newton wrote: From: David Durham [mailto:[EMAIL PROTECTED] I kind of stumbled over the spring "glue" for struts, rereading the wiki page a few times before the struts.xml actio

Re: referencing spring beans from struts.xml

2006-12-12 Thread David H. DeWolf
Though, one thing I really like about the current implementation, which I think Ted alluded to, is the ability to not only support different implementations but allow them to be easily swapped. If I have a service facade which is implemented by two swappable but different implementations, in t

Re: referencing spring beans from struts.xml

2006-12-12 Thread David Durham
Ted Husted wrote: On 12/12/06, Don Brown <[EMAIL PROTECTED]> wrote: > > > or something like that to kind of indicate to a developer, "Hey, this > isn't a standard java class name." > Good point. I like this idea more because it would allow us to use multiple object factories simultaneously.

Re: referencing spring beans from struts.xml

2006-12-12 Thread Ted Husted
On 12/12/06, Don Brown <[EMAIL PROTECTED]> wrote: > > > or something like that to kind of indicate to a developer, "Hey, this > isn't a standard java class name." > Good point. I like this idea more because it would allow us to use multiple object factories simultaneously. You know, you sho

RE: referencing spring beans from struts.xml

2006-12-12 Thread Dave Newton
From: David Durham [mailto:[EMAIL PROTECTED] > I don't think my first message was clear, and perhaps the problem is > that I really only have a cursory understanding of Struts 2, but my > thinking is that if a configuration file in a Java framework has an > attribute named "class," then that refers

Re: referencing spring beans from struts.xml

2006-12-12 Thread Don Brown
David Durham wrote: I don't think my first message was clear, and perhaps the problem is that I really only have a cursory understanding of Struts 2, but my thinking is that if a configuration file in a Java framework has an attribute named "class," then that refers to a Java classname, e.g.,

Re: referencing spring beans from struts.xml

2006-12-12 Thread David Durham
Dave Newton wrote: From: David Durham [mailto:[EMAIL PROTECTED] I kind of stumbled over the spring "glue" for struts, rereading the wiki page a few times before the struts.xml action _class_ needs to reference the bean name attribute from spring's configuration. Just thinking about it a little m

RE: referencing spring beans from struts.xml

2006-12-12 Thread Dave Newton
> From: David Durham [mailto:[EMAIL PROTECTED] > I kind of stumbled over the spring "glue" for struts, rereading the > wiki page a few times before the struts.xml action _class_ needs to > reference the bean name attribute from spring's configuration. Just > thinking about it a little more, that s

referencing spring beans from struts.xml

2006-12-12 Thread David Durham
I kind of stumbled over the spring "glue" for struts, rereading the wiki page a few times before the struts.xml action _class_ needs to reference the bean name attribute from spring's configuration. Just thinking about it a little more, that seems a bit esoteric. Would it be better to have the