My web app currently relies on an AJAX library called DWR to dynamically fetch data. When a user clicks on certain table items, a DWR call is made to retrieve details for that item in the form of complete HTML code as a string. Behind the scenes, a Java method processes the request and generates the HTML string. The process looks like this:
someDWRObj.someJavaMethod(someData,callBackFunction);
I understand that many would argue that this approach is not ideal. So my question is, is DWR considered outdated technology? Are there better alternatives to DWR for achieving similar functionality? Can DOJO perform the same tasks as DWR?
All of my inquiries revolve around utilizing Java in the middle tier of my application.
Thank you.