Installation Steps of Graylog-Part1
Graylog Installation:Modern server architectures and configurations are managed in many different ways. Some people still put new software somewhere in opt manually for each server while others have...
View ArticleInstallation Steps of Graylog-Part2
Refer link: Installation Steps of Graylog-Part1Place the hash password. Do the following changes in the file like server.conf...
View ArticleDemo On Configuring Graylog input and get messages
Demo On Configuring Graylog input and get messages: By using Graylog we can get the whole information(logging information,indexing, collecting information). If we are not sending any data (application...
View ArticleCompare two Business Entities using JPA/Reflection in Java
In this tutorial, java development team experts will share the way to make comparison between two business entities using JPA/ Reflection. You can read the story here and discover how they do it.Use...
View ArticleAn example to explain why we need AOP - Aspect Oriented Programming
Template method patternDecorator patternAOP solutionThe definition of AOP in wikipediaseems a little bit difficult for beginners to understand, so in this blog I use an example to introduce why we need...
View ArticleA real example of using volatile keyword in Java
Consider the following example: package thread; public class ThreadVerify { public static boolean stop = false; public static void main(String args[]) throws InterruptedException { Thread...
View ArticleHow to find the exact location where bean configuration file is parsed in...
We can define bean configuration in xml and then can get instantiated bean instance with help of all kinds of containers for example ClassPathXmlApplicationContext as displayed below:The content of...
View ArticleHow does component-scan work in Spring Framework
In Spring configuration xml file, we can define a package for tag component-scan, which tells Spring framework to search all classes within this specified package, to look for those classes which are...
View ArticleHow does @Autowired work in Spring framework
Suppose I have a bean named HelloWorld which has a member attribute points to another bean User. With annotation @Autowired, as long as getBean is called in the runtime, the returned HelloWorld...
View ArticleHANA Hibernate Exception.
I am trying to connect to HANA via hibernate java, i am using reverse engineering method.First there is no driver in existing drivers for HANA, so i use generic jdbc and set the properties for HANA db,...
View Article