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
2 answers

Atmosphere @MeteorService annotation not working

i trying to create a basic atmosphere test from the below link. I have everything downloaded what it ask from the pom file. But for some reason the eclipse cannot recogonise "@MeteorService(path = "/*", interceptors =…
Coool Awesome
  • 145
  • 1
  • 5
  • 16
0
votes
1 answer

Invalid upgrade protocol exception while connecting to websocket on webServer with Atmosphere on Jersey on Jetty

I'm using Sonatype async-http-client java library to make a websocket call to a WebServer using Atmosphere on Jersey on Jetty. I'm getting exception java.lang.IllegalStateException: Invalid upgrade protocol, status should be 101 but was 200. The…
Giorgio
  • 13,129
  • 12
  • 48
  • 75
0
votes
3 answers

How to use the Atmosphere framework with GlassFish 3.1.2?

I just try the Atmosphere framework. I made the chat sample running in Tomcat 7.0.27 but when I want to run it with GlassFish 3.1.2 then I only get the message: "org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: …
Benny Code
  • 51,456
  • 28
  • 233
  • 198
0
votes
1 answer

Atmosphere and REST call

I'm using the Atmosphere framework to develop a notification service. I would like to know if there's a way to replace the Jersey component by the Apache CXF framework. Thank you for your help.
-1
votes
1 answer

How to create a curvilinear coordinate grid from scrach with python?

I have a NetCDF obtained from a WRF simulation with a curvilinear grid with the following attributes: points=48000 (250x192) XLONG : -46.01144 to 42.05725 degree_east XLAT : 24.87103 to 63.47381 degree_north 20km of horizontal resolution I want to…
-1
votes
2 answers

How to call global or external function into child function?

I am using below code and when i am calling onMessageRender() function, so it says "this is not a function" request = new Atmosphere.AtmosphereRequest(); // Global Function Calling below code in ngONinIt this.createSSE(); //Main function …
Ambuj Khanna
  • 1,131
  • 3
  • 12
  • 32
-1
votes
1 answer

Push is not available

I have a strange problem that I try to describe briefly. I'm developing a Vaadin application that needs to enable push mode. I'm using jetty(7.4.2.v20110526) like application server to develope. Now if I try to run my application with this…
Skizzo
  • 2,883
  • 8
  • 52
  • 99
-1
votes
1 answer

maven and Atmosphere 0.8.4

i need Atmosphere 0.8.4 in my pom.xml org.atmosphere atmosphere-runtime 0.8.4 bundle but i get Could not…
wutzebaer
  • 14,365
  • 19
  • 99
  • 170
-2
votes
1 answer

HttpServletRequest.getRemoteAddr() empty for Tomcat 8 Java 8

If I run Tomcat 7 with Java 6, the HttpServletRequest.getRemoteAddr() method returns the IP address as I would expect. If I run Tomcat 8 with Java 8, the same method returns an empty string. The X-Forwarded-For header is also null in both…
Zack
  • 21
  • 1
  • 4
-2
votes
1 answer

Custom startup in servlet

I'm creating an atmosphere servlet application, which uses the following servlet in web.xml https://atmosphere.java.net/nonav/apidocs/org/atmosphere/cpr/AtmosphereServlet.html. When this service starts up I would like to start to an Akka actor…
user2668128
  • 39,482
  • 8
  • 27
  • 34
-3
votes
1 answer

broadcasting webcam to multiple subscriber using jsf+primefaces push

What I want is broadcasting webcam with audio to multiple people on a webpage . I am familiar with jsf2.0 and primefaces5.0 , I am using primefaces utilities and glassfish 4.0 for servlet container. Where should I start ? Is there any way to make…
1 2 3
35
36