OCS as a portal

OCS can be implemented as a portal through the Spring MVC Portlet specification. The idea is depicted in the following screenshot where all phases of the order workflow are represented as portlets running simultaneously on the applications' facade:

OCS as a portal

Each portlet can still undergo some Activiti or Web Flow if it has sub-flows to implement. Web services can be generated in order to pass data among portlets.

Controllers

Each portlet must have only one controller class. The @Controller extends org.springframework.web.portlet.DispatcherPortlet with the following component objects:

  • Portlet Request: Contains ACTION and VIEW requests; when the ...

Get Spring MVC Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.