Introducing Spring Social Slideshare

Engineering | Josh Long | February 03, 2015 | ...

This post is a guest post by community member Tadaya Tsuyukubo (@ttddyy), creator of the Spring Social Slideshare project. Thanks Tadaya! I'd like to see more of these guest posts, so - as usual - don't hesitate to ping me! -Josh


Spring Social Slideshare is one of the community modules in Spring Social ecosystem. It is a Java binding built on top of the Spring Social framework to interact with the SlideShare REST API.

Spring Social modules provide an implementation of the ApiBinding interface that binds Java interfaces and concrete implementation classes to a REST API. By convention, an interface is named as target service, e.g. GitHub, LinkedIn, Facebook, etc. The implementation class is of the form *Template, e.g.: GitHubTemplate, LinkedInTemplate, and FacebookTemplate. In Spring Social Slideshare, there is a Slideshare interface and SlideshareTemplate implementation class. You can use spring to inject the SlideshareTemplate to your service. Or, if you choose to, you can directly instantiate

This Week in Spring - February 3rd, 2015

Engineering | Josh Long | February 03, 2015 | ...

Welcome to another installment of This Week in Spring! We've got a lot to cover, so without further ado, let's get to it!

  1. Spring XD co-lead Dr. Mark Pollack's just announced that Spring XD 1.1 RC1 is now available! Now's the time to get the bits, try it out and see if there any gaps!
  2. If you've been reading the amazing Dr. Syer's blogs of late, you'll know that he's been introducing people to how to use expose and secure REST services for a UI client. The fourth post looks at how to insert an API gateway between the clients and the backend service. The fifth post then introduces OAuth as a drop-in replacement for the bespoke authentication session tokens being used. If you're not following this series, do go back and reread them. This series treats a subject that I get asked…

Spring Roo 1.3.1.RELEASE now available

Engineering | Pieter Humphrey | February 02, 2015 | ...

On behalf of the Spring Roo Team at Disid Corp, we are pleased to announce the 1.3.1.RELEASE is out!

Spring Roo 1.3.1.RC2 was closed without new reported issues.

Spring Roo jar files have been published to Maven Central.

It is recommended that all Spring Roo users upgrade to this version. For full details on the changes made in the release, please refer to the Spring Roo 1.3.1.RC1 Release Notes and Spring Roo 1.3.1.RC2 Release Notes in JIRA.

Thanks to all awesome users who came up with useful bug reports and suggestions, currently we are working on defining final points of Spring Roo 2.0 Roadmap and it will be published as soon as possible.

For more specific information about Spring Roo project please see the Project Page or GitHub. As always, you'll also find Roo on Twitter - either follow @SpringRoo or just include #SpringRoo in your tweets. Stay tuned to Spring Roo news!

Why 12 Factor Application Patterns, Microservices and CloudFoundry Matter

Engineering | Tim Spann | January 30, 2015 | ...

It seems like a lifetime ago, but a few short years ago I was leading a $100 million government project for a large system integrator that involved 50+ developers, 20+ testers, 15+ managers, 5+ ops and a cast of characters. Once a week we had to do our deploy.

Despite using Scrum, Cruise Control, SVN, Java, Eclipse, Guava, Google Guice, UML, JUnit, PMD, Findbugs, Checkstyle, MDD, TDD, eclEmma and mostly modern tools; our deploy process was a fragile, long, manual, person intensive process. Each Friday night we started. A long email thread began the process with a text check list that we…

Spring XD 1.1 RC1 released

Engineering | Mark Pollack | January 29, 2015 | ...

On behalf of the Spring XD team, I am very pleased to announce that the Spring XD 1.1 Release Candidate is now available for download.

The 1.1 RC1 release includes several new features as well as bug fixes.

One theme in the 1.1 release is around Stream processing. The 1.1 M2 version introduced support for Reactor’s Stream API in processing modules. The 1.1 RC1 release adds support for stream processing using RxJava’s Observable API and Spark Streaming alongside the existing Spark job support. By providing a range of options, you can pick the functional programming model that best suits the…

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

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…

Microservice Registration and Discovery with Spring Cloud and Netflix's Eureka

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

The microservice style of architecture is not so much about building individual services so much as it is making the interactions between services reliable and failure-tolerant. While the focus on these interactions is new, the need for that focus is not. We've long known that services don't operate in a vacuum. Even before cloud economics, we knew that - in a practical world - clients should be designed to be immune to service outages. The cloud makes it easy to think of capacity as ephemeral, fluid. The burden is on the client to manage this intrinsic complexity.

In this post, we'll look at how Spring Cloud helps you manage that complexity with a service registry like Eureka and Consul and client-side…

The Resource Server: Angular JS and Spring Security Part III

Engineering | Dave Syer | January 20, 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 start by breaking out the "greeting" resource that we are using as the dynamic content in our application into a separate server, first as an unprotected resource, and then protected by an opaque token. This is the third 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, which is in two parts: one where the

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