What is portlet in Liferay?

What is portlet in Liferay?

Web apps in Liferay DXP are called portlets. Like many web apps, portlets process requests and generate responses. In the response, the portlet returns content (e.g. HTML, XHTML) for display in browsers. Another difference is that portlets run only in a portal server, like the one in Liferay DXP.

How do I create a portlet in Liferay 7?

Creating Portlet In Liferay 7 DXP

  1. Step 1 : Create Module Project.
  2. Step 2 : Select Project Template.
  3. Step 3 : Provide Component Class Name and Package Name.
  4. Step 4 : Add Portlet Module To Server.
  5. Step 5 : Deploy The Portlet Module Using ‘Gradle Tasks.
  6. 4 comments:

How do you make a project on Liferay?

Liferay IntelliJ Plugin

  1. Navigate to File → New → Liferay Module. Figure 3: Selecting *Liferay Module* opens the New Liferay Modules wizard.
  2. Select the project you want to create.
  3. Configure your project’s SDK (i.e., JDK), package name, class name, and service name, if necessary.
  4. Give your project a name.

What is Liferay IDE?

Liferay IDE is a plugin for Eclipse that brings many Liferay-specific features to the table. You can install it into your existing Eclipse environment, or Liferay provides a bundled version.

What is a portlet application?

Portlets are pluggable user interface software components that are managed and displayed in a web portal, for example an enterprise portal or a web CMS. Some examples of portlet applications are e-mail, weather reports, discussion forums, and news. A portlet is managed by a portlet container.

How do you use Liferay Portal?

You can use liferay portlet for creating an enterprise, standard and scalable Web Application….Restart your Eclipse and make sure you’re able of defining a new Liferay Server.

  1. Click next and browse towered you unzipped Liferay.
  2. Click next & finish.
  3. Start the server from Servers pane.

What is Liferay?

www.liferay.com. Liferay, Inc., is an open-source company that provides free documentation and paid professional service to users of its software. Mainly focused on enterprise portal technology, the company has its headquarters in Diamond Bar, California, United States.

What is Liferay workspace?

A Liferay Workspace is a generated environment that is built to hold and manage your Liferay projects. This workspace is intended to aid in the management of Liferay projects by providing various Gradle build scripts and configured properties. This is the official way to create Liferay DXP 7.1 modules using Gradle.

How do I run Liferay portlet in Eclipse?

Creating a Liferay MVC Portlet in Liferay IDE

  1. Go to File → New → Liferay Plugin Project.
  2. Fill in the Project name and Display name.
  3. Leave the Use default location checkbox checked.
  4. Select the Ant (liferay-plugins-sdk) option for your build type.
  5. Your configured SDK and Liferay Runtime should already be selected.

What is Liferay application?

Liferay is an open source enterprise portal which is free and mainly used to enable corporate extranet and intranet. It is a robust web application platform written in Java and offers a host of features useful for the development of portals and websites.

What is Liferay used for?

Why Liferay mvcportlet framework?

Here we’ll use the Liferay MVCPortlet framework, because it’s simple, lightweight, and easy to understand. You don’t have to be a Java developer to take advantage of Liferay’s built-in features (such as user and organization management, page building and content management).

Do I have to be a Java developer to use Liferay?

You don’t have to be a Java developer to take advantage of Liferay’s built-in features (such as user and organization management, page building and content management). An application developed using Ruby or PHP can be deployed as a portlet using the Plugins SDK, and it will run seamlessly inside of Liferay.

Which framework should I use to develop my portlet?

You’re free to use any framework you prefer to develop your portlets, including Struts, Spring MVC, or JSF. Here we’ll use the Liferay MVCPortlet framework, because it’s simple, lightweight, and easy to understand.

How do I deploy an application as a portlet?

An application developed using Ruby or PHP can be deployed as a portlet using the Plugins SDK, and it will run seamlessly inside of Liferay. For examples, check out the liferay-plugins repository from Github. We’ll discuss the following topics as we learn about developing portlets for Liferay:

author

Back to Top