Thomas Risberg

Thomas Risberg

Currently focusing on cloud native apps and functions. I also worked on "Spring Cloud Data Flow", "Spring for Apache Hadoop" and "Spring Data JDBC Extensions" projects.

Recent Blog posts by Thomas Risberg

Spring for Apache Hadoop 2.0 M5 released

Releases | February 06, 2014 | ...

We are pleased to announce the Spring for Apache Hadoop 2.0 M5 milestone releases. We are moving closer to a release candidate, so this is a good time to highlight what is new in this 2.0 version and how it compares to 1.0.

Spring for Apache Hadoop 1.0 primarily targets using HDFS and MapReduce with either MapReduce v1 or MapReduce v2 (YARN). The default distribution is Apache Hadoop 1.2.1 with additional "flavors" provided for other distributions: Hadoop 2.2.0, Pivotal HD 1.1, Cloudera CDH4 MR1 or MR2 YARN and Hortonworks HDP 1.3.

The main focus for Spring for Apache Hadoop 2.0 is to add YARN…

Spring for Apache Hadoop 1.0.2 GA and 2.0 M2 released

Releases | November 14, 2013 | ...

We are happy to announce the Spring for Apache Hadoop 1.0.2 GA and 2.0 M2 milestone releases.

Both of these releases provide bug fixes, upgraded Spring project versions and support for the new Pivotal HD 1.1 release. The 1.0.2 release adds support for the new Hadoop 2.2 stable release. The 2.0.0.M2 release provides support for CDH4 YARN clusters and an improved implementation for the HdfsResourceLoader (this implementation will be back-ported to the next 1.0.3 GA release).

We continue to provide version specific artifacts with their respective transitive dependencies in the Spring IO milestone…

Spring for Apache Hadoop 1.0.1.RC1 released - adding Hadoop 2.0 and Pivotal HD 1.0 support

Releases | July 11, 2013 | ...

We are happy to announce a new release candidate 1.0.1.RC1 for the Spring for Apache Hadoop project. This release candidate introduces support for Apache Hadoop 1.1.2, Hortonworks HDP 1.2, Apache Hadoop 2.0.3-alpha as well as support for Pivotal HD 1.0. The support for these versions are in addition to the already supported versions of Apache Hadoop 1.0.4 and Cloudera CDH 3 and CDH 4. This brings us to support for no less than 7 different Hadoop versions.

To make it easier to configure project builds using these varying versions we will be introducing specific flavors of the Maven artifacts…

GA release of Spring Data JDBC Extensions 1.0 with Querydsl and advanced Oracle support

Releases | November 12, 2012 | ...

Dear Spring Community,

We are pleased to announce the availability of the 1.0 GA release of the Spring Data JDBC Extensions project providing Querydsl and advanced Oracle Database support!

The 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 consists 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…

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

Releases | October 17, 2012 | ...

Dear Spring Community,

We are pleased to announce that the fourth and last release candidate (1.0.0.RC4) 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…

Using Cloud Foundry Services with Spring: Part 3 - the <cloud> namespace

Engineering | November 09, 2011 | ...

We saw in the previous blog post Using Cloud Foundry Services with Spring: Part 2 - Auto-reconfiguration that when you deploy a Spring application, your use of data services will be detected, and your application will automatically be re-configured to use the cloud services available to your application. This works great for simple applications and demos, but if you have a serious production application you probably want to have more control. You also need more control if you have multiple services of the same type. Ramnivas hinted at this saying that you can opt out of auto-reconfiguration by…

Spring Data MongoDB 1.0.0.M5 Released

Releases | October 24, 2011 | ...

Dear Spring Community,

I am pleased to announce that the Spring Data MongoDB 1.0 Milestone 5 release is now available!

The primary goal of the Spring Data project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.

The MongoDB module provides integration with the MongoDB document database.

Downloads | JavaDocs | Reference Documentation | Changelog

To learn more about the project, visit the Spring Data MongoDB Page.

There are a number of bug fixes and minor changes to the way certain features work. See the changelog

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

Releases | 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 Postgres on Cloud Foundry

Engineering | August 30, 2011 | ...

When the new open source Platform-as-a-Service (PaaS) offering Cloud Foundry from VMware launched earlier this year, it included a relational database service powered by MySQL along with the NOSQL options of MongoDB and Redis. One of the promises of the Open PaaS is to provide choice both in languages and frameworks you can develop with and in the database services that are available to use. We now have a new relational database service using PostgreSQL available. This is great since we can now choose between the two most popular open source relational databases. PostgreSQL is is a very…

Spring Data Graph 1.1.0 with Neo4j support released

Releases | August 19, 2011 | ...

Dear Spring Community,

We are pleased to announce that the second release (1.1.0.RELEASE) of the Spring Data Graph project with Neo4j support is now available!

After the first public release of Spring Data Graph in April 2011 we mainly focused on user feedback.

With the improved documentation around the tooling and an upgraded AspectJ version we addressed many of the AspectJ issues that where reported by users. With the latest STS and Eclipse and hopefully with Idea11 it is possible to develop Spring Data Graph applications without the red wiggles. To further ease the development we also provided sample build scripts for ant/ivy and a plugin for gradle.

Of course we kept pace with development of Neo4j, currently using the latest stable release of Neo4j (1.4.1).

During the last months of Neo4j development the improved querying (Cypher, Gremlin) support was one of the important aspects. So we strove to support it on all levels. Now, it is possible to execute Cypher queries from Spring Data Graph Repositories, from the Neo4j-Template but also as part of dynamic field annotations and via the introduced entity methods. The same goes for Gremlin scripts. What's possible with this new expressive power? Let's take a look.

For example, in a repository:


	public interface PersonRepository extends GraphRepository, NamedIndexRepository {
	
	    @Query("start team=(%team) match (team)-[:persons]->(member) return member")
	    Iterable findAllTeamMembers(@Param("team") Group team);
	
	    @Query(value = "g.v(team).out('persons')", type = QueryType.Gremlin)
	    Iterable findAllTeamMembersGremlin(@Param("team") Group team);
	}

The Neo4j Template API got a complete overhaul which resulted in much fewer, more focused methods. The advanced query result handling capabilities (type conversion, mapping, single results, handler, etc.) are now implemented using a more fluent API. This new API is available for all types of queries, whether index lookups, graph traversals, Cypher queries or Gremlin scripts.


	template.query("start n=(0) match n-->m return m", null).to(Node.class);
template.execute("g.v(0).out", null).to(Node.class);

template.lookup("relationship", "name", "rel1").to(String.class, new PropertyContainerNameConverter()).single();

template.traverse(referenceNode, traversalDescription).handle(new Handler<Path>() {
            public void handle(Path value) {
                final String name = (String) value.endNode().getProperty("name", "");
                resultSet.add(name…

Get ahead

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

Learn more

Get support

Tanzu Spring 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