Skip to content

apara/standalone-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

standalone-spring

Standalone Spring example with SLF4J as a bonus

This is an example of a standalone Spring application with it's own main method.

This application initializes the context and starts the bean.

Highlights

  1. Create a context from all the 'spring wiring' contexts
  2. Demonstrate invoking another component
  3. Minimal code to start a stand alone spring application
  4. Enable logging via SLF4J with proper bridges installed

To execute:

mvn clean package exec:java

Expected output:

12:25:54.810 [com.standardset.spring.Launcher.main()] DEBUG Launcher - Hello World!

About

Standalone Spring example with SLF4J as a bonus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages