Portlet UI
If you created the project as a Servlet 3.0 project, the generated UI stub includes a static servlet class annotated with @WebServlet, as described in “Exploring the Project”.
This enables running the portlet UI in a servlet container while developing it, which may be easier than deploying to a portal. For Servlet 2.4 projects, a web.xml is created.
In addition to the UI class, you need the portlet descriptor files, Vaadin libraries, and other files as described later. shows the complete project structure under Eclipse.
Installed as a portlet in Liferay from the Add Application menu, the application will show as illustrated in Hello World Portlet.