Develop Portal using liferay I-Develop Portlet

Lets begin on  how to build a portal with liferay. Familiarize with below term while develop portal:

  1. Portlet.
  2. Theme
  3. Hook
  4. Layout

Capability on develop those four components is necessary in order to build a portal.

I assume you familiar with Java in order to develop portlet while 3 others component is good to have but not mandatory.

Preparation

Install it liferay eclipse plugin(http://releases.liferay.com/tools/ide/latest/stable/)

Download liferay SDK  and extract it

Download liferay tomcat bundled (6.2 CE edition) and extract it

Configure Eclipse for SDK liferay and tomcat bundled refer to image below for this step

Image

 

Now let’s rock by creating a project for a portlet

Create new project (we will use ant instead of maven since its easier.

Image

Image

The generated code will be like this

Image

Start to deploy your first portlet

 

 

Image

Start Server

 

Image

 

Check if Ojolali portlet is deployed

Image

In view mode after added into a page looks like below

 

 

 

Image

Now you can start build your own portlet.🙂

The source code for article can be downloaded from

 

 

Tagged: , ,

One thought on “Develop Portal using liferay I-Develop Portlet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: