I haven't kept up with all of the changes to the spring framework since 2.5. I am looking for a sample application for 4.0 that has a basic skeleton app with hibernate done the 4.0 way with controllers and services.
I've googled and looked at the spring site, which I think has been made much worse in the last year or so. Can anyone help me out?
The Spring Framework is an open-source framework for building enterprise Java applications. Spring aims to simplify the complex and cumbersome enterprise Java application development process by offering a framework that includes technologies such as: Aspect-oriented programming (AOP) Dependency injection (DI)
Spring is a powerful lightweight application development framework used for Java Enterprise Edition (JEE). In a way, it is a framework of frameworks because it provides support to various frameworks such as Struts, Hibernate, Tapestry, EJB, JSF, etc.
Spring Cloud Netflix provides Netflix OSS integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.
12 being available now, let me take the opportunity to provide an update on the maintenance roadmap in 2020. Most importantly, Spring Framework 4.3. x and therefore Spring Framework 4 overall will reach its end-of-life next year: Our EOL cut-off is December 31st, 2020, with no further support on 4.3.
Take look at Spring Guides, all with Spring 4.0.
(..) these guides are designed to get you productive as quickly as possible – using the latest Spring project releases and techniques as recommended by the Spring team.
I think tutorial Data Access with Spring can help you, especially step 3:
with source code: https://github.com/spring-guides/tut-data
There is also Getting Started Guide, designed to be completed in 15-30 minutes
with source code: https://github.com/spring-guides/gs-accessing-data-jpa.
This give you general look at possibilites. You can use solutions from this (like Spring Data JPA etc) with or without Spring Boot.
There is also Appfuse 3.0 recently released with support for Spring 4.0.
AppFuse is a full-stack framework for building web applications on the JVM. It was originally developed to eliminate the ramp-up time when building new web applications. Over the years, it has matured into a very testable and secure system for creating Java-based webapps.
AppFuse is full of good patterns, simply build new project from appfuse archetype and take look.
There is also an interesting project that helps you to bootstrap your spring app as easy and fast as possible. You probably would like to take a look. Spring Boot
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With