Spring Framework 3.0 M2 released

Engineering | Juergen Hoeller | February 25, 2009 | ...

We are pleased to announce that the second Spring 3.0 milestone is finally available (download page). This release comes with a wealth of revisions and new features:

Further Java 5 style API updates: consistent use of generic Collections and Maps, consistent use of generified FactoryBeans, and also consistent resolution of bridge methods in the Spring AOP API. Generified ApplicationListeners automatically receive specific event types only. All callback interfaces such as TransactionCallback and HibernateCallback declare a generic result value now. Overall, the Spring core codebase is now…

Next Amsterdam Java Meetup - March 13th

Engineering | Alef Arendsen | February 23, 2009 | ...

Due to the extensive travel schedule of yours truly, we haven't had a meet up since last September. It's been almost half a year, so it's about time for another one.

But, before we move on, I'd like to make point out a new Google Group that we have set up, to keep you posted about this. I received a lot of requests to set up a mailing list over the past few years, so from now on, the main place to keep an eye on, for new Java Meetup dates, is the Java Meetup Google Group. Sign up there to get the dates delivered right to your inbox.

Okay, on to the details for the next meetup:

  • When: March 13th 2009
  • Where: De Jaren - Nieuwe Doelenstraat, Amsterdam (map, below)
  • Time: starting 5.30pm
  • What: drinks and chats, about... well, everything

From Central…

Programming Language Popularity

Engineering | Shaun Connolly | February 23, 2009 | ...

My 13 year old son has been programming in Lua, TI Basic and Assembler, ActionScript, JavaScript, and he's into C++/Dark GDK these days. While I've mostly focused on Java for the past few years, I've programmed in a wide range of statically typed and dynamically typed languages.

Since my son is just starting his programming journey, I naturally wondered:

What are the most popular programming languages these days?

I used tiobe.com and langpop.com to answer this question. Both sites provide programming language popularity statistics and rankings, and I was happy to see that Java, C, and C++ rank…

Spring Integration in 10 minutes

Engineering | Mark Fisher | February 13, 2009 | ...

The Spring Integration 1.0 GA release was announced 2 months ago at SpringOne Americas, and ever since I've been meaning to write a new, up-to-date "getting started" blog post. Well, the beginning of the year is always a busy time, so my goal is to provide a hands-on example with 10 steps. Each step should take roughly one minute... unless you stop to think ;). So, without further ado, here we go!

Step 1: Download the Spring Integration distribution

You can grab the latest version (1.0.1 at the time I'm writing this) here: http://www.springsource.com/download/community?project=Spring%20Integration

Once the download completes, unzip the file…

Spring LDAP 1.3.0.RELEASE

Releases | Mattias Arthursson | February 04, 2009 | ...

Dear Spring Community,

We are delighted to announce the availability of Spring LDAP 1.3.0.RELEASE. This is a major release, containing more than 50 fixes compared to the 1.2.1 version; modifications varying in importance from internal modifications and minor fixes to important bug fixes and and significant functionality additions.

Most importantly we now provide a means to perform simple LDAP authentication directly in LdapTemplate. Other useful improvements include TLS connection support, referral handling improvements, as well as a couple of important fixes working around problems in the underlying Java JNDI API. As always, refer to the Change Log for a complete list of the changes included in this version.

Download | API Docs | Reference Docs

About the Spring LDAP Project
For more information on the Spring LDAP project, refer to the project home. Comments and support requests should be posted to the Spring LDAP support forum. Bugs and feature requests should be reported to the Jira issue tracker.

Enjoy!
Mattias Arthursson & Ulrik Sandberg,
Spring LDAP Project Team

Spring Expert Day Munich March 10th

Engineering | Eberhard Wolff | February 04, 2009 | ...

On March 10th we will do the first Spring Expert Day in Germany!

Subjects and Speakers include:

  • Spring 3.0 - Jürgen Höller (VP & Distinguished Engineer, Spring Framework Project Lead)
  • SpringSource dm Server - Next Generation Application Server (Eberhard Wolff, Principal Consultant, Regional Director)
  • Web Applications and more with Spring (Agim Emruli, Senior Consultant)
  • Spring Security Advanced (Mike Wiesner, Senior Consultant)
  • Development tools for Spring and OSGi (Christian Dupuis, Principal Software Engineer, Spring IDE & SpringSource Tool Suite Lead)
  • Management of Spring Applications with SpringSource AMS (Agim Emruli, Senior Consultant)
  • Question and Answer
All talks will be in German.

The event costs 90€ and includes lunch.

For registration and more details go to http://springmuenchen.eventbrite.com/

Exposing the boot classpath in OSGi

Engineering | Costin Leau | January 19, 2009 | ...

A fairly common question that I get from time to time is how to go about using JDK specific classes inside an OSGi environment. To some degree, this is equivalent to getting access to the bootstrapping classpath from OSGi, without bundling it. To express package dependencies, bundles use the OSGi directive inside their manifests - mainly Export-Package and Import-Package for providing and demanding, a respectively, a class package dependency. Defining a bundle wiring is a crucial step for creating a modular application; however there are cases, as the issue above, where the needed package is…

Spring Security customization (Part 2 - Adjusting secured session in real time)

Engineering | Oleg Zhurakousky | January 03, 2009 | ...

Imagine you are in the secured session (you are logged on and are authorized to access a particular resource), but your security infrastructure team has updated your rights and privileges. Perhaps you were given more rights and privileges or perhaps your rights were completely revoked. . . The problem is that your secured session is registered in session registry and until you log-off/log-on the Principal which represents you in this secured session will not be recreated. And what if the situation is even more dramatic (after all we are talking security here). . . You are a disgruntled employe…

Spring Security customization (Part 1 - Customizing UserDetails or extending GrantedAuthority)

Engineering | Oleg Zhurakousky | January 02, 2009 | ...

This is the first part of what I hope will become a multipart series of small posts showing practical examples around Spring Security customization. The requirements for these customizations are not imaginary and all came from the field. . .

Assume you have the following requirement. You have a list of roles where each role contains  list of business functions applicable to this role (see below):

ROLE_ADMIN     BF_QUOTE_CREATE     BF_POLICY_CREATE     BF_POLICY_DELETE

ROLE_AGENT     BF_QUOTE_CREATE     BF_POLICY_CREATE

ROLE_USER     BF_QUOTE_CREATE

The trick is to be able to make authorization…

Deploying GWT Applications in SpringSource dm Server - Part 3

Engineering | Ben Corrie | December 19, 2008 | ...

Introduction

This is the final blog in a series of three describing a step-by-step approach to building and deploying GWT applications in the SpringSource dm Server™. The first blog looked at the process of creating a simple WAR file from a sample GWT application and the second blog turned the GWT dependencies into an OSGi bundle which can be shared across multiple applications. This final blog will further modularize our GWT sample into OSGi services using Spring Dynamic Modules. This should clearly demonstrate the benefits of OSGi modularity: The ability to remove and replace services at runtime, seamlessly managing multiple versions of bundles and how straightforward it is to deploy and manage using dm Server.

This is the only blog in the series to actually use the Spring Framework. Spring is used to configure the Spring Dynamic Modules and publish and consume the OSGi services. It also demonstrates one mechanism of bridging the world of Spring-managed beans with GWT remoting. However, I'm well aware that Spring/GWT integration is a significant topic in itself, so I'm purposefully keeping to the one simple solution here.

Please see Part 1 for the background to the GWT StockWatcher sample and the software I'm using.

Also note that you can skip all these tedious instructions and zoom on down to the…

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime 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