Link to home
Start Free TrialLog in
Avatar of ranji_sundar
ranji_sundar

asked on

How do DWR work with Spring and Hibernate?

As advised by some of the experts, I am trying out DWR for my chat application.
I set up my chat application using Spring and hibernate in the backend, JSP and Javascrip for client. I am using DWR to ajax-style my chat application. I already set up my dwr configuration by following the steps outlined in http://javablogspace.blogspot.com/ for Spring,DWR and Hibernate.

In my client side, should i call my service classes directly. Any tips on how to set up the client ?

Please let me know.
Thanks
ASKER CERTIFIED SOLUTION
Avatar of darkapple
darkapple
Flag of Nepal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ranji_sundar
ranji_sundar

ASKER

Thanks for your response. I set the classes to be exposed....but, when I checked the localhost:8080\Myprogram\dwr, it says Classes known to dwr is empty. Can you suggest me what might have been wrong?
it might be one of the cases

i. you missed to put dwr.jar in classpath
ii. you missed to mention dwr servlet description in web.xml
iii. you forgot to mention classes in dwr.xml file.