Portlet is a java-technology-based web component desciribed in JSR 186.JSR 168 Portlet APIs and request processing is not suitable for Ajax. If we want to use ajax in a portlet, jQuery is one of the best choices. jQuery is an amazing JavaScript library that makes it easy to create wonderful web effects in just a few lines of code and it is a great library for developing AJAX based application. It has a lot of features for css manupilation, effects ,events etc. Best of it, it is very simple to use, and there are tons of tutorials. There is also a jquery-portlet library for adding namespaces to JQuery for multiple portlets displayed on the same page. Also there are many plugins for jQuery. One of my favorite is the jqGrid for manipulating tables and data grids.
View Complete Post