Project Sagan: client-side architecture

Engineering | Brian Clozel | April 28, 2014 | ...

Now that we know a bit more about JavaScript modules, we're ready to dive into the client-side architecture of the Sagan application.

Note: If you haven't read previous blog posts on the Sagan project, you should know that this is the Spring reference application that powers this blog and everything else at spring.io. Previous posts showed out to run this application, how we do zero downtime deployments and also how we upgraded Sagan to use the latest JDK8 features.

In this post, I want to walk through the basics of the client-side architecture in the Sagan application:

  1. Why is the client application in a separate sagan-client project module?
  2. How is it linked with the sagan-site module?
  3. What are npm, bower and gulp?
  4. How do those tools work together to make the client application?

DISID to lead Spring Roo Project

News | Pieter Humphrey | April 24, 2014 | ...

DISID to lead Spring Roo Project

Disid

We are happy to announce that Pivotal and DISID will collaborate on further development of the Spring Roo project. Roo will continue in its goal of providing a code-gen style of RAD framework, focused helping developers get Java projects done on time.

Pivotal and DISID were already in collaboration around Roo for some time, so we’re excited to be formalizing what originally was an informal, developer led partnership – a partnership that DISID is committed to. The Spring Roo project will remain as an open source project under Spring, maintaining the same current licensing policy. Both Pivotal and DISID are calling on the Spring and Java communities for anyone who would like to collaborate in the project with us!

Learn more at http://www.disid.com/web/guest/spring-roo

Follow DISID on Twitter @disid_corp for more updates!

Spring Boot 1.0.2.RELEASE Available Now

Releases | Dave Syer | April 24, 2014 | ...

Spring Boot 1.0.2.RELEASE is available now in the Spring and Maven Central repositories. This is mostly a bug-fix release (nothing major, but please upgrade if you are using an older version). There are also a couple of nice new features.

My favourite additions are the new @IntegrationTest features. Here's an example:

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = SampleActuatorApplication.class)
@WebAppConfiguration
@IntegrationTest("server.port=0")
public class SampleActuatorApplicationTests {

	@Value("${local.server.port}")
	private int port…

Spring Social 1.1.0 Released

Releases | Craig Walls | April 24, 2014 | ...

Dear Spring Community,

I'm very happy to announce the general availability of Spring Social 1.1.0. Along with the release of the core Spring Social project, Spring Social Facebook 1.1.0, Spring Social Twitter 1.1.0, and Spring Social LinkedIn 1.0.0 are also now available.

These releases include several new features, including:

