We'll implement a simple JSP application to investigate the way the web application integrates with the the framework services. The examples will cover some of the bookshelf service operations. Let's say:
category
name as parameter. author
as search criterion and displays a list of results. This page will link to itself displaying the search bar on top of the results.We'll also need a few pages dealing with authentication and session management.
Those pages will embed commonly used JSP chunks. For example, the initialization code or the code that checks if the session is valid, as well as the common menu at the top of most pages. The result display code is also broken down to chunks that can be included into pages.
The JSP application we'll implement is simple. It doesn't make use of many of JSP's cool extensions; it focuses on the OSGi bits. It's up to you to turn it into the JSP app of your dreams.