If you missed the live webinar of the Spring Framework 3.2 GA release, check out the replay, which also has a brief discussion Spring Framework 4.0.
Costin Leau has announced that Spring for Apache Hadoop 1.0 RC2 is now available! The new release includes dedicated namespace support for Cascading, enhanced compatibility with Cloudera CDH3 and 4,
enhanced integration with Spring Batch and Hadoop, safer job cancellation and improved documentation.
Roy Clarkson has announced that Spring Mobile 1.1.0.M2 has been released with many new features including a Spring MVC ViewResolver that resolves the view based on Device and SitePreference, and then forwards to the correct, delegate ViewResolver.
Join Scott Andrews as he discusses the role of Javascript in an exciting webinar on January 24, 2013: Architecture of a Modern Web App.
Join Brian Cavalier and John Hann as they discuss Inversion of Control (IoC) and Javascript in a Webinar on January 31, 2013: IOC + Javascript.
Martin Lippert, Andy Clement, and Andrew Eisenberg's presentation from
SpringOne2GX 2012, Tooling for the JavaScript era, is now available online from InfoQ.
We are happy to announce the release of Spring Mobile 1.1.0.M2!
Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications.
This release adds LiteDeviceDelegatingViewResolver, a ViewResolver implementation that adjusts the view name based on Device and SitePreference. It then delegates to another ViewResolver to complete the process of resolving the view. This release is built and tested against Spring Framework 3.2. See the changelog and reference manual for more information. Many thanks to the community for their support with regard to this new feature, including Scott Rossillo for his initial pull request and Neale Upstone for his input and feedback.
Welcome to another installment of This Week in Spring! Can you believe we're already halfway through January? We've got a lot to cover, so let's press on! In particular, there's a lot of great video content to keep you occupied for hours this week. Enjoy!
Join Scott Andrews as he discusses the role of Javascript in an exciting webinar on January 24, 2013: Architecture of a Modern Web App.
Join Brian Cavalier and John Hann as they discuss Inversion of Control (IoC) and Javascript in a Webinar on January 31, 2013: IOC + Javascript.
Last year in April, I spoke at the Great Indian Developer Summit in
Bangalore, India. The show was amazing and - I've just been made aware - some of the videos
are starting to trickle online. One talk I gave was Spring and Cloud Foundry: a Marriage Made in Heaven, which you can watch online. Unfortunately, they don't seem to also have the slides!
You can get the slides from my SlideShare.net profile page. There are multiple permutations of this deck. Enjoy!
We released two new SpringOne2GX session replays, Automated Provisioning of Spring Apps to EC2 & VMware vCloud, and Addressing the Big Data Challenge with a Graph: Spring Data Neo4j.
Did you miss Jan Machacek's fantastic talk, Akka Eye for the Spring Guy or Gal, from SpringOne2GX 2012? This video is also available on InfoQ!
Brian's Java blog has a fairly exhaustive introduction to building a
SOAP-based web service using Spring Web Services. Definitely worth a read if you need to build
contract-first, document-literal SOAP webservices!
The fpqqchao blog has a nice post on using Spring's RoutingDataSource. The post is in Chinese, however, so have your Google Translate (or equivalent) plugin's handy!
Scott Andrews' epic talk from SpringOne2GX 2012 - Architecture of a Modern Web App - is now available online on InfoQ. Don't miss this month webinar (above) for an updated talk.
Automated Provisioning of Spring Apps to EC2 & VMware vCloud
This session will focus on deploying and managing your Spring Application in the cloud using VMware vFabric Application Director. A series of Spring applications, increasing in complexity, will be deployed. The deployments will cover generating property files and activating Spring profiles. Some other highlights of the presentation will be deploying to VMWare vCloud & EC2, updating an existing deployment, and some general tips & tricks.
The session will begin by using a simple contact application to be deployed as a standalone webapp with an in memory DB on single node, then it will continue with a more advanced example using PostgreSQL DB on a separate node, and finally demonstrate the use and configuration of an external DB & an Apache proxy. The session will conclude with the deployment and discussion of Nanotrader, a sample trading application, with complex requirements.
About Brian Dussault
Brian Dussault is a Staff Engineer with the vFabric division of VMware and has 14+ years of experience in software engineering. Throughout his tenure, he has worked in both IT (High Tech Manufacturing, Financial Industries) and R&D positions. His experience spans multiple disciplines including web applications, integration, SOA, open source, and system design.
David Winterfeldt works at VMware on the VMware vFabric Application Director project. It enables developers and organizations to deploy applications to the cloud by having a logical abstraction for software services and application topologies. This allows an application to be easily deployed multiple times to different environments.
David has been doing software development for over 20 years. He's been using Java since 1998 and involved in using Open Source almost as long. David has focused on Web and Enterprise development for most of his career, and started working with the Spring Framework in 2006.
David runs the website Spring by Example, which is a site for sharing Spring examples. The site is a general resource for Spring and should ultimately save developers time. He's is also an Apache committer on Struts and Commons Validator, as well as the creator of Commons Validator (although currently no longer active on either).
Graphs are everywhere. From websites adding social capabilities to Telcos providing personalized customer services, to innovative bioinformatics research, organizations are adopting graph databases as the best way to model and query connected data. If you can whiteboard, you can model your domain in a graph database.
In this session Emil Eifrem provides a close look at the graph model and offers best use cases for effective, cost-efficient data storage and accessibility.
Take Aways: Understand the model of a graph database and how it compares to document and relational databases Understand why graph databases are best suited for the storage, mapping and querying of connected data
Emil's presentation will be followed by a Hands-on Guide to Spring Data Neo4j. Spring Data Neo4j provides straightforward object persistence into the Neo4j graph database. Conceived by Rod Johnson and Neo Technology CEO Emil Eifrem, it is the founding project of the Spring Data effort. The library leverages a tight integration with the Spring Framework and the Spring Data infrastructure. Besides the easy to use object graph mapping it offers the powerful graph manipulation and query capabilities of Neo4j with a convenient API.
The talk introduces the different aspects of Spring Data Neo4j and shows applications in several example domains.
During the session we walk through the creation of a engaging sample application that starts with the setup and annotating the domain objects. We see the usage of Neo4jTemplate and the powerful repository abstraction. After deploying the application to a cloud PaaS we execute some interesting query use-cases on the collected data.
About Emil Eifrem
Emil Eifrem is CEO of Neo Technology and co-founder of the Neo4j project. Before founding Neo, he was the CTO of Windh AB, where he headed the development of highly complex information architectures for Enterprise Content Management Systems. Committed to sustainable open source, he guides Neo along a balanced path between free availability and commercial reliability. Emil is a frequent conference speaker and author on NOSQL databases.
Welcome back to another installment of This Week in Spring. As usual, we've got a lot to look at, so, without further ado...
GigaOM has a nice roundup of some of the exciting and important tools in the big-data ecosystem right now.
There are many different tools serving different segments of the use cases,
and of course Spring Data is mentioned in there, too!
Robin Varghese has put together a straight-forward blog on sending email with
dynamic
templates driven by Velocity. This seems to be a common use case, and it's always good to find
more up-to-date resources. Many people will no doubt have found Matt Raible's
post from 9 years ago on the same subject,
which is also very illustrative but, alas, a little outdated. Nice to see this more updated approach to an old classic!
If you are a Java developer looking to increase your Spring knowledge, vFabric Education by SpringSource is the place to start. We are providing several Spring trainings across the globe closely connected to your needs as a professional developer.
This month SpringSource offers a 15% discount code on all VMware trainings (partners not included). Please use the following referral code during the website registration process: springcustomerpromo. The complete Spring training schedule for May, 2013 can be found below:
I almost typed 2012 when I composed this post! It's already 2013!
I hope your holidays were wonderful.
Welcome back to another installment of This Week in Spring!
It's time to begin another exciting new year (and to remember to use the correct new year in text!). With that, let's have a look at
the new and exciting content from all around the community.
Are you using Spring Security to handle login and logout in your application? Sometimes it's necessary to tailor the behavior of how login and logout are accomplished. Perhaps you need to tear down some state or do logging. In any event, this post demonstrates the configuration and base contract of a logout handler.
Desam Venu Madhava Reddy has a very simple post identifying some of the main reasons why people use Spring.
There are many reasons people come to Spring, and these are some of the very high level ones.
The Cafe Techno has a nice post on the complete setup of a SimpleFormController in Spring MVC. The example uses Spring MVC and explicitly wires up the machinery for working with Spring MVC. You don't need to do much of this in Spring 2.5 (introduced in 2007) and later, instead relying on the defaults and conventions. That said, if you want to override the framework, then understanding some of these things are wired together can be very helpful.
This blog is in Chinese, and has a simple example of how to setup a Spring MVC 3.2 example. NB: I'd recommend using the Java-centric configuration for this, as this is needlessly XML-centric. In a Spring 3.1+ and Servlet 3 environment, there's no need for XML (for Spring MVC or web.xml).
I had some time over the holiday and decided to quickly scratch one item off of my 2012 new years resolutions (I got it done before new years, and besides, better late than never!): I migrated my photos away from my Flickr account to another service which was cheaper and more invested in. To do this, I used the community-supported Spring Social Flickr project. The project is, decidedly, not yet finished, but works well enough. I forked it and added a Spring Batch downloader which reliably downloads all the photos into albums named for the ID of the https://github.com/joshlong/spring-social-flickr
Welcome back to another installment of This Week in Spring!
Can you believe we're already further along through December than not? Time sure flies, and yes, we are staring down the end of the year already - but the holiday season usually brings a SpringFramework release right around this time of year, so we're feeling festive! We've even gots tons of extra SpringSource buttons to celebrate.
First and foremost, Spring 3.2 has gone GA!
Just read the post. Waay too much awesome in one release, and - if you've been following this series over the year than you know I've been looking forward to it. Come back and read the rest when you've upgraded your application and played with some of the awesome new stuff! I'll wait...
You know what the best part is? Usually, after a new Spring release, the release train of other Spring projects is quick to adopt - so expect lots of releases in the new year!
We could just stop right there, you know? BUT, there's more! In this blog post, Rob Winch
has answered some of the very common questions we tend to get regarding how Spring Security
integrates in a Servlet 3 environment, and the results are amazing!
Definitely worth a read. This stuff, following the new Spring MVC 3.2 servlet 3 support, is sure to make Servlet 3 environments like Apache Tomcat 7 an attractive offering for anyone doing serious enterprise work: no pain upgrades, lightweight and you get all these cool new runtime capabilities with Spring 3.2 and Spring Security.
Not to be outdone, Alan Stewart announced Spring Roo 1.2.3, which includes support for Spring 3.2 and a slew of fixes and updates in this, the third maintenance release of 1.2.
Are you using Spring with Google App Engine? Lots of people are! Spring's the only way to do serious enterprise Java development on Google App Engine, after all, without giving up a lot of functionality. Nonetheless, Google App Engine has some unique constraints that offer Spring developers some... challenges. This blog post shows how to
address some of these issues on Google App Engine. On every other cloud, including Cloud Foundry, these "optimizations" are not required or even reasonable, so feel free to ignore them if you're not on Google App Engine.
Guys, HTML 5 was just completed.
From the release: "Though not yet W3C standards, these specifications are now feature complete, meaning businesses and developers have a stable target for implementation and planning."
What's this mean for you guys in practice? Not much - HTML5 as we know it has been fairly stable for some time, but if you were looking for a reason to take the plunge, that should be it. And, SpringSource is ushering in the new era of
HTML5 and JavaScript development with lots of interesting stuff
aimed at civilizing this new frontier and increasing productivity.
For a peak at some of the new bits, check out the upcoming webinars
IOC + JavaScript and
Architecture of a Modern Web App.
The steady stream of amazing content from SpringOne2GX DC continues, this time with
videos introducing WebSockets and how to Secure REST with OAuth 2. Be sure to grab a cup of coffee, sit down and enjoy these two 90 minute videos. Web Sockets is becoming an increasingly important part of the web landscape for messaging, and OAuth is already one of the most entrenched
protocols on the web, providing the foundation for modern day, secured web services with REST, so both of these videos are not-to-be-missed.
There is a lot of great Spring Social news this week! First, Craig Walls announced Spring Social Yammer 1.0.0 on behalf of Morten Andersen-Gott. Nicely done Morten! Yammer is a popular enterprise-y microblogging service, among many other wonderful things, and this integration will sure to be very useful for lots of enterprises. I've used Yammer before and it worked really well.
The first milestone release toward Spring Security 3.2 is now available from the SpringSource repository at http://repo.springsource.org. See here for a quick tutorial on resolving these artifacts via Maven.
The highlights of this release include:
Concurency Support
Servlet 3, Async Support
Spring MVC Async Integration
Servlet 3 API Integration
New Servlet API Sample Application
Stay tuned to the SpringSource Blog over the coming week for information on what's new in 3.2.0.M1.