Balaji Vankadaru wrote:Database is needed if you want to persist user details. If you do not intend to persist any details then jsp and servlets serves your requirement. Using any open source ui would be a better deal to have very cleaner and better maintainable code. I would suggest jsf2.0 would be a wise option as per me.
A normal chat application would have certain features like sending a private message or smileys or blocking a person.
To meet this kind of requirement you need Listeners. Action listeners and Event Listeners can be used to serve the purpose.
Few Implementations need to be taken by us if we intend to develop web application using plan servlets and jsp like front controller, composite view, view helper, service to worker and dispatcher view.
Hussein Baghdadi wrote:You are building the chat application as an exercise or it is your job?
If it is your job, you might want to consider using Netty, Vert.x or Node.js . With Netty you can write high performance client & server endpoints. Really convenient for chat applications.
Hussein Baghdadi wrote:You want to code Peer2Peer chat application?
Hussein Baghdadi wrote:At this point, I would say stop doing anything and read Java Networking.
so you mean that i should use JEE HTTP package for coding brouser client and server? ... kindly give me answers for my above queries so that i can understand how to code.
can anyone please tell me what packages to be used for creating a web based chat server and browser client???
i am using weblogic server, so which version should i use for websockets?
as you said that very few browsers that support websockets ,what is the alternative?what was used before websockets?is using javax.servlet.http package enough?
from where can i download jee 7 specification?
if not websockets ,which specification should i use?