CHAPTER 14
Web Applications
So far, you’ve seen a lot of aspects of working with data, and it’s time to look at one way1 to use Hibernate to access data over the Web, which is (obviously) a very common access method. (If it’s not obvious, trust me: it’s obvious.)
What you’ll see is a simple way to present management of authors and books over the Web so that a front end can easily be written with a JavaScript framework such as AngularJS,2 with services provided through REST.3 As an architectural choice, it makes the service layer very easy to write; as luck would have it, if we used any other architectural design (such as JSF, or Struts 2, or ...
Get Hibernate Recipes: A Problem-Solution Approach, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.