Spring Data JDBC Extensions with Oracle Database Support 1.0.0.RC1 Released

Releases | Thomas Risberg | October 18, 2011 | ...

Dear Spring Community, We are pleased to announce that the release candidate (1.0.0.RC1) of the Spring Data JDBC Extensions 1.0 project with Oracle Database support is now available!

The new Spring Data JDBC Extensions project was created to provide additional support for vendor specific JDBC extensions as well as new approaches to working with JDBC like QueryDSL. The bulk of the support is made up of code ported from the SpringSource project "Advanced Pack for Oracle Database" that was available for support subscription customers. We are now making this code available to all Spring users and any new developments will be made in the Spring Data JDBC Extensions project.

Downloads | JavaDocs | Reference Documentation | Changelog

To learn more about the project, visit the Spring Data JDBC Extensions Homepage.

The improvements in Spring Data JDBC Extensions 1.0.0.RC1 include:

  • Added documentation chapter for QueryDSL SQL module
  • Added OSGi manifests
  • Fixed slf4j/log4j and other dependencies

I'd like to thank Andrei Stefan for the JPetStore re-write using the QueryDSL support and SQLFire. It provides a good example for using the QueryDslJdbcTemplate in a project - see https://github.com/SpringSource/spring-sqlfire-samples.

Looking forward to your feedback on the forum or in the issue tracker.

Using Cloud Foundry Services with Spring: Part 1 - The Basics

Engineering | Ramnivas Laddad | October 13, 2011 | ...

Services offered in Cloud Foundry make writing efficient and effective applications possible. Developers can now choose just the right kind of services without worrying about operating those services. For example, a portion of an application can choose Postgres for the parts where transactional access is crucial, MongoDB where interacting with data as a collection of documents makes sense, Redis where key-value is the right abstraction, and RabbitMQ where messaging helps create effective architecture. In this four-part blog series, we will explore how Spring applications can use Cloud Foundry…

Spring Framework 3.1 RC1 released

Engineering | Juergen Hoeller | October 12, 2011 | ...

It is my pleasure to announce that the first Spring Framework 3.1 release candidate has - finally - been released this week! We have been working on this release for several months, completing our milestone work and recently adding support for Java SE 7 and for Hibernate 4.0 to the feature list.

Spring Framework 3.1 RC1 completes the 3.1 feature set:

  • The environment abstraction and the environment profile mechanism for bean definitions.

  • Comprehensive Java-based application configuration based on @Enable* annotations on @Configuration classes.

  • An overhaul of the TestContext framework with first-class support for @Configuration classes and for environment profiles.

  • Our new "c:" namespace for conveniently specifying constructor arguments by name in a concise inline style.

  • The cache abstraction with our declarative caching solution (@Cacheable etc) on top.

  • The Servlet 3.0 based WebApplicationInitializer mechanism for bootstrapping a Spring web application without web.xml!

Video: An Introduction To Spring Social

News | Adam Fitzgerald | October 04, 2011 | ...

Spring Social is an extension of the Spring Framework that enables applications to connect with Software-as-a-Service (SaaS) providers such as Facebook and Twitter and interact with those services on behalf of their users. This presentations by Craig Walls introduces Spring Social essentials such as connecting to service providers and using Spring Social's API bindings. Craig also describes how to add provider-based sign in and how to extend Spring Social's service provider support.

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.

Rapid Cloud Foundry Deployments with Maven

Engineering | Gunnar Hillert | September 22, 2011 | ...

Apache Maven is a very popular choice in the Java community for building and deploying applications.  The Cloud Foundry team has released the Cloud Foundry Maven Plugin to integrate with applications’ development lifecycle, including deployment to the cloud.  The same Maven plugin can be used to manage application pushes and updates to any Cloud Foundry instance.

One of Cloud Foundry’s main promises is to make your life as a developer a whole lot easier without limiting available choices. Cloud Foundry not only supports a plethora of languages (Java, Groovy, Scala, Ruby etc.) and frameworks (Spring, Grails, Rails, Sinatra, Lift etc.) but it also allows you to deploy your applications to different environments. This includes public clouds, such as Cloudfoundry.com and AppFog.compartner-provided cloud offerings, single VM Micro Cloud Foundry

