Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying DWR Java AJAX Applications
  • Table Of Contents Toc
DWR Java AJAX Applications

DWR Java AJAX Applications

By : Sami Salkosuo
5 (2)
close
close
DWR Java AJAX Applications

DWR Java AJAX Applications

5 (2)
By: Sami Salkosuo

Overview of this book

The initial part guides the reader through the features of DWR and how it works to make the developer ready for practical implementation. The later part contains plenty of code (with explanations) and graphical interface-driven step-by-step examples, which the reader can try out while surfing through the book to learn by doing. This book is written for competent Java developers and assumes that you are a professional rather than hobbyist. You should be familiar with the concepts of programming, Web 2.0, and AJAX.
Table of Contents (12 chapters)
close
close

Configuration


DWR is configured using XML files, annotations, or Fluent Interface style. Using XML files is the most typical method for DWR configuration, and there are two files: web.xml and dwr.xml. The first one, web.xml, is a must for other configuration methods also. Annotations and fluent-style configurations may be used in place of dwr.xml. This section describes the configuration methods and how to use them.

web.xml

Configuration starts by defining the DWR servlet in the web application's web.xml configuration file. This is, of course, mandatory since DWR would not work without it. A minimum configuration does not have any init parameters, and is shown as follows:

<servlet>
<servlet-name>dwrservlet</servlet-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet- class>
</servlet>
<servlet-mapping>
<servlet-name>dwrservlet</servlet-name>
<url-pattern>/dwrservlet/*</url-pattern>
</servlet-mapping&gt...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
DWR Java AJAX Applications
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon