calling java method using json object
hi all,
i have a jsp page with some setting values and i have a javascript page for all the element events. In this js page i have added all the jquery method calls and form submit statements.
initially i was using dwr to call java methods and get the values in the drop down box and textfields in the jsp.
the jsp page is working fine, but somehow, i am required to replace these calls with some other javascript calls.
i searched on google for possible alternatives and found out about json object, I have also know that we can create json object using jquery also.
but the real problem is how to pass java bean object to the json object. i couldn't find anything useful in this regards.
can anyone tell me a possible way to do this. the real objective of this task is to reduce the overhead from dwr requests and replace it with some direct client server interaction