Interface JStachioModelView

All Superinterfaces:
All Known Implementing Classes:

public interface JStachioModelView extends View
Another way to use JStachio with Spring MVC is to have models implement Springs View interface. You can enforce that your models implement this interface with JStacheInterfaces.

The model will use the static jstachio singleton that will be the spring one.

This approach has pros and cons. It makes your models slightly coupled to Spring MVC but allows you to return different views if say you had to redirect on some inputs (RedirectView).