Skip to main content
added 32 characters in body
Source Link
Himanshu Yadav
  • 13.6k
  • 48
  • 170
  • 294

I have a Spring MVC application. UI makes some asynchronous requests to back end. Backend processes the requests and sends the response. Current implementation is done with the help of queues and listeners.
I want to replace it with Web Sockets.
I understand that JDK 7 supports websockets out of the box. But how would it work with Spring MVC?
My application gets deployed on different servers like Tomcat 6.0, WebSphere Application Server etc. Would it make any difference?

Spring MVC does not support WebSocket so what is the work aorund?

I have a Spring MVC application. UI makes some asynchronous requests to back end. Backend processes the requests and sends the response. Current implementation is done with the help of queues and listeners.
I want to replace it with Web Sockets.
I understand that JDK 7 supports websockets out of the box. But how would it work with Spring MVC?
My application gets deployed on different servers like Tomcat 6.0, WebSphere Application Server etc. Would it make any difference?

I have a Spring MVC application. UI makes some asynchronous requests to back end. Backend processes the requests and sends the response. Current implementation is done with the help of queues and listeners.
I want to replace it with Web Sockets.
I understand that JDK 7 supports websockets out of the box.
My application gets deployed on different servers like Tomcat 6.0, WebSphere Application Server etc. Would it make any difference?

Spring MVC does not support WebSocket so what is the work aorund?

Source Link
Himanshu Yadav
  • 13.6k
  • 48
  • 170
  • 294

Implementing WebSocket in Java

I have a Spring MVC application. UI makes some asynchronous requests to back end. Backend processes the requests and sends the response. Current implementation is done with the help of queues and listeners.
I want to replace it with Web Sockets.
I understand that JDK 7 supports websockets out of the box. But how would it work with Spring MVC?
My application gets deployed on different servers like Tomcat 6.0, WebSphere Application Server etc. Would it make any difference?