The Spring Blog

Engineering
Releases
News and Events

SpringSource Tool Suite 2.7.2 Released

Dear Spring Community,

I’m pleased to announce a minor update 2.7.2 of the SpringSource Tool Suite (STS).

The update provides:

  • support for vFabric tc Server 2.6
  • support for Spring Roo 1.2.0.M1
  • update to Mylyn 3.6.2

More details on new features and bug fixes can be found in the New and Noteworthy document. Detailed installation instructions are also available.

As always downloads are available from the STS download page.
Enjoy!

Read more...

Save over € 350,- on Core Spring Amsterdam Registration



This week you can save € 367,50 on a Core Spring Registration in Amsterdam. Make sure to sign up before Wednesday and save 15% on the official Core Spring training and learn to:



  • Use the Spring Framework to develop Java applications

  • Use dependency injection to set up and configure applications

  • Test Spring-based applications

  • Set up Spring configuration using XML, annotations, and Java configuration

  • Use Hibernate and JDBC with Spring to access relational databases

  • Use Spring support for transactions

  • Use aspect-oriented programming (AOP) to add behavior to objects

  • and much more
Read more...

Spring Security OAuth

Welcome

Welcome to OAuth for Spring Security!

As you can probably deduce from its name, the purpose of this project is to provide an OAuth implementation for Spring Security. Support is provided for the implementation of OAuth providers and OAuth consumers. There is also support for two-legged OAuth (a.k.a. "Signed Fetch") and for OAuth 2.0.

Applying security to an application is not for the faint of heart, and OAuth is no exception. Before you get started, you're going to want to make sure you understand OAuth and the problem it's designed to address. There is good documentation at the OAuth site and a good illustration of how OAuth is applied. You will also want to make sure you understand how Spring and Spring Security work.

Read more...

Spring Data JPA 1.0.1 and 1.1.0.M1 released

Dear Spring Community,

On the heels of the Spring Data MongoDB 1.0.0.M4 release I’d like to announce the availability of Spring Data JPA 1.0.1 and 1.1.0.M1. The point release contains a variety of bugfixes listed in the changelog. The first milestone of the 1.1 train contains these bug fixes as well of course, adds IgnoreCase as keyword for the query parser and allows users to use that version alongside Spring Data MongoDB 1.0.0.M4 as they both refer to the same version of Spring Data Commons.

Beyond that we ship a ton of bug fixes and improvements mostly around the mapping subsystem and performance. For a detailed list of tickets fixed have a look at the changelog.

Read more...

Spring Data MongoDB 1.0.0 M4 released

Dear Spring Community,

I am pleased to announce the availability of Spring Data MongoDB 1.0.0 M4. Here are the most important features added:

  • Support for map-reduce operations in MongoTemplate
  • Provided means to use externalized queries to be executed by repositories
  • Support for geoNear queries on MongoTemplate and the repositories
  • New DocumentCallbackHandler interface on MongoTemplate
  • A DB wide WriteConcern can now be configured on the SimpleDbFactory
  • A WriteConcern configurable on MongoFactoryBean
  • Added a QuerydslRepositorySupport base class to ease implementing Querydsl based repositories
  • Configurable TypeMapper interface to control how type information is written and retrieved to and from Mongo documents
Read more...

Get Started With Spring

Spring provides an incredibly powerful and flexible collection of technologies to improve your enterprise Java application development that is used by millions of developers. It is easy to get started by using our free development tool, Spring Tool Suite, or following one of the many tutorials. If you have specific questions then you can ask them in the community forum, look for a solution in our extensive code samples or search the outstanding Spring documentation.

 

Get Everything You Need

Spring Tool Suite™ provides the best Eclipse-based development environment for building Spring-powered enterprise applications. STS supplies all the tools you need for developing with the latest enterprise Java and Spring based technologies.

Read more...

Micro Cloud Foundry Gives Developers Their Own Personal Cloud

Today the VMware team released Micro Cloud Foundry, a complete, local version of the popular, open source Platform as a Service that lets developers run a full featured cloud on their Mac or PC. Using Micro Cloud Foundry developers can build end-to-end cloud applications locally, without the hassles of configuring middleware while preserving the choice of where to deploy and the ability to scale their applications without changing a line of code.

Micro Cloud Foundry is available as a free downloadable virtual machine image and is compatible with VMware Fusion for Mac OS X and VMware Workstation and VMware Player (available as a free download) for Linux and Windows computers. It provides easy installation, setup, and virtual machine management and all you need is a Cloud Foundry account to get started.

Read more...