This Week in Spring, September 20th, 2011

Engineering | Josh Long | September 20, 2011 | ...

Welcome back to another installment of "This Week in Spring." We've got a lot of content this week surrounding Spring Roo, and so, in that spirit, I move that we christen today Rooday, in honor of all the great Roo-related content in this week's roundup.

Things are kicking into over drive at SpringSource as everybody's preparing for SpringOne. This year's show is an exciting one because it'll be the first year where CloudFoundry will be present, which means that there will be lots of content around CloudFoundry and Spring, together, working as an unbeatable combination. I can't wait!

  1. InfoQ did an interview with Spring Social lead Craig Walls on the just-released Spring Social 1.0. Fascinating read! Once the interview has whetted your appetite, be sure to try the Spring Social quickstart.

    Spring Social got some great coverage elsewhere, too, including this post from adtmag.com on the new 1.0 release.

  2.  <LI> <a href = "http://www.springsource.org/node/3235">SpringSource Tool Suite 2.7.2 has been released.</a>  The new release features 
    	 support for vFabric tc Server 2.6,
    	support for Spring Roo 1.2.0.M1, and also updates  Mylyn to 3.6.2. Great stuff!
    	<a href = "http://blog.springsource.com/2011/09/14/spring-roo-1-2-0-m1-released/">Spring Roo 1.2.M1 released. 	</a>
    	The new release is a <EM>really</EM> exciting one.  There are some exciting <em>backoffice</em…

SpringSource at JavaOne 2011

Releases | Adam Fitzgerald | September 19, 2011 | ...

Are you heading to JavaOne 2011? If you are, we invite all Spring, Groovy and Grails community members to stop by the SpringSource booth (number 5402) to chat with the Spring engineers and see the latest innovations in Spring, Grails and Cloud Foundry. The exhibit space is open Monday, Tuesday and Wednesday, roughly 10am-5pm, so there should be plenty of time to get your questions answered.

SpringSource technologists are also presenting a lot of sessions as well so be sure to add the following talks to your session builder and reserve a seat:

  • Java Workloads in the Cloud (24701) - Scott Andrews and Ramnivas Laddad
  • Simplify Your JMS Code With Spring (22585) - Bruce Snyder
  • Caching and Data Grids Patterns and Tips (22500) - Costin Leau
  • Building Cloud-Ready Systems with Modern Open Technologies (17381) - Oleg Zhurakousky
  • Fewer Hoops with Hadoop and Spring (22501) - Costin Leau
  • Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever (22120) - Stefan Schmidt & Gordon Dickens
  • What's New in Groovy 1.8 (23940) - Guillaume Laforge
  • What's New in Grails 1.4 (24262) - Graeme Rocher
  • Polyglot Persistence in the Cloud with Grails and Java EE (24280) - Graeme Rocher

Of course, if you are dedicated member of the Spring community, then SpringOne 2GX 2011 in Chicago is really the event for you. We are just one month away so be sure to register now

SpringSource Tool Suite 2.7.2 Released

News | Martin Lippert | September 14, 2011 | ...

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!

New application layering and persistence choices in Spring Roo 1.2

Engineering | Stefan Schmidt | September 14, 2011 | ...

Java enterprise applications can take many shapes and forms. Depending on their requirements, developers need to decide which specific architectural layers their application needs. Up until now, Spring Roo has taken a pragmatic approach to reduce the often unnecessary complexity introduced by service facade, repository or DAO layers. The newly-released Spring Roo 1.2.0.M1 (see announcement) includes frequently requested support for architectural layers which can be tailored to the needs of the application. This article provides an overview of Roo's new service and repository layer features.

Spring Roo Application Layering Support

Spring Roo 1.2.0.M1 released

Engineering | Alan Stewart | September 14, 2011 | ...

