Category: Spring
-
Spring’s queryForStream Method
During one of my recent Spring and Spring Boot training course, I talked about the three major ways to access relational data from Spring: Send already-worked-out SQL using the JdbcTemplate, Work with Hibernate by injecting the JPA EntityManager using the @PersistenceContext annotation, and Simply extend one of the Spring Data interfaces, like CrudRepository. I told my students how I always struggle…
-
Cool Groovy aspect in Spring
I’ve been teaching a lot of Spring framework classes lately. In one of them, we have a unit on Aspect Oriented Program (AOP) in Spring. Spring provides all the necessary infrastructure to make AOP doable. You can define aspects using annotations, and Spring will auto-generate the necessary proxies to implement them. As an example, the…
-
SpringOne 2GX final thoughts
I wound up too busy to maintain my daily reports, but here are a couple of items I want to highlight as important take-aways from SpringOne 2GX. Rather than just recap sessions or dole out marketing-type praise, I’m going to focus on some things I learned that I didn’t necessarily expect. A lot of people…
-
SpringOne 2GX Day 1
… or day 2, by the official count. Today was the first full day of sessions, though, so I’m counting from 1. From now on, I can only comment on the sessions I attended. There were many parallel sessions I wish I could have gone to, but until I get one of those cool Time…