Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshlong-attic/hellospringjavabasedjavaconfig

This is a sample Spring Project to show how to use JavaConfig and not XML files.
https://github.com/joshlong-attic/hellospringjavabasedjavaconfig

Last synced: 3 days ago
JSON representation

This is a sample Spring Project to show how to use JavaConfig and not XML files.

Awesome Lists containing this project

README

        

### HelloSpringJavaBasedJavaConfig

This is a sample Spring Project to show how to use JavaConfig and not XML files. This example also will show how to use @PropertySource for reading properties and using the Environment Object to add properties to your objects.

checkout the project from github.

mvn packge
cd target
java -jar HelloSpringJavaBasedJavaConfig.jar

Thats it and you should see the following line on the console:

I love New York.
I am in Staten Island, New York

This Project is using Java, Spring, Maven, jUnit, Log4J and Gitub.

If you have any questions please email me at [email protected]