- 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.
- JBoss AS 5 Development
- Oracle SOA Suite Developer's Guide
- 突破平面Premiere Pro 2022短視頻與視頻制作
- eZ Publish 4: Enterprise Web Sites Step/by/Step
- Oracle VM Manager 2.1.2
- UG NX 9.0中文版基礎與實例教程
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- Creo 4.0從入門到精通
- 零基礎學AutoCAD 2018(全視頻教學版)
- 中望3D從入門到精通
- 用Multisim玩轉電路仿真
- Photoshop+CorelDRAW平面設計案例實戰:從入門到精通(視頻自學全彩版)
- Mastering Redis
- UML 2.0 in Action: A project/based tutorial
- 零基礎學后期:Lightroom 6-CC數碼照片處理從新手到高手