Archive for the 2.5/2.1 category

Juergen Hoeller

Spring Framework 2.1 turns into Spring Framework 2.5!

My first blog post - and what a big announcement to make
After a series of Spring 2.1 milestone releases, we've been reviewing the overall set of features that we introduced:

full Java 6 and Java EE 5 support (JDBC 4.0, JTA 1.1, JavaMail 1.4, JAX-WS 2.0, etc)
full-featured annotation-driven dependency injection (including support for 'qualifier' […]

Rod Johnson

Spring Framework Certified on WebSphere

SpringOne is humming along nicely. This year it's a 3 day show, up from 2 days last year, and once again it's great to see hundreds of attendees at a Spring conference. For once I'm quite relaxed at a show, as after the opening keynote I have no further sessions, and don't need to work […]

Alef Arendsen

Source for demos shown at NL-JUG session June 13th 2007

Yesterday, Joris and I gave a session at the Dutch Java Users Group. We did the session twice and had about 250 people in total attending the sessions. A lot of people asked for the code for the demos we did during the sessions. Attached you'll find the code for the AOP and Dependency Injection […]

Alef Arendsen

ASM version incompatibilities, using Spring @Autowired with Hibernate

I was working on Spring 2.1 stuff this week with Joris. We were preparing a sample using all three ways of doing dependency injection. The sample does not only highlight dependency injection, but also features a back-end based on Hibernate.
Several features in Spring 2.1 require the ASM byte code manipulation framework. Hibernate also uses ASM, […]

Costin Leau

More on Java Configuration

As most of you already know by now, Spring is not just about XML as lately, a number of 'official' extensions to the core offer alternatives way for configuring the container.
Spring Java Configuration 1.0 M2 was among the products released around JavaOne and, while still marked as a milestone, had an important number of updates […]

Ben Hale

Infrastructure changes in Spring 2.1-m2

With the release of Spring 2.1-m2, some significant changes have been made to the infrastructure of the Spring distribution. Please see the announcement and changelog for the complete list of changes.
Distribution
The distribution has been trimmed from 26 JARs in 2.1-m1 to 17 JARs in 2.1-m2. Take a look at the changelog for the […]

Mark Fisher

Customizing Annotation Configuration and Component Detection in Spring 2.1

NOTE: This post has been updated as of May 31, 2007 to reflect the state of the 2.1-M2 official release

Two weeks ago I blogged about the new annotation-driven dependency injection capabilities of Spring 2.1, and I mentioned that I would follow-up with more info "later in the week". It turns out that was a bit […]

Mark Fisher

Annotation-Driven Dependency Injection in Spring 2.1

Spring 2.0 introduced annotation support and annotation-aware configuration options that can be leveraged by Spring users who are developing with Java 5 (or later versions):

@Transactional
for demarcating and configuring transaction definitions

@Aspect (AspectJ)
for defining aspects along with @Pointcut definitions and advice (@Before, @After, @Around)

@Repository
for indicating a class that is operating as a repository (a.k.a. Data Access […]