[image]
Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register
Username:   Password:   forgot password?
Logged in as | Log-out

Spring to get upgraded with REST

Due in late summer, next version will also feature unification in programming model between Spring Web Flow and Spring MVC


The popular Spring Framework for Java development will be fitted with REST (Representational State Transfer) capabilities in an upgrade planned for later this year, the founder of the framework, Rod Johnson, said Thursday at TheServerSide Java Symposium in Las Vegas.

Also, Johnson predicted a changing middleware scene, with a decline in Java application servers. He also touted capabilities in the current release of Spring, Version 2.5, pertaining to capabilities such as annotations.

The planned 3.0 version of Spring, anticipated this August or September, "will have significant enhancements with respect to Web technologies," Johnson said. Current and previous versions of the open source framework have been downloaded about 5 million times.

"We're really seeing extensive interest and growth in REST, and it will have comprehensive support for RESTful Web services," said Johnson, who is CEO of SpringSource, a consulting firm that provides services to Spring users.

Also planned for Spring 3.0 is unification in the programming model between Spring Web Flow and Spring MVC (Model View Controller). "The benefit of that is we will have one single Web programming model from the simplest applications up to the most complex Web interactions," Johnson said.

In the middleware arena, Johnson anticipates big changes, including a downturn for Java application servers.

"I think we're basically seeing the decline of the traditional Java EE server," said Johnson. "If you look at the increased prevalence of lighter-weight solutions like [Apache] Tomcat, if you look at the fact that OSGi allows you to fundamentally structure applications and services in a different way, I think it's very clear that we're in for a period of profound change."

Johnson discussed features of version 2.5, including the greater use of annotations for configuration in the area of dependency injection and Spring MVC. Dependency injection is mechanism in which, instead of an object having to look up its environment to find services, the services are automatically supplied to it by a container environment.

"The fundamental goals of Spring 2.5 were to strengthen Spring's position as the de facto standard component model for enterprise Java," as well as build on simplicity and power and make it easier to use, Johnson said.

Spring 2.5 also leverages OSGi, in which JAR (Java Archive) files are OSGi bundles. "OSGi is the best possible modularization," said Johnson. Also, annotation-driven configuration is featured in version 2.5.

Annotations provide benefits such as reduction or elimination of external configuration but can have drawbacks such as the need to annotate classes, which is not ideal for legacy code, Johnson said.

Two choices are offered for annotation-driven dependency injection in Spring 2.5: @Autowired, a native Spring annotation syntax designed in late 2007, or the @resource model, based on Java Specification Request 250.

A conference attendee cited use of Spring.

"We use Spring for dependency injection," said Chris Porte, software engineer at WeddingChannel.com. The organization leverages the singleton approach in which an object is instantiated for the entire system, Porte said.

On Wednesday, keynote speaker Neal Ford of ThoughtWorks cited use of Domain-Specific Languages (DSL) as providing an additional level of abstraction in programming. Johnson concurred that they will grow in prominence.

"I think to some degree if you look at what Spring 2 did with introducing a kind of XML namespaces so you can define your own XML elements, it's almost a DSL," Johnson said. "I do think we will see increased use of them."

Paul Krill is editor at large at InfoWorld.

Talkback:

commentPost a Comment

[image] [image]
 

MOST COMMENTS

 
 


[image]
[image]
Do you have the power to resolve technical issues with one call? [image]
Watch this webcast to get an under-the-hood look at a remote support solution that enables the IT organization to be the engine that keeps your end users productive and your company running.

»  Click here to view this Webcast
  [image]Virtualization Solutions Guide
This comprehensive IT Strategy Guide covers Virtualization and puts you at the forefront of the discussion. You'll learn all you need to know from the cost of virtualization, how to implement it for your business, how to back it up safely and which products are best. Sponsored by Riverbed

»  Click here to download now

[image] [image]- Special Advertising Partners - [image]
[image] [image] WHITE PAPERS
  [image]
[image] [image]
Why Runtime Governance Is Critical for SOA - SOA implementations don't always work in production as designed. Learn how runtime governance addresses this issue and puts... SOA Operations Excellence - Learn how to keep an SOA up and running smoothly and meet service-level agreements (SLAs), contributing to greater architecture... Managing Exploding Data Volumes - Industry experts estimate that the amount of data stored by the average organization more than triples every two to three... Standalone SOA and Web Services Management Solutions - Forrester Research, a leading analyst firm, provides recommendations on evaluating Web service and SOA Management solutions... SGI Adaptive Data Warehouse: Building a High-End Oracle Data Warehouse - Data continue to grow while queries are becoming increasingly complex. Through participation in Oracle's Optimized Warehouse... Five Steps to Secure Outsourced Application Development - How can you ensure that code delivered to you by your offshore partner is secure? This Whitepaper will cover the risk in...

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
  [image]
[image] [image] INFOWORLD MARKETPLACE
  [image]
[image] [image]
Deliver REMOTE SUPPORT Easily. Try WebEx FREE! - DOWNLOAD WEBEX SUPPORT CENTER FREE! Deliver efficient, effective support. CRUSH SUPPORT LOG JAMS! Migrating to an IP-VPN? XO Can Make It Happen - Learn the five critical success factors with a free whitepaper from XO Enterprise Solutions. Sign up to TRY WEBEX SUPPORT CENTER FOR FREE! - Get your FULL FEATURED trial here. Share documents and applications, address support challenges. IP Networks Boost Secure Health Communications - AT&T provides secure communication to keep health care moving forward. Why a CMDB? - IT best practices (ITIL) have shown the benefits of a CMDB. Click for whitepapers.
» BUY A LINK NOW
  [image]
[image]
 

Video

 
[image] World Tech Update, April 11, 2008
This week's roundup of IT news stories includes HP's 2133 competing with the...
 
 

Podcasts

 
InfoWorld Daily InfoWorld Daily Podcast
Microsoft says it will buy data warehouse appliance...
 
 




Sponsored Technology Links

 
 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist

[image][image] [image]
[image]

 

Columnists

 
EPHRAIM SCHWARTZ's Column - Reality Check EPHRAIM SCHWARTZ, Reality Check
Unified under law
In the litigious world we live in, deploying a unified communications platform in your enterprise could cause more headaches...
 
 

Resource Center


Ads by techwords beta  [See your link here]
 


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser