Category: Spring Core

The Java Programming language provided support for Annotations from Java 5.0. Leading Java frameworks were quick to adopt annotations and the Spring Framework started using annotations from the release 2.5. Due to the way they are defined, annotations provide a lot of context in their declaration. Prior to annotations, the behavior of the Spring Framework […]Continue reading

On of the things I love about the Grails environment is that it comes with a handy bootstrap.groovy file. This will run at startup of the Spring container. I frequently use this to setup expected data, or to create test data for integration / functional tests. It can be a very convenient way to seed […]Continue reading

2

Polyglot Programming Is the practice of programming in multiple programming languages. According to Wikipedia it is – In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it. In […]Continue reading

0

Introduction Spring 3 introduced the Spring Expression Language (SpEL) which has a syntax similar to Unified EL. It can save you a lot of coding, because you can dynamically assign values at runtime. The folks at Spring, made the Spring Expression Language part of what is considered ‘Spring Core’. Thus, the Spring Expression Language is […]Continue reading

0

There are several ways of defining Spring Beans in the Spring Framework. Each method has its own advantages and disadvantages. You may be wondering which one should you use. The answer is, it depends. The reality is in a large enterprise Spring project, you will likely encounter a combination of methods in defining Spring Beans. […]Continue reading

2

Dependency Injection The Spring Framework is literally built around the concept of Dependency Injection. In this post, we’ll take a look at a simple example of Dependency Injection using the Spring Framework. If you want a deeper dive on Dependency Injection and how it works in conjunction with Inversion of Control in the Spring Framework, sign […]Continue reading

4

This is a simple hello world example using Spring Framework 4. We will use Spring Boot and Spring Initializer to get things kicked off easily. Video Tutorial Follow this quick video tutorial to get a Spring Boot starter project. Step by Step Instructions Get Starter Project from Spring Initializer Step One Go to the Spring […]Continue reading

0

Today I released the first module of my Introduction to Spring Framework Tutorial. I hope you enjoy it. Seems like I see two types of tutorials on the web now. One is the very long blog post. The other is the 45 minute video tutorial. The problem with either format that we can only hold […]Continue reading

0