Top

PrimeFaces Push Unleashed

PrimeFaces Push Unleashed

Prime Technology, proud sponsor of PrimeFaces, is glad to announce the new Push Framework for PrimeFaces named PrimePush, powered by the great Atmosphere Framework.

We have actually offered two push solutions for JSF in the past, one is an early adoption on atmosphere 2 years ago and other one is the websocket only approach available in PrimeFaces 3.x. Both solutions never reached a mature state and adopted by PrimeFaces Community so we have decided to get back to Atmosphere once again but this time with a major change;

Atmosphere Framework is the de-facto standard of Push Frameworks for Java EE featuring scalability, support for several containers and browsers, utilization of various transports such as websockets, sse, long-polling, streaming and jsonp. It has been widely adopted by many other frameworks and used currently in production including Wall Street Journal (wsj.com) and SmartMoney.com.

Atmosphere is created by Jeanfrancois Arcand, (author of Grizzly and async http client), a top notch developer and one of the few experts in the world regarding real time web applications. We have invited Jeanfrancois as a consultant for a week in Istanbul to help us out, luckily he accepted and travelled all the way from Quebec to Turkey. During the week, except enjoying nice Turkish Cuisine, sightseeing in Istanbul, presenting Atmosphere at a Turkish JUG group event, playing basketball and countless joyful non work related discussions, Jeanfrancois created the architecture and  provided the implementation of PrimePush. He is now a PrimeFaces Committer and we’ll continue working together for future enhancements. It is a great pleasure to work with him.

Demos

We have created various new demos to show the PrimeFaces Push and Atmosphere in action;

  • Counter: Shared counter among clients.
  • Chat: Chat sample with dynamic channels and private messaging.
  • Check-in: Real-Time location based push notifications integrated with Maps.
  • ViewParam: Push messages via GET and JSF View param feature.
  • FacesMessage: Sending FacesMessages to subcribers and using Growl for display.
  • TwitterSearch: Realtime twitter search featuring scheduled broadcaster.
  • PhotoShare: Taking a photo with PhotoCam component and send it to every other subscriber.

PrimeFaces Push will be available in upcoming 3.4 release which is due early August.

We would like to take this opportunity to thank Jeanfrancois, he arrived as a consultant and after a week, left as a friend!

Share
19 Comments
  • Ronald van Kuijk
    18 July 2012 at 14:55

    Compliments. Works great on my ipad and samsung mobile devices…

  • Jan Eerdekens
    18 July 2012 at 15:06

    Will this also work correctly when used with Primefaces based portlets in Liferay portal?

    • Ronald van Kuijk
      19 July 2012 at 21:46

      Why don’t you give it a try?

  • httpeter
    18 July 2012 at 15:41

    The awesomeness is yours!

  • John Yeary
    18 July 2012 at 16:01

    This is great work. I look forward to playing with the new toys. The demos look cool.

  • Robert
    18 July 2012 at 22:37

    “upcoming 3.4 release which is due early August”

    Omg three weeks until Prime 3.4, too long… I can’t wait!

  • Urb
    19 July 2012 at 00:22

    Great Job.

    Its really funny seeing all those comments in the FacesMessage showcase

    Keep on guys

    Your are doing a really good job

  • FireLord70
    19 July 2012 at 00:43

    Cool, and can’t fait for Primefaces 3.4!
    Are you planning to use jQM-DateBox for next PrimFaces Mobile?
    It would be a veri big improvement IMHO!

  • Dhrubo
    19 July 2012 at 07:12

    Checked the demos. Helps me a lot. Kudos. Incredible Primefaces as always

  • Howard
    19 July 2012 at 07:30

    +1000!!! I like this… a lot!!!

  • Daniel T. Oddershede
    19 July 2012 at 10:51

    Amazing – have been looking forward for the new push for a very long time 🙂
    Gonna write some code soon using the push! 🙂

  • B@RoL
    19 July 2012 at 11:39

    🙂 you’re great. I have been looking forward this upgrating for a long time. But you came back with an earthquake. +10000 thanks.

  • Daniel
    19 July 2012 at 15:00

    Where can I find more information about push? Can it work with jms?

    • Howard
      19 July 2012 at 20:13

      In latest user guide (3.3), chapter/section 6 = PrimeFaces Push. You can start there, but that may be outdated. I think user guide 3.4 will show how to use the new version of PrimeFaces Push.

      • Daniel Yang
        20 July 2012 at 04:57

        Hi, Howard
        Thanks for your reply.
        I have read it, I mean more about p:socket (new push) not old p:push.

        Still not integrate with jms?

  • Thomas
    20 July 2012 at 14:08

    Great Job.
    how to run PrimePush with Glassfish 3.1.2?

  • Kartik
    23 July 2012 at 04:43

    Great work…