  • Simplified Java and XML configuration support
  • A new ReconnectFilter to automatically reestablish a connection when a token has expired or been revoked
  • Updated API bindings for Facebook, Twitter, and LinkedIn
  • A generic connection factory for APIs where there is not (yet) connection framework support
  • Tighter Spring Security integration, including SocialAuthenticationFilter for provider-based sign-in
  • Thymeleaf template support
  • Updated documentation
  • ...and much more...

Webinar: Spring Integration 4.0 - The New Frontier

News | Pieter Humphrey | April 22, 2014 | ...

Speaker: Gary Russell

The Spring Integration team has been hard at work on the latest release of the popular integration framework. Before version 4.0, it was impractical to define a complete Spring Integration flow without using XML. With this major release, the existing basic annotation support has received an overhaul and those who prefer to use java @Configuration classes can now define their applications without needing to use any XML (of course, XML is still supported as well). In this session we will cover these major changes to the framework, explaining how and when to use them. It will be mainly demonstration and code walk through, and we will build a useful Spring Boot / Integration application from scratch.

Tuesday, May 13, 2014 3:00 pm BST Time (London, UTC+1) Register

Tuesday, May 13, 2014 10:00 am Pacific Daylight Time (San Francisco, UTC-07:00) Register

Webinar: Data-Driven Applications with Spring and Neo4j

News | Pieter Humphrey | April 22, 2014 | ...

Speakers: Michael Hunger (Neo Technology) and Josh Long (Pivotal)

Spring Data Neo4j 3.0 is here and it supports Neo4j 2.0. Neo4j is a tiny graph database with a big punch. Graph databases are imminently suited to asking interesting questions, and doing analysis. Want to load the Facebook friend graph? Build a recommendation engine? Neo4j's just the ticket. Join Spring Data Neo4j lead Michael Hunger (@mesirii) and Spring Developer Advocate Josh Long (@starbuxman) for a look at how to build smart, graph-driven applications with Spring Data Neo4j and Spring Boot.

Tuesday, May 20, 2014 3:00 pm BST Time (London, UTC+1) Register

Tuesday, May 20, 2014 10:00 am Pacific Daylight Time (San Francisco, UTC-07:00) Register

This Week in Spring - April 22nd, 2014

Engineering | Josh Long | April 22, 2014 | ...

Welcome to another installment of This Week in Spring! This week I'm in Bangalore, India, for the Great Indian Developer Summit talking to developers about (wait for it..) Spring! I also met with a large system integrator here in Bangalore's Electronic City and addressed a large team of architects and engineers using Spring on projects worldwide. India's an interesting place because so much of their business comes from companies abroad who are trying to get extra help on otherwise overwhelming projects. Naturally, anything that helps get more done, quicker, is of interest here and Spring's a favorite. Needless to say, Spring Boot resonated a lot! It's not all work, though, when the local food is as good as it is here! :)

Lots of webinars and replays this week - we've got a lot to cover, so let's get to it!

SpringOne2GX 2013 Replay: Your Data, Your Search, Elasticsearch

News | Pieter Humphrey | April 22, 2014 | ...

Recorded at SpringOne2GX 2013 in Santa Clara, CA

Speaker: Costin Leau, Elasticsearch

Finding relevant information fast has always been a challenge, even more so in today's growing "oceans" of data. This talk explores the area of real-time full text search, using Elasticsearch, an open-source, distributed search engine built on top of Apache Lucene. The session will showcase how to perform real-time searches on structured and non-structured data alike, how to cope with types and suggestions, do social graph filters and aggregations for efficient analytics. All from a Spring perspective Last but not least, the presentation focuses on the Hadoop platform and how Map/Reduce, Hive, Pig or Cascading jobs can leverage a search engine to significantly speed up execution and enhance their capabilities. The presentation covers architectural topics such as index scalability, data locality and partitioning, using off and on-premise storages (HDFS, S3, local file-systems) and multi-tenancy.

Learn more about Spring Data and Elasticsearch at: http://projects.spring.io/spring-data

!{iframe width="560" height="315" src="//www.youtube.com/embed/G56aE1kiOZw" frameborder="0" allowfullscreen}{/iframe}

SpringOne2GX 2013 Replay: Application Security Pitfalls

News | Pieter Humphrey | April 22, 2014 | ...

Recorded at SpringOne2GX 2013 in Santa Clara, CA

Speaker: Mike Wiesner

Creating a secure application involves more then just applying Spring Security to it. This is of course not a new topic, but with the increased popularity of much more dynamic configurations for Servlet Containers and various Spring Projects, like Spring MVC and Spring Integration, it becomes more important to know about the Security tradeoffs we might get with that, and how to tackle them.

Learn more about Spring Security at http://projects.spring.io/spring-security

Learn more about Spring MVC at http://projects.spring.io/spring-framework

Learn more about Spring Integration at http://projects.spring.io/spring-integration

!{iframe width="560" height="315" src="//www.youtube.com/embed/Id-7C3WOKWw" frameborder="0" allowfullscreen}{/iframe}

Spring Security OAuth 2.0.0.RC1 Available

Releases | Dave Syer | April 18, 2014 | ...

Spring Security OAuth 2.0.0.RC1 is available now from the Spring Repo. This is a huge step in the direction of modernisation and ease of use for OAuth server and client apps on Spring.

The headline feature is support for @Configuration(for OAuth2 only) and if you use Spring Boot to write your app you can serve tokens and protect the API resources in about 25 lines of code:

@Configuration
@EnableAutoConfiguration
@EnableResourceServer
@RestController
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args…

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