Thanks Ulf for ur answer.
Well in my project I want server should send a request to client when server receives any message for that clientif there is a session between them.(You can say like callback).
I had read about Message Driven Bean which performs the above functionality but I dont want to use Message Driven Bean because I am using
Tomcat web container and I was expecting Hibernate might be providing same feature like MDB but as you said that Hibernate provides feature like Entity bean I think I have to look for other option.
May you suggest any other option you know?
Thanks.