CodeCamp Iasi 10 march 2012 - websockets-with-atmosphere
Upcoming SlideShare
Loading in...5
×
 

CodeCamp Iasi 10 march 2012 - websockets-with-atmosphere

on

  • 1,055 views

 

Statistics

Views

Total Views
1,055
Views on SlideShare
1,055
Embed Views
0

Actions

Likes
0
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

CodeCamp Iasi 10 march 2012 - websockets-with-atmosphere CodeCamp Iasi 10 march 2012 - websockets-with-atmosphere Presentation Transcript

  • Friday, March 9, 12
  • WebSockets with Atmosphere Dan Vulpe @dvulpe 10 mar 2012Friday, March 9, 12
  • HTTP - Half Duplex Request Client ServerFriday, March 9, 12
  • HTTP - Half Duplex Request 30-150ms Response Request Connection 2 Response Client ServerFriday, March 9, 12
  • HTTP - Half Duplex Request 30-150ms Response HttpSession Request Connection 2 Response Client ServerFriday, March 9, 12
  • WebSocket Full Duplex Single TCP connection Client ServerFriday, March 9, 12
  • WebSocket Full Duplex Handshake Request WebSocket upgrade Single TCP connection Client ServerFriday, March 9, 12
  • Atmosphere • Java Framework provides uniform Comet API • Supports: WebLogic, Tomcat, Jetty, Glassfish, JBoss, Grizzly, Servlet 3.0 Async • Fallback to blocking-IO (one thread per channel) • jQuery plugin • WebSocket façadeFriday, March 9, 12
  • Components MeteorServlet Http Request AtmosphereResource BroadcasterFriday, March 9, 12
  • Server: Incoming • Implement SubProtocol • handle onMessage eventsFriday, March 9, 12
  • Server: Outgoing • Request a Broadcaster from Factory • Subscribe resources to Broadcaster • Publish messages through BroadcasterFriday, March 9, 12
  • JS Client APIFriday, March 9, 12
  • DEMOFriday, March 9, 12
  • Java Support • Server side • JSR356 - Java API for WebSocket - In Progress • Containers: Jetty(7, 8), Grizzly/Glassfish, Resin • Client • async-http-clientFriday, March 9, 12
  • Resources • https://github.com/Atmosphere/atmosphere • http://www.websocket.org/ • http://www.w3.org/TR/websockets/ • http://wiki.eclipse.org/Jetty/Feature/WebSocketsFriday, March 9, 12
  • Thank you! Please fill out the evaluation form!Friday, March 9, 12