Hi there,
I'm trying to use a combination of primefaces push and native websockets, I'm unable to make a configuration making them both to work.
When push works websockets don't and visa verse.
It seems like whenever a push connection is being made the native websocket connection doesn't work anymore without sending any errors.
Do I need a special configuration to let them work both or isn't this possible at all?
I'm using glassfish 4 and atmosphere 2.1.1 and javax.websocket for my native sockets.
Thanks in advance,
Arco
Push with websockets
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
best of both worlds = atmosphere 2.1.1 (or latest version)
best of both worlds != Primefaces push 4.0.x
best of both worlds = PrimeFaces Push 2.0
search google for atmosphere wiki, and read any/all of their tutorials and wiki web pages, and learn how to use atmosphere 'only' to do what you want/need to do. ask your atmosphere questions on the atmosphere google groups mail list, too.
best of both worlds != Primefaces push 4.0.x
best of both worlds = PrimeFaces Push 2.0
search google for atmosphere wiki, and read any/all of their tutorials and wiki web pages, and learn how to use atmosphere 'only' to do what you want/need to do. ask your atmosphere questions on the atmosphere google groups mail list, too.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
Thanks for your answer !
Push 2.0 seems to be a good alternative (looks very much like javax.websockets) but I think this isn't available yet for community users, am I right?
Another thing is I need a websocket client implemented in Java SE I'm using the Tyrus stand alone client at this moment, can this be established with atmosphere ?
Push 2.0 seems to be a good alternative (looks very much like javax.websockets) but I think this isn't available yet for community users, am I right?
Another thing is I need a websocket client implemented in Java SE I'm using the Tyrus stand alone client at this moment, can this be established with atmosphere ?
Thanks in advance,
Arco
Using primefaces 5.1
Arco
Using primefaces 5.1
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
i searched google for (and found) atmosphere wiki
browse [all] pages in that wiki. atmosphere will definitely meet your requirement. PrimeFaces 5.0 (PrimeFaces Push 2.0) will be available hopefully within the next 1 to 3 months.
browse [all] pages in that wiki. atmosphere will definitely meet your requirement. PrimeFaces 5.0 (PrimeFaces Push 2.0) will be available hopefully within the next 1 to 3 months.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Information
-
Who is online
Users browsing this forum: No registered users and 54 guests