This Week in Spring - March 10, 2015

Engineering | Josh Long | March 10, 2015 | ...

Welcome to another installment of This Week in Spring! This week I am at DevNexus in Atlanta, GA along with a handful of Spring team members and Spring community luminaries. I'll be presenting a talk on getting started with Spring Boot and I hope you'll join me, or one of the many other talks on Spring team:

SpringOne2GX 2014 Replay: Creating modular test driven SPAs with Spring and AngularJS

News | Pieter Humphrey | March 10, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Gunnar Hillert

Web / JavaScript Track

Slides: http://www.slideshare.net/SpringCentral/creating-modular-test-driven-spas-with-spring-and-angularjs-41166049

Single-page Applications (SPA) are all the rage these days and with them there is an avalanche of new tools, libraries and frameworks we need to know. But what does this mean for us as Spring developers? In this session we will give you an overview of the current landscape and illustrate the choices the Spring XD team has made for its user interface. What do I use to write SPA applications? How do I integrate them into existing Spring-based backends? How do I build them? Can I integrate them into my existing Gradle or Maven build processes in order to achieve complete build automation? How do I integrate realtime messaging using Spring's SockJS/WebSocket support? In this talk we will answer these and many more questions. We will cover frameworks such as AngularJS, Bootstrap, RequireJS; tools like Bower, Grunt, Gulp; and also talk about testing using Karma and Protractor.

SpringOne2GX 2014 Replay: The Quest for the Holy Integration Test

News | Pieter Humphrey | March 10, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Ken Kreuger, Rob Winch

Web / JavaScript Track

Slides: http://www.slideshare.net/SpringCentral/spring-one2gx-2014holyintegrationtest

Spring MVC Test can help greatly to thoroughly test controllers including their configuration. However for browser based clients we are not able to easily interact with the application as a user does. For example, a user would request a page that contains a form, fill out a form, submit the form, some Java Script may execute, and then the user would see some sort of result. In this presentation, we will provide an overview of testing Spring Web applications . We will see that see that by combining Spring MVC Test & HtmlUnit we are able to able to easily interact with our application in the same way (including JavaScript execution) users do. We will also see how we can easily create reusable components that represent our views, so that as we refactor our application our tests can easily be updated. Finally, we will see how we can combine these techniques with BDD to find our holy grail of integration testing.

SpringOne2GX 2014 Replay: Simplify Cloud Applications using Spring Cloud Connectors

News | Pieter Humphrey | March 10, 2015 | ...

Recorded at SpringOne2GX 2014.

NOTE: this project has been renamed Spring Cloud Connectors and is part of the larger spring cloud umbrella project.

Speaker: Scott Frederick, Ramnivas Laddad

Developing for the Cloud Track

Slides: http://www.slideshare.net/SpringCentral/simplify-cloud-applicationsusingspringcloud

Developing an application to a cloud platform involves working with deployed application's environment and connecting to services. Spring Cloud, a new project, simplifies these tasks in a variety of cloud platforms including Cloud Foundry and Heroku. Spring Cloud makes it possible to deploy the same artifact (a war or a jar) to multiple cloud environments. It supports multiple clouds through the concept of Cloud Connector and provides out of the box implementation for Cloud Foundry and Heroku. Spring Cloud is designed for extension, making it simple to create a cloud connector for other cloud platforms. Spring Cloud also supports connecting to multiple services through the concept of service connectors. Out of the box, it provides support for many common services, but also makes it easy to extend it to other services. While Spring Cloud can be used by applications using any JVM language and framework, it further simplifies Spring applications through Java and XML-based configuration. In this talk, we will introduce the Spring Cloud project, show how you can simplify configuring applications for cloud deployment, discuss its extensibility mechanism, and put it to good use by showing practical examples from the field.

SpringOne2GX 2014 Replay: Spring your apps into the cloud with a PaaS

News | Pieter Humphrey | March 10, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Grant Shipley, RedHat

Developing for the Cloud Track

Slides: http://www.slideshare.net/SpringCentral/spring-your-apps-into-the-cloud-with-a-paa-s

Whether you have one or a million visitors accessing your Spring web app, they are all going to demand a great user experience regardless of what it takes for you to deliver it. This invariably means quick page loads and fast response times every single time. When things go south, you just throw more hardware at the problem and increase your caches and buffers, right? Wrong. Toss in an infrastructure that resides on the cloud and now you’ve got a really interesting problem on your hands. I’ll leave the marketecure slides at the door, this is a hands-on technical talk in which we’ll deploy an application to the cloud and then turn up the heat by leveraging the right mix of elasticity and auto-scaling.

Getting started with Activiti and Spring Boot

Engineering | Josh Long | March 08, 2015 | ...

