Archive for the ‘Liferay’ Category

Liferay 7 m4 setup

Posted: May 15, 2015 by Narendra Shah in Liferay, Uncategorized

I was curious to see osgi in Liferay 7 and that curiosity bring me to install liferay 7.

How easy setup liferay.
1. Download Liferay 7 m4 from
2. unzip the file
3. If you have jdk 7/8 already setup with environment variable JAVA_HOME, you are ready to go to start
4. Here intention is not to use some database and run it. so i tried with hsql itself, liferay default database.
5. Navigate to directory(in zip extracted folder) liferay-portal-7.0-ce-m4\tomcat-7.0.42\bin
6. Startup.bat/
7 AFter liferay started, i see basic config with name,email address etc.
8. Filled in basic detail and press Finish button, it took a while and see done. I see Term & Conditions to agree and my portal is ready. Here is some screen shot for first look.

Whooo, it is working cool, much faster than old versions. UI is very cool, everything is properly categorized and it is really well managed. Though the basic concepts, site,layout. control panel, role, web content etc is as is.


Control panel is properly Categorized as User, Sites, Apps, Configuration, here apps is portlet config, where portlet can be activated/deactivated etc.




Starting With Liferay development environment setup

Posted: December 3, 2013 by Narendra Shah in Liferay
Tags: , ,

This post is for first time java developer, who would like to use and setup Liferay.

The steps required to start liferay in your localsystem is easy.

1. Get with tomcat from liferay download link

2. Unzip to any folder, unzipped folder contains portal within that there is tomcat within.

3. You can open tomcat/bin folder from portal folder, and then run startup.bat(in linux it is

4. This will start liferay with default configuration,h  so once server started, you can open the server hostname:8080, and you will see wizard for configuration of jdbc configuration for database and default user setup.  Here one thing is, you need to create blank database in your favourate RDBMS tool, and once liferay starts it will create all required tables,indexed etc.

5. Thats it, your liferay instance is started in your local.

6. Now you can play with your instance.

Will post more advanced stuff in next post.

Reviewed Liferay Portal system Development Book

Posted: March 18, 2012 by Narendra Shah in Liferay, Open Source World

This book contains lots of in depth content related to liferay inbuild functionality. This book is recommended for Java/J2EE and liferay basic knowledge person, who want to dig in Liferay book. I did not found this much ready mad material on liferay documentation also. For this book, rather to review whole content, i will add chapter by chapter review.

Chapter 1: Liferay Enterprise Portal: This chapter contains information related to different liferay solution, what are development methodologies, when to use where, development stages etc. It contains abstract information about Liferay and way of working with liferay.

Chapter 2: Service-Builder and Development Environment: This chapter specify development environment setup, portal and plugin structure, liferay very important feature called service builder and at last plugin development. This chapter lacking some examples but at the same time, provides very in depth knowledge on features.

Chapter 3: Generic MVC Portlets: Here all information related to plugin portlet is shown with very useful information like What’s Happening Here,  this section specifies very good information that what is happening the given codebase. This chapter contains all xml,xsd, database configuration related stuff in very nice way.  Here i found i am lacking some information related to spring portlet, it might be added and some database persistent model like hibernate/ JPA, and there is no information regarindg Inter portlet communication information.

Chapter 4: Ext Plugin and Hooks: This chapter specify where to use ext, where to use hook, some advanced tricks for liferay overriding(book specify overwriting but i think overriding is better word to use).

Chapter 5: Enterprise Content Management: This chapter starts with image management, permission, document management WebDav functionality, record management and ends with content authorizing. This chapter contains lots of reference material. It is not necessary that each part is important for an person, who is initial state to learn. Each part applies on different functionalists and could be used as and when needed. Great reference chapter to work with inbuilt content management portlet.

Chapter 6: DDL and WCM: DDL is not data defination language of sql, it is related to web content management related to dynamic data list and dynamic data mapping. I was little confuse when started, but in the first paragraph, understood this. This chapter is dedicated to WCM Funcationlity of liferay. and it also contains information related to localization, template, types of files used. Good to refer the chapter for some more indepth knowledge on liferay web content fictionality.

Chapter 7: Collaborative and Social API: This chapter related to blog, message boards,asset management, chat type portlet from liferay. It contains ready to use info to directly work with that functionality and backend modification if required framework information. Good to go thru this chapter before starting to use liferfay inbuilt collaberation and social media portlets.

Chapter 8: Staging, Scheduling,Publishing, and Cache Clustering: This chapter is useful after developing all required portlet, and running in staging environment, configuration for deployments like different cache configuration,  portal instance configuration, group, layout, stading and publishing, Nicely arranged information in this chapter is useful after development and before publishing server.

Chapter 10: Indexing, Search, and Workflow: This chapter relates to SEO, auto complete , open search, workflow stuff. It contains information for which i have very less knowledge :). I gone thru the chapter, i feel i need to revisit the chapter.

Chapter 11:Mobile Devices and Portlet Bridges: It includes information related to layout and themes, and many differenet technologies portlet creation.

Final thoughts: This book contains lots of in depth information related to liferay, which shows authers in depth knowledge on liferay. I dont think any good liferay developer also knowing all this stuff. At the same time, i found book lacks some examples.I loved this book at first time only. So it is obviously great book to have.

I am very thank ful to Team of Packt publication for giving chanse to review the book. I hope review will be helpful to auther and packt team.