The Spring Roo team is delighted to announce the availability of our first 1.2.0 milestone. The Roo 1.2.0.M1 release continues the Roo vision of making it fast and easy to build Spring-based enterprise Java applications. We’ve listened to the community and included in this release some of the most highly-requested features:

  • Ten times faster (!). We know many people are using Roo for very large projects, so we’ve continued our attention to Roo internals to ensure it operates smoothly and quickly despite this. Through attention to profiling, file monitoring, disk I/O, XML models and round-tripping, we’ve increased Roo’s performance for large benchmark projects by a factor of 10.
  • Now Apache licensed. With Roo 1.0/1.1, we used the GPL license to encourage any improvements made in Roo to be shared with the community. In response to feedback, we’ve shifted to the Apache Software License 2 (ROO-2253) so you have complete flexibility on how you use Roo in commercial and non-commercial projects. This also makes Roo consistent with most of the other Spring projects.
  • Moved to GitHub. Social coding is on the rise, and GitHub has become the de facto site for open source source code management. We’re pleased to have moved Roo’s code base to GitHub so that you can easily fork it, make changes, and submit pull requests. This will greatly simplify the receipt of new contributions from the community. Take a look at ROO-2708 or visit https://github.com/SpringSource/spring-roo for more info.
  • Repository layer flexibility. It’s now possible to define your own repository layer approach, with full awareness of your choices in the Roo-managed web tiers, integration tests and data-on-demand mechanisms. This is a significant step forward for those preferring a more traditional layering approach than the Roo 1.0/1.1 “Active Record”-like model. Of course the philosophy that favoured the earlier approach remains, so Roo still fully supports embedding convenient Active Record-style methods in entities. You can learn more about this new feature in the Pizza-Shop sample (see the /samples directory of the distribution) and ROO-301.
  • Services layers. We also decided to tackle another highly-requested community feature: services layer support. You can now easily add a services layer (via a Roo "service" command) and have this used by the Roo-managed web tiers, integration tests and data-on-demand features. The custom services layers can also be used at the same time as custom repositories, giving you complete flexibility to build whichever application layering you prefer. You can read more in ROO-340 and Stefan Schmidt is publishing a blog shortly giving more details.
  • Flexible GWT support.  Now you can skip the UI and just let Roo manage syncing your RequestFactory classes (EntityProxy, RequestContext, and Locator) with your domain model and service layers. Previously the GWT UI scaffolding was mandatory, but with 1.2.0.M1 you can be more selective on how Roo integrates with your project.
  • MongoDB support. Whether you’re a Cloud Foundry user, or just a Mongo fan, we’ve now added support for storing your entities in MongoDB. Mongo is a fast, shard-aware, schema-less document database that supports map-reduce and is a good fit for those wanting to use noSQL with Roo. Learn more in ROO-2693.
  • Database Reverse Engineering (DBRE) Multi-Schema Support. One of the most popular features in Roo is DBRE support, which allows you to not only scaffold an entity model from your relational schema, but also automatically maintain that entity layer as the schema changes. This takes a schema-first approach to development and we know of users employing DBRE in projects with many hundreds of tables. As part of ROO-1408 we’ve added support for DBRE sourcing its structure from multiple schemas at the same time, and indeed you can even have different schemas manage entities in different Java packages.
  • Shell improvements. Lots of people enjoy Roo's usability and indeed the shell has found its way to many other VMware products. We’re pleased that a number of minor fixes have made its way into JLine 1.0 (ROO-2608) and in turn the Roo shell (such as backspace to a previous line will finally work!). You can also run operating system commands directly from the Roo shell via the “!” operator (ROO-2457) and shell on start up now displays the latest community tweets  (ROO-2677).

As you can see, we’ve made a lot of enhancements to Roo 1.2 and look forward to your feedback. We’ve got many exciting new features still coming in the next Roo 1.2 milestone, including JSF/PrimeFaces (ROO-516) support and multi-module Maven (ROO-120) project support. These two are also highly-requested community features.

Please remember this is a milestone release, so you should keep using Roo 1.1.5 for production projects. However, you might like exploring these new features in Roo 1.2.0.M1 by experimenting with the included sample projects.

We hope you enjoy this new release. Please share your experiences via the community forum, follow @SpringRoo for the latest news, or use #springroo in your tweets

Alan Stewart, Project Lead - Spring Roo

Get the Spring newsletter

Thank you!

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all