Re: very basic S2 question

2007-03-16 Thread Dave Newton
--- Rick Schumeyer wrote: > So if I understand correctly, if I plan to use S2, I > will also need to swap out some part of S2 with some > part of Spring (and deal with a Spring learning > curve)? No; there's no swapping or anything. You don't *need* to use Spring, but you are over-complicatin

Re: very basic S2 question

2007-03-16 Thread Rick Schumeyer
So if I understand correctly, if I plan to use S2, I will also need to swap out some part of S2 with some part of Spring (and deal with a Spring learning curve)? And some people are using Spring MVC with S2? But S2 is also an MVC framework? (And I haven't even asked about things like tiles a

Re: very basic S2 question

2007-03-16 Thread Don Brown
While S2 uses an internal DI container (an early forked version of Guice), it shouldn't be used by end user applications, and therefore, Spring is generally the preferred DI container for S2 applications. The popular Struts 2 Spring plugin provides this integration support. Interestingly, there a

Re: very basic S2 question

2007-03-16 Thread Dave Newton
--- Rick Schumeyer <[EMAIL PROTECTED]> wrote: > But doesn't webwork/S2 also provide DI/IOC? Or does > Spring do this for the model part of MVC as well? Internally S2 uses Guice (right guys?), but you can tell it to use Spring. d. ___

Re: very basic S2 question

2007-03-16 Thread Rick Schumeyer
Dave Newton wrote: --- Rick Schumeyer wrote: I had thought that Spring was another framework, and that you would use either S2 or Spring but not both. Spring provides a lot of different functionality; Spring MVC is the web-ish portion of it. You probably (but you can!) would not use b

Re: very basic S2 question

2007-03-16 Thread Dave Newton
--- Rick Schumeyer wrote: > I had thought that Spring was another framework, > and that you would use either S2 or Spring but not > both. Spring provides a lot of different functionality; Spring MVC is the web-ish portion of it. You probably (but you can!) would not use both Spring MVC and S2. >

very basic S2 question

2007-03-16 Thread Rick Schumeyer
I has started to learn S2 a few months ago and then got sidetracked. I'm willing to tackle the learning curve, but I have a very basic question: I notice that many people are combining S2 with Spring. I don't know anything about Spring; I had thought that Spring was another framework, and th