This post is a guest post by Activiti co-founder and community member Joram Barrez (@jbarrez) who works for Alfresco. Thanks Joram! I'd like to see more of these community guest posts, so - as usual - don't hesitate to ping me (@starbuxman) with ideas and contributions! -Josh


Introduction

Activiti is an Apache-licensed business process management (BPM) engine. Such an engine has as core goal to take a process definition comprised of human tasks and service calls and execute those in a certain order, while exposing various API's to start, manage and query data about process instances for…

Spring Data Release Train Fowler RC1 Available

Releases | Christoph Strobl | March 05, 2015 | ...

I'm pleased to announce the availability of the first and final release candidate of the Spring Data release train named Fowler. The release ships 149 tickets fixed. Here are some of the highlights:

  • Support for Java 8 Stream as return type in JPA and MongoDB.
  • Enhanced support for JSR-310 and the ThreeTen back port types.
  • Dedicated GeoJSON types for the MongoDB module.
  • Compatibility with MongoDB 3.0 and the new MongoDB Java driver (current beta3).
  • Auto-populate the last modified header for audited entities in Spring Data REST.
  • @Score annotation for Solr.
  • Support for suggestions in Elasticsearch.

Spring Cloud 1.0.0 Available Now

Releases | Dave Syer | March 04, 2015 | ...

Spring Cloud 1.0.0.RELEASE is available now in Maven Central (and repo.spring.io). Not too many changes since RC3 but we did find a few bugs, thanks largely to community involvement, so thanks to all who tried it out up to now. Here is a reminder of the goals of Spring Cloud:

Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state…

SpringOne2GX 2014 Replay: Caching with Spring: Advanced Topics and Best Practices

News | Pieter Humphrey | March 03, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Michael Plod

Core Spring Track

Slides: http://www.slideshare.net/SpringCentral/spring-one2gx-caching-with-spring

Caching is relevant for a wide range of business applications and there is a huge variety of products in the market ranging from easy to adopt local heap based caches to powerful distributed data grids. This talk addresses advanced usage of Spring’s caching abstraction such as integrating a cache provider that is not integrated by the default Spring Package. In addition to that I will also give an overview of the JCache Specification and it’s adoption in the Spring ecosystem. Finally the presentation will also address various best practices for integrating various caching solutions into enterprise grade applications that don’t have the luxury of having "eventual consistency“ as a non-functional requirement. This talk comes with many live demos, some of them are demoed on a distributed cache cluster on Raspberry Pis and Lego Mindstorms robots (running Spring).

SpringOne2GX 2014 Replay: The Revolution Will Not Be Centralized

News | Pieter Humphrey | March 03, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Chris Beams

Data / Integration Track

Slides: http://www.slideshare.net/SpringCentral/the-revolution-will-not-be-centralizedhow-to-build-a-blockchain-using-spring-to-develop-a-bitcoinlike-virtual-currency

Massive government-run data dragnets. Advertising-based "free" cloud services working against the best interests of their users. Giant, unreadable end user license agreements. It seems that everywhere we turn, the walls are closing in on individual privacy and autonomy. The situation is complex. Out of confusion and frustration, many users have already given up. Common refrains are "privacy is dead" and "I've got nothing to hide". But revolution is in the air. The internet and the web are decentralized by design. Protocols like DNS, SMTP and HTTP assume a network of peers, but during the last 15 years—our adolescence with these technologies—we have unintentionally centralized much of the internet's infrastructure. This hasn't been for nefarious purposes; it's been done out of convenience. Having a GMail account is simply much easier than running your own mail server; storing everything in the cloud is easier than maintaining your own backups. As an unintended consequence, we've made surveillance much easier and made invasive ad-based business models the norm. A growing number of technologists are working to re-decentralize the net in surprising and profound ways. Free software and innovative peer-to-peer networks play an important role in this effort, but what may prove to be the most important tool is a new one: cryptocurrency. With bitcoin, we now have a natively digital money; a cash for the web; a currency that is as decentralized and flexible as the rest of the internet was designed to be. At a glance, bitcoin may look like just another payment option, a fad, or a speculative bubble. On closer inspection, one begins to see that it can enable new business models by facilitating previously impossible economic incentives between peers. Once one grasps the fundamentals of cryptocurrency, one sees that its long-term implications and possibilities are as broad and deep as the internet itself. And just like the internet, bitcoin is not a panacea. It is rife with its own problems and faces its own existential threats. In this talk, Chris Beams will share his findings from over two years of research into bitcoin and related technologies: the promise and the peril; how bitcoin may be able to create the first sustainable business models for the development of free software; how privacy may rise from the dead yet; and why the revolution will not be centralized.

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

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