Spring @Value Annotation Example show you how to inject properties or system properties into a spring bean using the spring @Value annotation. You can also refer to the previous tutorial that show how to inject properties from a file or multi files using spring xml. Let’s begin: Example application.properties file Here are some properties that … Read moreSpring @Value Annotation Example
The Read Properties File in Spring Xml tutorial show you how to load properties from a file using spring property placeholder. In Spring, we can use PropertyPlaceholderConfigurer to parameterize property values from a bean definition in a separate file. This helps developer organize specific properties in a external file instead of having to hard code … Read moreRead Properties File in Spring Xml using PropertyPlaceholderConfigurer
Spring Component Scan Example shows you how to use spring xml auto component scanning. First, you will be introduced the traditional way using only xml to configure spring beans. Then you will be familiar with the auto component scanning option. The auto component scanning will enable Spring to automatically look up spring beans annotated with … Read moreSpring Component Scan Example
Maven Javadoc Plugin uses the Javadoc tool to generate javadocs for the specified project. This tutorial show you how to Generate HTML JavaDoc in your build using maven. The Javadoc Plugin gets the parameter values that will be used from the plugin configuration specified in the pom. To hold all javadoc arguments, packages or files, … Read moreMaven Javadoc Plugin-Generate HTML javadoc
The maven skip tests tutorial will show you how to skip unit tests with surefire plugin. By default, Maven will run the entire unit tests automatically when building project. You can configure maven to skip your unit tests. This tutorial also explains the two options when disabling these unit tests: the difference about skipTests and … Read moreMaven skip tests – How it works ?