669557 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 7 Messages: 7 Messages: 7 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Atmosphere Framework 0.4 Released

Posted by: JeanFrancois Arcand on November 03, 2009 DIGG
Atmosphere allow the creation of RESTful and Ajax Push/Comet applications, and version 0.4 is ready for prime time. This release contains many new features and can be seen in action in many well-known frameworks.

Atmosphere's adoption continues with this release, starting with PrimeFaces' support for Ajax Push/Comet (event on the iPhone). You can also see Atmosphere in action within the Scala based Akka Project. Don't want to use Java? Why not using the Atmosphere Grails' plug in. Don't like Scala, Java and Groovy? Why not trying JRuby!

What's new since Atmosphere 0.3?
  • Easy integration with other Framework like Wicket and GWT
  • New Meteor API for easier integration with existing Servlet based applications
  • Support the latest Bayeux Protocol specification and implementation from the DOJO Foundation powered Cometd.org
  • The Atmosphere RESTful module can now be used with and without session support.
  • Works with EJB 3.1
  • New work-in-progress white paper (PDF)
  • The configuration file atmosphere.xml is now optional
  • Delayed and Scheduled Broadcast now supported.
  • The new Atmosphere Spade Server is an end-to-end stack that aggregate technology including the Grizzly Servlet Container, Jersey Runtime and The Atmosphere Framework and Plug In in single jar file! See how simple you can deploy on it, and it's production ready!
  • All Atmosphere modules are OSGi ready
  • You can now force Atmosphere to use Servlet 3.0 Async API or Blocking I/O API instead of Native Async API like Grizzly Comet, Tomcat AIO or Jetty Continuation
  • You can implement your own Comet support via the new CometSupport SPI
  • Many new sample like PubSub, GWT, Meteor, Embedded Atmosphere etc. now available
  • JBoss, Jetty, Tomcat, WebLogic and GlassFish native API usage optimized.
For any questions or to download Atmosphere, go to our main site and use our Nabble forum (no subscription needed) or follow us on Twitter and tweet your questions there!

Threaded replies

·  Atmosphere Framework 0.4 Released by JeanFrancois Arcand on Tue Nov 03 10:40:40 EST 2009
  ·  Re: Atmosphere Framework 0.4 Released by Cagatay Civici on Tue Nov 03 10:51:40 EST 2009
  ·  More clarity by Florin Gheorghies on Tue Nov 03 15:57:16 EST 2009
    ·  Re: More clarity by JeanFrancois Arcand on Tue Nov 03 16:59:37 EST 2009
  ·  Performance by Andre Aragao on Wed Nov 04 13:19:23 EST 2009
    ·  Re: Performance by JeanFrancois Arcand on Wed Nov 04 17:18:33 EST 2009
  ·  Meteor & session support by Lucian Szantho on Thu Nov 05 08:53:56 EST 2009
    ·  Re: Meteor & session support by JeanFrancois Arcand on Thu Nov 05 16:01:28 EST 2009
  Message #328698 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Atmosphere Framework 0.4 Released

Posted by: Cagatay Civici on November 03, 2009 in response to Message #328544
Atmosphere makes comet/push a no-brainer to implement, it's just so easy to use.

It also plays well with different java web frameworks, PrimeFaces-JSF integration is an example.

  Message #328716 Post reply Post reply Post reply Go to top Go to top Go to top

More clarity

Posted by: Florin Gheorghies on November 03, 2009 in response to Message #328544
I need more clarity in the download options.

What are the following:

* Download atmosphere-compat (???)
* Download atmosphere-jersey (REST and Annotations support) or Atmosphere Runtime (???)

  Message #328724 Post reply Post reply Post reply Go to top Go to top Go to top

Re: More clarity

Posted by: JeanFrancois Arcand on November 03, 2009 in response to Message #328716
If you plan want to write REST based application, you need atmosphere-{compat,runtime,jersey]. If not, just need atmosphere-{compat, runtime]. Thanks!

  Message #328769 Post reply Post reply Post reply Go to top Go to top Go to top

Performance

Posted by: Andre Aragao on November 04, 2009 in response to Message #328544
Any ideas on performance? How does this compare to Jetty + Cometd performance wise? Is this even an Apples to Apples comparison?

  Message #328798 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Performance

Posted by: JeanFrancois Arcand on November 04, 2009 in response to Message #328769
Didn't do any performance test but it's really the native implementation under the hood that will makes the difference, not the framework. Cometd.org runs on top of Atmosphere so I guess you can always compare Cometd.org on Jetty vs Cometd.org. on Atmosphere on Jetty...but I doubt there is a perf difference.

-- Jeanfrancois

  Message #328886 Post reply Post reply Post reply Go to top Go to top Go to top

Meteor & session support

Posted by: Lucian Szantho on November 05, 2009 in response to Message #328544
Congratulations for the Atmosphere project, I think it is a big step forward in creating comet based apps.

I have tested the Meteor api and I would like to ask you if I can change the scope of a Meteor broadcast to the current session. Right now, I have many suspended requests and a Meteor for each session and when I make a broadcast, every suspended client will get it.

Best regards,
Lucian

  Message #328893 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Meteor & session support

Posted by: JeanFrancois Arcand on November 05, 2009 in response to Message #328886
Lucian, If you want to change the Broadcaster scope to session, I recommend you manipulate the AtmosphereResource instead of the Meteor, as right now the Meteor's broadcaster scope cannot be changed in 0.4 (but 0.5-SNAPSHOT supports it, so if you update no issue). If you can't update, get the AtmosphereResource from the HttpServletRequest attibutes and just do: Broadcaster b = new Broadcaster(); b.setScope(SCOPE.REQUEST); AtmosphereResource.setBroadcaster(b); ... Let's continue nthe discussion on users@atmosphere.dev.java.net :-) Thanks!

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Developers split on open sourcing Java

Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP). While some say Oracle should become the new steward of Java and keep the JCP much as it was, others argue that it may be time to open-source this widespread language. (November 24, Article)

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map