InfoQ

News

DWR 2.0 Release Candidate 1 now available

Posted by Rob Thornton on Dec 07, 2006 04:00 PM

Community
Java
Topics
Rich Internet Apps
Tags
DWR

DWR 2.0 RC1 was released today by Joe Walker, featuring a JavaScript Proxy API, Reverse Ajax, and Security enhancements. DWR, billed as "Easy Ajax for Java", is a library that allows for quick development of Ajax applications by exposing methods on Java objects to the client.

DWR (Direct Web Remoting) 2.0 includes three major enhancements:

  • JavaScript Proxy API - DWR can dynamically generate JavaScript from a Java API. This is done at runtime rather than compile time.
  • Reverse Ajax - DWR supports 3 ways to asynchronously transfer messages from the server to the browser: Comet, Polling, and Piggyback. DWR will automatically select the best method for transport.
  • Security - DWR provides automatic protection against Cross-Site Request Forgery attacks for many configurations and defaults to a mode where Cross-Site Scripting attacks are reduced.

Numerous other enhancements are detailed in the full release notes. Additional details about the three types of Reverse Ajax are also available.

InfoQ found that DWR was the second most popular Ajax framework in the Java community, based on an Ajaxian survey.

2 comments

Reply

Being the most popular by Joe Walker Posted Dec 8, 2006 10:07 AM
Re: Being the most popular by Alex Popescu Posted Dec 12, 2006 6:31 PM
  1. Back to top

    Being the most popular

    Dec 8, 2006 10:07 AM by Joe Walker

    InfoQ found that DWR was the second most popular Ajax framework in the Java community, based on an Ajaxian survey.
    If you narrow the field down to Java projects then DWR is the most popular by a long way. And hey, if InfoQ uses it then it must be good!

  2. Back to top

    Re: Being the most popular

    Dec 12, 2006 6:31 PM by Alex Popescu

    If you narrow the field down to Java projects then DWR is the most popular by a long way. And hey, if InfoQ uses it then it must be good!
    Yeah... I would say so ;-). ./alex -- :Architect of InfoQ.com: .w( the_mindstorm )p. Co-founder of InfoQ.com

Exclusive Content

Measuring Agile in the Enterprise: 5 Success Factors for Large-Scale Agile Adoption

Michael Mah analyzes the development process in 5 companies: 2 Agile (one of them BMC) and 3 classic. He presents the factors which contributed to the success of BMC's Agile adoption.

Tom Preston-Werner on Powerset, GitHub, Ruby and Erlang

In this interview filmed at RubyFringe 2008, Tom Preston-Werner talks about how both Powerset and GitHub use Ruby and Erlang, as well as tools like Fuzed, god, and more.

David Laribee on Alt.NET and its Mission

David Laribee discusses the purpose of ALT.NET, its mission and future.

Discover RailsKits and Stop Writing Redundant Code

Ruby on Rails has become a popular Ruby framework for creating web applications in recent years. An aspect of creating a web application is the need to repeatedly create the same base functionality.

A Formal Performance Tuning Methodology: Wait-Based Tuning

Steven Haines talks about tackling web application performance tuning by proposing a method called wait-based tuning.

Shaw and Fowler About Forging a New Alliance

Shaw and Fowler talk about the need for a new relationship between the business department and the IT department. Studies have shown that projects mostly fail due to miscommunication between the two.

How to GET a Cup of Coffee

In this article, Jim Webber, Savas Parastatidis and Ian Robinson show how to drive an application's flow through the use of hypermedia in a RESTful application.

Archaeopteryx: A Ruby MIDI Generator

Eccentric artist turned overnight anti-celebrity, Giles Bowkett captures the heart and soul of RubyFringe as he demonstrates his revolutionary Archaeopteryx MIDI drum pattern generator.