Original issue MVC_SPEC-1 created by Santiago Pericas-Geertsen:
Out of M, V and C, our biggest challenge is going to be defining exactly what is an MVC controller, and how it relates to JAX-RS resource classes (which have been used as MVC controllers in frameworks like Jersey MVC).
This task will be used to summarize the discussion and, hopefully, the agreed conclusion on how to define an MVC controller. Questions to guide the discussion:
(1) What kind of bean is an MVC controller? E.g., a CDI bean? Should MVC define its own container?
(2) What should be the default scope of an MVC controller? Request scope (like JAX-RS)? Application scope (like Servlet)?
Original issue MVC_SPEC-1 created by Santiago Pericas-Geertsen:
Out of M, V and C, our biggest challenge is going to be defining exactly what is an MVC controller, and how it relates to JAX-RS resource classes (which have been used as MVC controllers in frameworks like Jersey MVC).
This task will be used to summarize the discussion and, hopefully, the agreed conclusion on how to define an MVC controller. Questions to guide the discussion:
(1) What kind of bean is an MVC controller? E.g., a CDI bean? Should MVC define its own container?
(2) What should be the default scope of an MVC controller? Request scope (like JAX-RS)? Application scope (like Servlet)?