Building JSR 168-Compliant Portlets with Sun Java Studio Enterprise
Here’s how to access the Google Web service through a do-it-yourself portlet that complies with Java Specification Request 168.
Check it out: http://developers.sun.com/prodtech/portalserver/reference/techart/portlets.html