Re: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-22 Thread Lukasz Lenart
But I think you can always use RESTeasy and get the same value without needs for custom plugin. I don't see a point to have another JAX-RS implementation on the market. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2012/8/21 Frans Thamura : > yes > > righr now the syntax is @res

Re: Injecting Static/Mock Resources into my Struts 2 Actions

2012-08-22 Thread Per Pascal Grube
Hi I use easymock to mock service in the action classes. In the spring context I add: Hope thats enough to give you a idea how it could work Regards, Pascal On Wednesday 22 August 2012 15:33:26 Davis, Chad wrote: > I would like to deploy my app to a UI testing / demo environme

Re: Injecting Static/Mock Resources into my Struts 2 Actions

2012-08-22 Thread Dave Newton
I do this all the time. Not sure what experiences you're looking for; if the data is _very_ complex it may be easier to just embed a DB and load it up with DBUnit or something like that. I've also used builders to load up data structures for more-complex data, stuck that data into a map with an I

Injecting Static/Mock Resources into my Struts 2 Actions

2012-08-22 Thread Davis, Chad
I would like to deploy my app to a UI testing / demo environment. In this environment, the regular business logic objects would be replaced ( via DI ) with mock implementations of those resources. These mocks would return a static data set, thus giving a predictable behavior against which we c

Re: Benefits of using Filter as front controller

2012-08-22 Thread Rene Gielen
Thanks for this information, very interesting - seems like we're not alone with FiterDispatcher :) - René Am 15.08.12 00:45, schrieb Joseph Mocker: > FWIW, JAX-RS/Jersey provides both a Filter and a Servlet option as a > controller, however the Servlet came first. > > http://java.net/ji