More web sockets and real time data using an https channel

I like science in general, and space technologies, so it was clear that my first step is to use the latest know how, https://aironman2k.wordpress.com/2014/05/05/about-web-sockets-and-how-to-use-it-in-order-to-get-real-time-data/ in order to know where the International Space Station is.

The idea is simple, i need to feed a rabbitmq server with stomp support with the json provided by an application server which is running a web service and then the client needs to subscribe to a specific topic in order to print the data. The code is quite simple, so feel free to download it and share.

If you are asking that this project is too similar with the latest one, well, yes, it is similar, the difference is this web service is behind a secure socket layer, so we need to do import the cert file into our j2ee application server.

Please read mkyong for the details, it is very important because you can avoid Man in the middle attacks or at least minimize the possible problem.

http://www.mkyong.com/webservices/jax-ws/suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/

The code is located in https://github.com/alonsoir/whereisISS

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s