Saturday, December 20, 2003

Javascript Remote Scripting (JSRS) for Portlets

I am always troubled by the frequent page refreshes of Portlets. Any person with average speed connection can understand this problem. You are minimizing one portlet, whole the data will be posted to server and page will refresh :( . Few Portal Server vendors have tried to understand problem by implementing some client side scripting.

Client Side scripting with Portlets is in-itself is a subject of huge discussion. As on date, Portlets do not support client side scripts like JavaScript very well.

Imagine a case where you have coded a portlet with a link, whenever you will click on the link, one window will pop up. You have coded the link & window and now going to click on that link.... .... you clicked ...... . and ........ Alas!!!! ..... the windows opened up in some other portlet :(

Portlet vendors don't have any answer of such problems.

The problem becomes worse when some of your portlet want to fetch data from the server. What will happen? You know, whole of the page will refresh!!!!!. There is no way to refresh only a single portlet.

For good old JavaScript/JSP, there are few technologies. First is JavaScript Remote Scripting and other one is Microsoft Remote Scripting. The people who understand these technology know very well, how useful are these technology.

I WISH THESE TECHNOLOGIES WOULD BE INTEGRATED WITH PORTLETS IN NEAR FUTURE. Uhum .... JSR 168 guys, are you listening????

Anyway, If you are happy with your JSP/ Servlets and want to utilize the power of JavaScript Remote Scripting, go to their Home page and know more.

No comments:

Post a Comment