Video: Adrian Colyer Discusses Enterprise Apps in 2011 and Beyond

Adrian Colyer Talks about the Future of Enterprise Development

The What's Next conference in Paris in May was one of the biggest Java events ever organized in France, energizing the vibrant French developer community. It gathered a lot of the most important Java experts from around the world to discuss at a high level the important new and emerging technologies around the Java platform.

SpringSource's Adrian Colyer had the opportunity to present to the audience and he discussed the current trends in cloud computing, covering especially PaaS with a reference at Cloud Foundry, and focusing on how PaaS impacts enterprise application design and development.

Read more...

Video: What's New in Apache Tomcat 7

Mark Thomas discusses all the latest features that are available in Apache Tomcat 7. He talks about the specification changes (Servlet 3.0, JSP 2.2, Expression Language 2.2) some of the new features (JMX enhancements, performance improvements, new parallel deployment) and describes the upcoming plans for later releases. Check out the video or you can download the slides from the S2G Forum 2011 archive.

Be sure to thumbs up the presentation if you find it useful and subscribe to the SpringSourceDev channel to receive updates about all the latest presentation recordings and screencasts.

Read more...

S2G Forum 2011 Presentations


S2G Forum 2011 Keynote by Rod Johnson

Other Presentations

Spring MVC 3.1 Update - Rossen Stoyanchev:
This session will delve into more detail on Spring MVC 3.1 related updates. The major topics include a new infrastructure for processing annotated controller methods, namespace configuration improvements, conversation management, and Servlet 3.0 support.
 
Spring Integration Update - Josh Long
This session provides a guided tour of the new features of Spring Integration 2.0 including the new Spring Integration ROO add-on. Along the way, you will learn about Spring Integration's support for Spring Framework 3.0 features such as the Spring Expression Language, ConversionService, and RestTemplate. You will also learn about several new adapters including AMQP, XMPP, TCP/UDP, JDBC, JMX, and more.
 
Tuning Java for Virtual Environments - Ben Corrie
This practical session looks in detail at how to get the best performance out of the JVM when running virtual, with particular focus on memory management. While the session will spend some time looking at the existing best practice and the technical reasons behind that, it will also present the most up-to-date data and recommendations along with a forward-looking perspective of the work SpringSource is doing to enhance Java on virtual.
 
Cloud Foundry for Spring Developers - Josh Long
Cloud Foundry, the new open source Platform-as-a-Service from VMware, provides a fantastic deployment platform to run Spring applications in an auto-scaling, auto-managed cloud environment. This presentation describes how to leverage cloud services, like MongoDB, Redis, and RabbitMQ, and illuminates the architectural details behind Java execution on Cloud Foundry.
 
Apache Tomcat 7 Update - Mark Thomas
Apache Tomcat is the mostly widely deployed application server in today's enterprise market. Developers, QA teams and IT managers all use Tomcat in a wide variety of deployments with incredible success. This session looks inside the popular Apache project to analyze the new features avaiable in Apache Tomcat 7, including asynchronous request processing, memory leak detection/prevention and security enhancements.
 
Spring AMQP and Rabbit Messaging - Dave Syer
The Spring AMQP project's goal is to simplify development of messaging applications based on the AMQP protocol. Spring AMQP provides portable Java and .NET API across RabbitMQ and Apache Qpid implementations as well as convenient abstractions that promote a POJO based programming model. If you are familiar with Spring's JMS support, you will feel right at home. In this session you will take a tour of Spring AMQP features such as publishing, message converters, and creating multithreaded consumers. Support for the management of the RabbitMQ server will also be covered as well as its configuration using Spring.
 
Caching and Scalable Data Access with Gemfire - Costin Leau
A pragmatic look on how to achieve easy gains in a Spring applications through caching. This session will analyze the usual bottlenecks found in common application stacks and ways to address them. Various caching patterns will be discussed, with focus not just on performance but also scalability, including how to get the best out of vFabric Gemfire.
 
Grails in the Cloud - Peter Ledbrook
This presentation will survey the various cloud runtime platforms that provide Grails support and discuss the design constraints inherent in each platform. The session will provide concreate recommendations for designing your Grails applications to get the most out of these new deployment targets.
 
Tuning Grails Applications - Peter Ledbrook
Grails makes it incredibly easy to get a web application up and running, but it makes no guarantees about how well that application will perform and scale. If you issue hundreds of database queries per request, your application won't be a Speedy Gonzalez. Find out how to track down and fix bottlenecks in various parts of your application, particularly database access and view rendering.
Read more...