Deploying your portlet
Lastly, let's deploy your portlet to the portal and access it in the portal.
Your portlet WAR has already been deployed to portal. However, as you added a new portlet to your project, you need to publish your project again. This will cause the portlet.xml
file to be rebuilt and include your newly created portlet.
Right-click on your A2Z project and select Publish Application... From the new window, make sure that the deployment configuration you have created is selected, then click on OK. It should take a minute or so to rebuild and redeploy your portlet WAR.
Now let's move to the portal side. WEF does a great job behind the scenes to make the task of testing your portlets in the portal much easier. As you recall, when you created you project, you have specified in one of the inputs that you wanted WEF to create a page for you in the portal. Now that you have created your portlet, WEF automatically places this portlet on that page for you. So, all you need to do to access...