Create a JPA library that gets data from a database that stores country name and total population data. Then, create a Web application that invokes this library. The Web application provides a page for entering the population ranking, and a page for output of the country name and total population corresponding to the entered rank.
Use the database created in "8.2 Introduction" of "Database Operation" and the Web application created in "2.2 Introduction" of "Developing Web Applications".