The API Gateway Pattern: Angular JS and Spring Security Part IV

Engineering | Dave Syer | January 28, 2015 | ...

Note: the source code and test for this blog continue to evolve, but the changes to the text are not being maintained here. Please see the tutorial version for the most up to date content.

In this article we continue our discussion of how to use Spring Security with Angular JS in a "single page application". Here we show how to build an API Gateway to control the authentication and access to the backend resources using Spring Cloud. This is the fourth in a series of articles, and you can catch up on the basic building blocks of the application or build it from scratch by reading the first article, or you can just go straight to the source code in Github. In the last article we built a simple distributed application that used Spring Session to authenticate the backend resources. In this one we make the UI server into a reverse proxy to the backend resource server, fixing the issues with the last…

This Week in Spring - January 27th, 2015

Engineering | Josh Long | January 28, 2015 | ...

Welcome to another installment of This Week in Spring! As usual, we've got a lot to cover so let's get to it!

  1. Join Andy Wilkinson as he discusses REST API documentation, swagger, and more in a webinar on Tuesday, Feb 3rd - Documenting RESTful APIs
  2. Sabby Anandan is joining us for the Spring XD 1.1 launch webinar on Tuesday, Feb 17th - Spring XD: A Platform for data at scale and developer productivity
  3. Don't miss Rob Winch as he takes a fresh look at HTTPSession for the cloud. His webinar is on Tuesday, Feb 24th, 2015 Webinar: Introducing Spring Session
  4. I put together a look at 12-factor app-style backing service consumption in Spring, and using Cloud Foundry
  5. Check out this talk introducing system administration

Spring Data Evans SR 2 and Dijkstra SR 5 released

Releases | Oliver Drotbohm | January 28, 2015 | ...

On behalf of the Spring Data team I'd like to announce the availability of the second service release for Spring Data release train Evans as well as the fifth - and final one - of Spring Data Dijkstra.

The releases ship 191 tickets fixed, some of them quite significant bugfix and performance improvements and thus the releases recommended upgrades within the trains. The Dijkstra service release is planned to be the last one for that train. Users are recommended to upgrade to Evans as bug fixes will only be ported to that branch going forward.

Find all resolved tickets for Evans SR 2 here, all tickets for Dijkstra SR5 here. Up next is the first release candidate of the Fowler release train that already contains a few very interesting features

12-Factor App-Style Backing Services with Spring and Cloud Foundry

Engineering | Josh Long | January 27, 2015 | ...

The 12 Factor App Manifesto talks about backing services at length. A backing service is, basically, any networked attached service that your application consumes to do its job. This might be a MongoDB instance, PostgreSQL database, a binary store like Amazon's S3, metrics-gathering services like New Relic, a RabbitMQ or ActiveMQ message queue, a Memcached or Redis-based cache, an FTP service, an email service or indeed anything else. The distinction is not so much what the service is so much as how it's exposed and consumed in an application. To the app, both are attached resources, accessed…

SpringOne2GX 2014 Replay: Hadoop 201 -- Deeper into the Elephant

News | Pieter Humphrey | January 26, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Roman Shaposhnik

Big Data Track

Slides: http://www.slideshare.net/SpringCentral/hadoop-201-deeper-into-the-elephant

This session expands on the previous year's "Hadoop: Just the Basics for Big Data Rookies", diving deeper into the details of key Apache Hadoop projects. We will start with a brief recap of HDFS and MapReduce, then discuss more advanced features of HDFS, in addition to how YARN has enabled businesses to massively scale their systems beyond what was previously possible. We will then discuss Apache HBase, the non-relational database modeled after Google's BIg table, review the data model, architecture, and common use cases. By the end of this session, you will learn how these three core Hadoop projects are used to solve even the most challenging Big Data problems.

 

SpringOne2GX 2014 Replay: Booting up Spring Social

News | Pieter Humphrey | January 26, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Craig Walls

Slides: http://www.slideshare.net/SpringCentral/booting-up-spring-social

Applied Spring Track

In recent years, people are using social networks like Facebook and Twitter to connect, meet, and share experiences and ideas. But it's not just people making connections; modern applications are also leveraging the APIs provided by the social networks to connect with their users and customers. It's hard to find applications these days that aren't somehow connected to their users via social APIs. Spring Social is an extension to the Spring Framework that enables you to create applications that connect with APIs. With it, your application can offer social login, learn about its users' interests, and inject itself into their social graph. In this session, we'll take a look at the latest that Spring Social has to offer, including integration with Spring Security, automatic reconnect, and a dramatically simpler configuration model using Spring Boot.

 

SpringOne2GX 2014 Replay: Fastest Servlets in the West?

News | Pieter Humphrey | January 26, 2015 | ...

Fastest Servlets in the West?

Recorded at SpringOne2GX 2014.

Speakers: Stuart Willliams, Daniel Mikusa

Slides: http://www.slideshare.net/SpringCentral/williams-fastest-servlets-in-the-west

Applied Spring Track

The venerable Servlet Container still has some performance tricks up its sleeve - this talk will demonstrate Apache Tomcat's stability under high load, describe some do's (and some don'ts!), explain how to performance test a Servlet-based application, troubleshoot and tune the container and your application and compare the performance characteristics of the different Tomcat connectors. The presenters will share their combined experience supporting real Tomcat applications for over 20 years and show how a few small changes can make a big, big difference.

 

SpringOne2GX 2014 Replay: Groovy for System Administrators

News | Pieter Humphrey | January 26, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Dan Woods, NetFlix

More Groovy Track

Slides: http://www.slideshare.net/SpringCentral/4pieter-springone2gx2014groovysysadmins

Enterprise Operations is seeing a shift in the management paradigm of infrastructure, from the more-traditional server-centric design, to an approach that leverages the application stack as the custodian for administration.

 

SpringOne2GX 2014 Replay: Deep dive into Spring WebSockets

News | Pieter Humphrey | January 20, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Sergi Almar

Slides: http://www.slideshare.net/SpringCentral/deep-dive-intospringwebsockets-sergialmarspringone2gx2014

Web / JavaScript Track

WebSocket support has been part of Spring since 4.0. In this session we'll review the architecture behind it and we'll try to show how to build highly scalable websocket based applications. We will also cover the new features in Spring 4.1, the new Spring Security 4 support for WebSockets and the different testing approaches.

 

SpringOne2GX 2014 Replay: Applications of Enterprise Integration Patterns to Near-Real Time Radar Data Processing

News | Pieter Humphrey | January 20, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Garrett Wampole, MITRE

Data / Integration Track

Slides: http://www.slideshare.net/SpringCentral/applications-of-enterprise-integration-patterns-to-nearreal-time-radar-data-processing

Enterprise Integration Patterns, a set of software design concepts described in a book by Gregor Hohpe and Bobby Woolf and implemented in software by the Spring Integration project, are traditionally applied in the application domains such as business intelligence, supply chain management, and customer relationship management. The topic of this presentation is to describe an experimental methodology of applying Enterprise Integration Patterns to the near-real time processing of surveillance radar data and the engineering trade-offs encountered in the areas of development, deployment, operation, and analysis of ground-based surveillance radar systems with a focus on the Modular Experimental Radar program developed by MITRE for its sponsors.

 

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