As we know netbeans have portalpack plug in to develop JSR168 & 286 portlets. But we need portlet container to deploy & debug portlets. GateIn give a simple portlet container where we can test our portlets. To download click here Followed the below steps: Install portalpack plugin in netbeans Download and unzip GateIn Portlet Container Add new server(Tomcat) in netbeans as Unzipped folder like E:\jeeva\gatein-portletcontainer-2.1.0-Beta01-tomcat6 Create new web application and select Portlet support in netbeans For our webapp select server as created one. Develop portlet and deploy. this will deploy our app as normal webapp deployment in tomcat The GateIn Portlet Container will read this app and register with the container. Add the portlet in demo JSP of GateIn Portlet Container's simple-portal Access the url http://localhost:8080/simple-portal/demo/demo.jsp To debug our app start the server in debug mode from netbeans. So we can easily develop, deploy & debug our JSR p...