- DWR Java AJAX Applications
- Sami Salkosuo
- 202字
- 2021-04-25 17:37:51
Ease of Use
The main feature of DWR is its ease of use. DWR hides a lot of details from developers. This means that we can use AJAX functionality and we don't need to know about XmlHttpRequest
for example, or how to send a Java object to a browser and so on. DWR has its own framework for performing the required marshaling/unmarshaling of Java objects to JavaScript and vice versa.
The setup for DWR consists of copying the dwr.jar
file to the WEB-INF | lib directory in the application WAR file, and installing the application in the server before starting to use it. There are no special interfaces to implement in our own Java classes and it is even possible to develop a Java object completely transparently, so that the object doesn't know any DWR-specific classes. DWR provides well-documented APIs for us to use, and we can take advantage of it when developing, for example, Reverse AJAX applications.
And finally we can leverage the existing Java skills because DWR does not force us to replace the existing code, but instead lives side by side with non-AJAX applications and allows us to gradually change the required parts of an application to AJAX functionality.
- 做合成:Photoshop構圖+透視+紋理+造型+調色技術修煉
- Excel 數據處理與分析實例教程(第2版)
- 3ds Max & Unreal Engine 4:VR三維建模技術實例教程(附VR模型)
- 新編三維CAD習題集
- Windows Phone 7 Silverlight Cookbook
- Web 2.0 Solutions with Oracle WebCenter 11g
- AI繪畫實戰:Midjourney從新手到高手
- GlassFish Administration
- Photoshop+Illustrator商業廣告設計從入門到精通(第2版)
- 中文版Photoshop CS6完全自學手冊(超值版)
- After Effects 2023實訓教程
- 寫給大家看的PPT設計書(第2版)
- Illustrator平面設計應用教程
- Maya 2015從入門到精通
- 攝影師的后期課:Lightroom后期技法篇