Questions tagged [atmosphere]

The Asynchronous WebSocket/Comet Framework

Introduction

The Atmosphere Framework is a Java/Javascript framework which allows the creation of portable asynchronous applications using Groovy, Scala and Java. The Atmosphere Framework ships with a JavaScript component supporting all modern browsers and several server components supporting all major Java-based WebServers. The aim of the framework is to allow a developer to write an application and let the framework discover the best communication channel between the client and the server, transparently.

For example, a developer can write an application that will use the WebSocket protocol when used with a browser or server that supports the protocol, and transparently fall back to HTTP in case the WebSocket protocol isn’t supported. For example, an Atmosphere application will work fine with Internet Explorer 6, 7, 8, and 9 using HTTP, and will use the WebSocket protocol when used with Internet Explorer 10.


Useful links

Wasync libraries can be used to extend the functionality of Atmosphere framework.

E.g. To use Atmosphere in Android native application

536 questions
0
votes
1 answer

Not being able to inject services into AtmosphereHandler

I am running Grails 2.2.1. I have a Grails service, which acts as an atmosphere handler.. Refer this link: https://bitbucket.org/bgoetzmann/grails-atmosphere-plugin/wiki/Home I am trying to use spring security service inside this, in your simple…
Arturo
  • 1,039
  • 1
  • 10
  • 21
0
votes
1 answer

What is the porpose of org.atmosphere.spring.SpringInjector

As the name says this class should inject some beans from spring context to some place. But how it works? I can't find any examples with it. Basically I need to inject some model services from spring context into Atmosphere-Jersey resource classes.…
user1278890
  • 643
  • 8
  • 22
0
votes
1 answer

Atmosphere - how to push data from struts 2 action

my question is how to push data from server in atmosphere without using javaScript I followed the chat tutorial it was so understandable, now I want to push data from an action in struts 2 (and not from javascript) i know that I must call …
wannas
  • 388
  • 3
  • 11
0
votes
0 answers

How to integrate Atmosphere with Spring and Jersey?

Currently I have a Jersey-Spring application with the following configuration. JAX-RS Tools Generated - Do not modify JAX-RS Servlet
user1278890
  • 643
  • 8
  • 22
0
votes
1 answer

Should org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.pathInfo be null?

When a socket connection is established via the url /path/to/socket should org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.pathInfo be null? It seems like it should always contain information about the path. I'm using…
Ben
  • 60,438
  • 111
  • 314
  • 488
0
votes
1 answer

Atmosphere - simple case scenario - fallback transport does not work

I would like to create prototpe using Atmosphere (1.0.12), but my current impelementation does not work with fallback transport. Simple case scenario: 1. Client connects to server - server pushes current(full) state to that client 2. Server pushes…
Hubert
  • 1,125
  • 5
  • 17
  • 36
0
votes
1 answer

android websocket connection timeout with wAsync (atmosphere)

I previously wrote a Java SE client based on wAsync. It works rock-solid with version 1.0.RC1 connected to Atmosphere 1.1.RC1. I followed this example from Jeanfrancois to accomplish this task Everything works, JSON encoding, subscribing,…
feder
  • 1,775
  • 5
  • 25
  • 36
0
votes
1 answer

Java Atmosphere @MeteorService compile via cmd?

I am trying to understand Atmosphere API. Trying to compile a given example with CMD. given at - https://github.com/Atmosphere/atmosphere/wiki/Getting-Started-with-Meteor,-WebSocket-and-Long-Polling When i run the command - javac -cp .;C:\lib\*…
0
votes
1 answer

Atmosphere - Nginx as https->http forwarder - websocket not working

I am using Nginx to transform https to http from client to server. I have an atmosphere configuration working well in websocket without this forwarding. Now if I switch to https with Nginx in the middle var request = { url:…
unludo
  • 4,912
  • 7
  • 47
  • 71
0
votes
0 answers

Grails atmosphere plugin not working with Tomcat

After including atmosphere plugin to my grails application (only added following to BuildConfig.groovy) compile ":atmosphere:0.4.2.3" Application start normaly when running it with command grails run-app But application is not starting if I…
Aram Arabyan
  • 2,339
  • 1
  • 17
  • 30
0
votes
1 answer

How to invoke a conventional REST-RPC call with the Atmosphere framework?

How do I send POST/PUT/DELETE calls to a rest source using Atmosphere 1.1.0+ in a conventional RPC manner? (You are guessing right, I want to employ pub/sub and RPC style in my project) serverside: register a @Path (e.g. /member), mark with…
feder
  • 1,775
  • 5
  • 25
  • 36
0
votes
1 answer

Grails and Atmosphere: Rendering templates in a service using Atmosphere push

I'm using Atmosphere 1.0.12 to push data from a server to my clients in a Grails 2.2.1 application. The application is an auction Web site, and I'm pushing updates such as prices, bidder information, and status messages. The goal is to change…
0
votes
0 answers

spring, wicket: atmosphere Eventbus nullpointerexception when testing

I am using following code: private WicketTester tester; @Autowired private ApplicationContext applicationContext; @Autowired private LDBApplication ldbApplication; @Before public void setUp() { tester = new WicketTester(ldbApplication); …
0
votes
1 answer

debugging a jetty application

I'm using the atmosphere framework (https://github.com/Atmosphere/atmosphere) which runs on a jetty server and brings websockets to any browser. The problem that I'm having is that for some strange reason messages broadcasted to all connected…
Thomas
  • 1,678
  • 4
  • 24
  • 47
0
votes
1 answer

How to mimic Facebook's "Like" feature in WebSocket

I developed a proof of concept application that uses WebSocket to mimic the functionality of Facebook. If on Facebook someone "likes" a picture, I see the notification on my page right away without me refreshing the page. Is this being done by…
birdy
  • 9,286
  • 24
  • 107
  • 171