This is the short description of my situation...
- I have spring bean BookingServiceImpl which implements BookingService
- BookingService has method: RoomDescription getRoomDescriptionById(String roomId);
- I also have JSP page with javascript on it
I want to do something like this in javascript
var roomDescription = bookingService.getRoomDescriptionById(222);
/// ... use roomDescription
The question is: is there any existent framework which does things like that (magically allows to cal spring beans from javascript without additional boiler-plate code, assuming all parameters and method results are JSON-friendly)?