Andy Pemberton Rotating Header Image

Posts under ‘spring’

Spring Portlet MVC Implicit Model

var dzone_style=”2″;Do you use Spring Portlet MVC? Have you ever noticed the ImplicitModel request parameter in your URL? It looks something like:

org.springframework.web.portlet.mvc.ImplicitModel=true

Well, it’s a Spring Portlet MVC 2.5 feature and I was scratching my head trying to figure out what it does. It’s set by Spring under the covers, so I dug into their source [...]

Annotation-based Spring Portlet MVC Lifecycle

var dzone_style=”2″;Jared Richardson spoke at a Richmond Java Users Group meeting I attended last week; his topic was about investing in yourself and your career - what he called career 2.0. At one point during the presentation, he noted that “if you can’t draw something, you don’t understand it”, which motivated me to finish a [...]

JSR250 RolesAllowed Support in Spring Portlet MVC

JSR250 defines the common annotations for Java. Included in these are the javax.annotation.security.* annotations, including @RolesAllowed, @DenyAll, and @PermitAll; they can be used in EJBs to protect service calls.
I’m currently using Spring Portlet MVC 2.5, which supports an annotation-driven style of development. This means that you don’t need to implement framework-specific classes to build a [...]