Imter Portlet communication using the Model SPI


System Programming Interface (SPI), allows the developers to create an unique URL that points to a portal page and then passes data to JSR portlets on that page. The portlets that talk to each other do not have to be packaged in the same WAR. Enables portlets to communicate with each other on the same portal page as well as on different pages. In other words, this solution can also be used for page-to-page communication between JSR 168 portlets on public pages.

Figure below shows the solution using Model SPI. The process is as follows.

Component Diagram

Component diagram for the Model SPI scenario

Limitations The length of a URL is limited. (2083 characters in Internet Explorer). If the size of the communication data is too big, the solution won't work.

No comments:

Post a Comment

Recent Posts

Popular Posts

© 2011-2019 Web Portal Club