Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/joshlong-attic/hellospringjavabasedjavaconfig
- Owner: joshlong-attic
- Created: 2013-04-26T17:43:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-27T03:39:22.000Z (over 11 years ago)
- Last Synced: 2024-04-13T19:27:38.906Z (9 months ago)
- Language: Java
- Size: 161 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.jarThats it and you should see the following line on the console:
I love New York.
I am in Staten Island, New YorkThis Project is using Java, Spring, Maven, jUnit, Log4J and Gitub.
If you have any questions please email me at [email protected]