Posts

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...

Virtual Host Configuration in JBoss

Virtual Host Configuration in JBoss 6.1.0 EAP / Jboss7 COMMUNITY EDITION "Virtual Hosts" is a method to serve requests for multiple host names for example you access your website similar to real host names like http://trvajjala.in   If you want set virtual host to your application you need to follow below instructions. Configure Virtual Hosts in standalone.xml Open standalone.xml under ${JBOSS}/standalone/configuration folder and configure below virtual hosts configurations in one of subsystems. If you have multiple applications in the same server you can use separate virtual host entry. <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">             <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>             <connector name="ajp...