i have a web application that is build as single page. Through one user session, it stores lots of DOM and JS objects on client side. So if browser refreshes my app, it starts from very beginning, except user sing-in, etc.
And i am looking forward for a way to migrate this application to portlet. I have experience with portlets but it was before AJAX era.
The problem is, although my app can live inside a portlet happily, other aspects of portal, like other portlets, portal pages, do refresh browser with their links.
Is there a standard (JSR) or non-standard way to handle this problem ?
Portlets should make no assumptions at all regarding the behavior of other portlets or the portlet container. So, strictly speaking, your application isn’t suitable for a portlet container. That doesn’t mean however, that it is impossible to work as such. Ask your self the following questions:
Depending on the above answers you could determine yourself whether it is acceptable to use your application as a portlet.