Adding websocket API to a Serverlet/jsp based application

Z

zigzagdna

Team:
I am familiar with Servlet/jsp's and developed a web application using them.. Now I am looking in Websocket of Java 7. Documentation is not clear how to integrate the two.

Let us say in my listener, I have already determined database connections, log file for log4j etc.. Can I use it in Websocket Java classes based on annotation API of web socket. What is not clear to me how I will access Context parameters for webapp saved in Listener.
Any pointers will be greatly appreciated.


Prem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top