Why would you say sling is more elegant? I had the same issue a few years ago 
and found it helpful to have the two. I thought sling's specialty was as a 
RESTful API OVER JCR whereas spring mvc and now spring data allow me to have 
RESTful APIs over the rest of the app. I know that's a little simplified 
because of implications of overlapping functionality but at the big picture is 
that right or wrong?

Sent from my iPhone

On Nov 13, 2012, at 6:31 PM, Marty Phee <[email protected]> wrote:

> I'm not sure either, but everyone knows spring and it makes change easier...  
> :-)
> 
> Thank you for the input. I'll give it a try tomorrow. 
> 
> On Nov 13, 2012, at 5:12 PM, Felix Meschberger <[email protected]> wrote:
> 
>> Hi,
>> 
>> Am 13.11.2012 um 23:35 schrieb Martin Phee:
>> 
>>> New to sling.
>>> 
>>> I'm trying a spring MVC sample and it needs a number of dependencies
>>> installed into sling.  What the best way to add them all?  Can I create a
>>> custom build of sling with these in it already?
>> 
>> Yes, sure. Just add the respective Spring Bundles (must be OSGi bundles, 
>> regular Spring JAR files don't work) to the bundle list in the Launchpad 
>> Builder module and build it.
>> 
>> Just one caveat: I am not sure, whether and how Spring MVC really works. So 
>> we would be very interested to hear your experiences.
>> 
>> In fact, I am not even sure, whether you gain much by using Spring MVC 
>> together with Sling. Both try to solve the same problem, essentially. But in 
>> my opinion Sling is more elegant.
>> 
>> Regards
>> Felix
>> 
>> 
>>> We're starting a project
>>> and looking to use sling with spring MVC for the custom RESTful services.
>>> 
>>> 
>>> http://www.jasonday.net/content/running-spring-mvc-sling
>> 

Reply via email to