} When developing modern HTML applications, you often write a lot of HTML fragments programmatically. You concatenate HTML tags and dynamic data, and insert the resulting UI markup into the DOM. Here is a random code example of this approach: The proliferation of this kind of code throughout your application comes with some downsides. The [...]
Archive | Tutorial
Building Apps with jQuery and JAX-RS – Sample App
In my previous post, I discussed the process of building RESTful services in Java using JAX-RS and Jersey. As an example, I shared a web application that provides a simple RESTful API for an Employee directory application: /rest/employees — Returns all employees /rest/employees/1 — Returns an employee identified by id (employee 1 in this case) [...]