J2EE hibernate 4 Learning Notes (XVIII) -- hibernate Advanced Configuration (log4j Configuration Log Framework)

hibernate comes with a simple logging framework. Here we introduce a powerful logging framework log4j. Baidu Encyclopedia's introduction to log4j is very good. Most of the content below is copied from Baidu Encyclopedia. Introduction to log4j (Baidu Encyclopedia) Log4j is Apache An open source project, using Log4j, we can control the destinat ...

Posted by xt3mp0r~ on Wed, 19 Dec 2018 17:30:04 -0800

Summary of Java IO Stream Learning VII: Commons IO 2.5-FileUtils

Summary of Java IO Stream Learning VII: Commons IO 2.5-FileUtils For reprinting, please indicate the source: http://blog.csdn.net/zhaoyanjun6/article/details/54972773 This article is from [Zhao Yanjun's blog] In the previous articles, I introduced the common use of IO, and today I introduce the use of the Commons IO framework. Brief Introduct ...

Posted by Greg_BigPhpAmat on Wed, 19 Dec 2018 16:33:05 -0800

Ansible uses jinja2 to manage configuration files and jinja2 syntax profiles

Introduction to Jinja2 Jinja2 is a python-based template engine with functions similar to smarty in PHP, Freemarker and velocity in J2ee. It can fully support unicode, and has an integrated sandbox execution environment, which is widely used. Jinja2 uses BSD authorization The syntax of Jinja2 is composed of variables and stat ...

Posted by mutedgirl on Tue, 18 Dec 2018 21:27:04 -0800

Principle and process analysis of Android OTA upgrade (8) - - the execution process of update_binary

Principle and Process Analysis of Android OTA Upgrade (VIII) - Execution Process of Upgrade Program update_binary 1. Analysis of the execution process of update_binary The program binary executed by the child process in the previous article is actually update-binary in the update.zip package. As we mentioned above, Recovery services do ...

Posted by brax23 on Tue, 18 Dec 2018 18:36:04 -0800

Maven Configuration for slf4j and log4j

I. concept The full name of SLF4J is Simple Logging Facade for Java, which is a simple log facade. SLF4J is not a specific logging framework, but serves as a simple facade for various logging frameworks, such as java.util.logging, logback and log4j. SLF4J provides a unified logging interface, which abstracts the specific implementation of dif ...

Posted by jdlev on Tue, 18 Dec 2018 10:12:03 -0800

Deploy PHP projects under linux - Apache, php, mysql associations

Deploying PHP project environment under linux can be divided into two kinds, one is using Apache, php, mysql package installation, and the other is using yum command to install. To install with compressed packages of three kinds of software, it is necessary to configure the relationship between them manually. The configuration between apache an ...

Posted by cyberdwarf on Tue, 18 Dec 2018 01:51:04 -0800

spring cloud Starter Series 7: A Git-based Distributed Configuration Center -- Spring Cloud Config

The spring cloud components we touched on earlier are all based on Netflix components. This time, let's look at a brand new project created by the spring cloud team itself: Spring Cloud Config.It is used to provide centralized external configuration support for infrastructure and micro services in distributed systems. It is divided into two par ...

Posted by hayson1991 on Mon, 17 Dec 2018 15:54:04 -0800

Spring Cloud Initial Eureka-Consumer Service Consumption (Ribbon) (II)

In the previous article, Load Balancer Client was introduced to achieve load balancing. Here, Spring cloud ribbon is introduced. 1,ribbon Spring Cloud Ribbon is a client-side load balancing tool based on Http and TCP, which is implemented on Netflix Ribbon. Unlike service registries, configuration centers and API gateways, Ribbon is not deploye ...

Posted by dyntryx on Mon, 17 Dec 2018 14:54:04 -0800

Basic usage of Bean Utils, ConvertUtils, Property Utils and Collection Utils of apache-commons

The BeanUtils toolkit, developed by Apache, is designed to facilitate programmers to easily manipulate Bean classes. BeanUtils has four packages:       org.apache.commons.beanutils       org.apache.commons.beanutils.converters       org.apache.commons.beanutils.locale       org.apache.commons.beanutils.locale.converters Of particular ...

Posted by m00p4h on Sun, 16 Dec 2018 01:54:04 -0800

one-to-one, one-to-many, manty-to-one and many-to-many of JPA relational mappings

Spring Data JPA is a sub-project of Spring Data. By providing JPA-based Repository, it greatly reduces the amount of code JPA is used as a data access scheme. You only need to write an interface defined within Spring Data JPA under interface integration to complete simple CRUD operations. Preface This article guides you through Spring Boot, S ...

Posted by romanali on Fri, 14 Dec 2018 08:48:03 -0800