Get Environment Variables and System Properties in Java

What is an Environment Variable? An environment variable is a system variable, and any program can access it for various reasons, like locating the path of the program, user names etc., which you would like to make it accessible for all or specific program. An environment variable often named all in CAPS, for example PATH. … Read more Get Environment Variables and System Properties in Java

Autowire using Java Based Spring Configuration

In one of our earlier post, we saw an example of Java based Spring Configuration. In that example, we created a Configuration class and wired the beans manually. In this example, we’ll autowire the Spring beans using @Autowired and other stereotype annotations and explore the power of auto wiring in Java based Spring Configuration. Class … Read more Autowire using Java Based Spring Configuration