File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes How to Call DWR in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "How to Call DWR in servlet" Watch "How to Call DWR in servlet" New topic
Author

How to Call DWR in servlet

Ian Cabigon
Greenhorn

Joined: Feb 22, 2010
Posts: 25
I'd like to ask if there is way for a servlet to get DWR object instances and possibly call its method? Or the other way around. DWR POJOs getting servlet instances.

As a follow up, how can i get servlet instances now that ServletContext.getServlet("servlet") is deprecated? is there a work around to get servlet instances. I really need to know how to implement interservlet communication, specially servlets communicating with DWR POJOs..

If you have some ideas, please share.

Thanks.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
I'm completely lost. DWR is glue between JavaScript on the client and Java on the server.

What, specifically, are you trying to do?
Ian Cabigon
Greenhorn

Joined: Feb 22, 2010
Posts: 25
Thank you for considering my question.

For example I have these classes


How do I do 1 and 2? Or is there a better way of doing this logic?

 
 
subject: How to Call DWR in servlet
 
Threads others viewed
How do I achieve this solution?
Struts with AJAX
How to using DWR with Struts?
Reimplementing parts of my app with DWR
How to handle session with DWR?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com