AppFuseAjaxWithDWR |
|
Your trail: |
Difference between
version 5
and
version 2:
At line 35 changed 1 line. |
That's actually it. On the next deployment you should find this information in you generated __''web.xml''__ and the DWR servlet will be ready to respond to DWR calls. We still need a configuration file to configure what managers DWR will take care about so |
That's actually it. On the next deployment you should find this information in your generated __''web.xml''__ and the DWR servlet will be ready to respond to DWR calls. We still need a configuration file to configure what managers DWR will take care about so |
At line 246 changed 1 line. |
Next we will create a Manager that will be exposed to DWR. It hink it's good practice not to expose any managers you wrote to DWR but write special ones for that task. It still is a usual Manager just like the PersonManager from the tutorial. Insert a new package __org.appfuse.service.dwr__ and create an interface for the DWR manager called ''PersonDetailManager''. |
Next we will create a Manager that will be exposed to DWR. I think it's good practice not to expose any managers you wrote to DWR but write special ones for that task. It still is a usual Manager just like the PersonManager from the tutorial. Insert a new package __org.appfuse.service.dwr__ and create an interface for the DWR manager called ''PersonDetailManager''. |
At line 506 changed 1 line. |
//# It inserts the job information intothe jobTable. This is done using DWRUtil.addRows. |
//# It inserts the job information into the jobTable. This is done using DWRUtil.addRows. |
At line 541 changed 1 line. |
//# It simply returnes the job's description. |
//# It simply returns the job's description. |
At line 553 changed 1 line. |
Well that's it. Of course the same result could have been created without DWR but there are a lot of cases where AJAX will improve the look and feel and the usage of your AppFuse webapps very much as it's simply unbeatable fast. |
Well that's it. Of course the same result could have been created without DWR but there are many cases where AJAX will improve the look and feel and the usage of your AppFuse webapps very much as it's simply unbeatable fast. |
Back to AppFuseAjaxWithDWR,
or to the Page History.
|