I want to use REST in Spring without using MVC framework, but it seems they encourage using it with controllers only!
Can I do so without using controllers ?? Is it advisable ?
I want to use REST in Spring without using MVC framework, but it seems they encourage using it with controllers only!
Can I do so without using controllers ?? Is it advisable ?
You can create Rest services without spring-mvc using Jersey.
official : http://jersey.java.net/
You can use JAX-RS in concert with Spring if you like, if you want to avoid using Spring for web-layer stuff.