Posts

Converting Author to Public instance in Magnolia

Image
Converting Author to Public instance in Magnolia  Change admin flag to false under    config → server Change role privileges for the anonymous role under Security → Roles Add ACL to anonymous role for website section → click on save Choose your website main page here Add ACL to anonymous role for URL section → click on save (You can add complex rules here; this is simplest way to convert into public instance) To verify anonymous privileges go to tools → Permission List

Liferay Portal Development with Eclipse

Image
Prerequisite Following software required to develop liferay portals 1. make sure JDK 6 or above  installed in your machine 2. get the Eclipse kepler version from https://www.eclipse.org/downloads/index-developer.php?release=kepler 3. following liferay archives download from below link                  i) bundle with tomcat v6.2                  ii) plugin SDK v6.2 https://www.liferay.com/downloads/liferay-portal/available-releases NOTE : liferay plugin SDK has it own way of development environment which uses ANT as build tool. hence i would recommend not to use maven for liferay development. Development Environment Setup 1.Launch eclipse and create eclipse workspace 2.Install liferay plugin for eclipse using http://releases.liferay.com/tools/ide/latest/milestone/ 3.Extract life...

Hazelcast Persistence with MySQL

What is hazelcast? What is hazelcast? Java collections are used to store data in a different formats. like List, Set and Map etc. but these are restricted to single Thread. :( What if we want to share same collection in different Threads we go for concurrent implementations like ConcurrentHashMap . How do we share the same collection Object across JVMs? the answer is Hazelcast. Tip hazelcast is a in-memory datagrid based on java. data is evenly distributed among the nodes. This allows for horizontal scalability both in terms of available storage space and processing power. Hence it being used as most popular cache framework for java based applications. It is highly available for distributed cache for applications. Why Hazelcast? There are five main reasons why i prefer to go for hazelcast One of the main features of Hazelcast is not having a master node. Each node in the cluster is configured to be the same in terms of functionality. The...