This commit features a number of tests for programmatically configuring log4j. Note that in order to have these tests live together, there is a slight deviation in how these are configured vs how they are in the real world, specifically around static initialization. Generally speaking, whenever static initialization is needed for a given configuration, it is embedded in a @BeforeClass-annotated JUnit method. Also, to isolate the tests from each other's plugins, annotation processing was turned off in the build. This is not required when doing programmatic configuration of log4j. It is simply needed for the specific use case of demonstrating these various log4j plugins all in the same module.
The "REST with Spring" Classes
After 5 months of work, here's the Master Class of REST With Spring:
>> THE REST WITH SPRING MASTER CLASS
And here's the Master Class of Learn Spring Security:
>> LEARN SPRING SECURITY MASTER CLASS
Spring Tutorials
This project is a collection of small and focused tutorials each covering a single and well defined area of development.
Most of the tutorial projects are focused on the Spring Framework
(and Spring Security
).
In additional to Spring, the following technologies are in focus: core Java
, Jackson
, HttpClient
, Guava
.
Building the project
To do the full build, do: mvn install -Dgib.enabled=false
Working with the code in Eclipse
Any IDE can be used to work with the projects, but if you're using Eclipse, consider the following.
- import the included formatter in Eclipse:
https://github.com/eugenp/tutorials/tree/master/eclipse
CI - Jenkins
This tutorials project is being built >> HERE
Relevant Articles:
================================
Description
Languages
Java
88%
HTML
3.6%
JavaScript
2.7%
TypeScript
2.4%
CSS
1.5%
Other
1%