The precedence of initializers and constructor to be called in a class

In a simple java class there are three approaches which will be initialized before any method does. So called static Initializer, Initializer and constructor. The predence of those methodologies is; 1. Static Initializer 2. Initializer: An initializer block is defined within a class, not as a part of a method. It executes for every object that’s created for a class.

Installing Wildfly 8 on Centos

I’ll show you how to set up Wildfly 8 server for standalone not for the domain mode download the package and unzip cd /opt wget unzip -d /opt/ rename the unzipped folder mv wildfly-8.2.0.Final wildfly create the wildfly user groupadd wildfly useradd -s /bin/bash -g wildfly wildfly then prepare the config file path mkdir

Installing Jdk 7 on Centos

download jdk on console cd /opt sudo wget –no-cookies –no-check-certificate –header "Cookie:; oraclelicense=accept-securebackup-cookie" \ "" then unpack tar zxvf jdk-7u75-linux-x64.tar.gz then create folder mkdir /usr/java then move mv jdk1.7.0_75/ /usr/java/ install java alternatives –install /usr/bin/java java /usr/java/jdk1.7.0_75/bin/java 1 install javac alternatives –install /usr/bin/javac javac /usr/java/jdk1.7.0_75/bin/javac 1 install jar alternatives –install /usr/bin/jar jar /usr/java/jdk1.7.0_75/bin/jar 1