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
6
votes
3 answers

Atmosphere broadcasts don't reach client when running in Tomcat

Substantial update below (October 15, 2014) ========== Original posting =================== I have a notification service webapp using Atmosphere and Jersey. I am trying to run it in Tomcat on Linux, and have run into a problem. (Note that this…
jwismar
  • 12,164
  • 3
  • 32
  • 44
6
votes
1 answer

Scala - how to go resolve "Value is not a member of Nothing" error

This example code is based on Atmosphere classes, but if someone could give me some insights into what the error means in general, I think I can figure out any Atmosphere-specific solution... val bc =…
mjk
  • 659
  • 1
  • 9
  • 20
6
votes
1 answer

What are the most useful Smart Packages for Meteor.js

I'm starting to learn Meteor and found that knowing of several smart packages can greatly speed up development. What are some of the most useful Smart Packages that you wish you knew when you first started? Like router, accounts-base, accounts-ui…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
6
votes
1 answer

`mrt add` throws unknown error when installing Atmosphere packages with Vagrant on Windows

Using Vagrant ssh on Windows 7, mrt add scss (as an example) displays the following in the console: vagrant@vagrant:/vagrant/MyMeteorApp$ mrt add scss scss tag: https://github.com/fourseven/meteor-scss.git#v0.5.1.1 fs.js:730 return…
Fallexe
  • 596
  • 2
  • 11
6
votes
1 answer

Atmosphere: Multiple subscriptions over single HttpConnection

I'm using Atmosphere in my Spring MVC app to facilitate push, using a streaming transport. Throughout the lifecycle of my app, the client will subscribe and unsubscribe for many different topics. Atmosphere seems to use a single http connection…
Marty Pitt
  • 28,822
  • 36
  • 122
  • 195
5
votes
2 answers

Missing dependencies with Atmosphere and Jersey

I am trying Atmosphere together with Jersey to be able to broadcast messages to users. However on request to the Jersey endpoint, the following appears in the log and results in ServletException. SEVERE: The following errors and warnings have been…
Kristoffer
  • 1,633
  • 3
  • 19
  • 25
5
votes
2 answers

Use Atmosphere or Cometd

What are the differences between these two Java comet libraries? Is there a reason to pick one over the other?
Jimmy
  • 1,433
  • 2
  • 14
  • 19
5
votes
2 answers

Configure secured websockets using Apache httpd 2.4.6 and Tomcat 8

I'm trying to configure websockets using httpd proxy and reverse proxy but it doesn't seem to work. If I use directly the tomcat server everything is fine, if I call it through apache httpd, the response status is 200. This means apache httpd cannot…
spauny
  • 4,976
  • 9
  • 44
  • 61
5
votes
2 answers

Atmosphere framework, BroadcasterFactory.getDefault() alternative

I am using Atmosphere framework and it looks in the newest version(s) of the library the method: BroadcasterFactory.getDefault() is depricated. (and this method was essentially used everywhere and I cannot find an example how to use the new "way"…
jNayden
  • 1,592
  • 2
  • 17
  • 29
5
votes
0 answers

AngularJS+Atmosphere Websockets: Is it possible to retrieve attributes in AtmosphereResource from a HttpServlet?

I'm new to Atmosphere framework & websockets. I'm developing a single page app, As a first step I want to implement a basic authentication using AngularJs(Client side) and Atmosphere websockets(server side). For authentication, in the beginning, I…
Siva Kumar
  • 715
  • 1
  • 7
  • 21
5
votes
1 answer

Atmosphere framework Spring mvc integration

I am trying to integrate Atmosphere framework with Spring MVC the samples war files given here http://async-io.org/download.html don't contain the .java files in the src folder. I also went through the other integration examples…
underdog
  • 4,447
  • 9
  • 44
  • 89
5
votes
0 answers

Implementing HeartBeat in Atmosphere Framework (Android)

1)How can we Implement Heart Beat in Android. I already Implemented Atmosphere framework. Currently what happening is webscoket connection got dismissed which we are not able to Identify
Lijo Joy
  • 261
  • 2
  • 8
5
votes
3 answers

Broadcast to only one client with Atmosphere

How do I broadcast messages from only one client to another with Atmosphere (Meteor)?I have currently this implementation based on meteor tutorial @Override public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException { …
Petr Mensik
  • 26,874
  • 17
  • 90
  • 115
5
votes
3 answers

play framework atmosphere

There is a list of usable frameworks in the creators blog of Atmosphere. I want to use scala and the Play Framework included with Atmosphere. In the blog he writes that Atmosphere works with "every" framework. Could it be that easy to integrate…
Ghashange
  • 1,027
  • 1
  • 10
  • 20
4
votes
0 answers

Some cookies are misusing the recommended “sameSite“ attribute

I'm building a react application that uses atmosphere library to listen to a SpringBoot websocket, when the client tries to connect to the server, it throws an error in the console saying Some cookies are misusing the recommended “sameSite“…
Arar
  • 1,926
  • 5
  • 29
  • 47
1
2
3
35 36