|
|
此文章由 Keith 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 Keith 所有!转贴必须注明作者、出处和本声明,并保持内容完整
本帖最后由 Keith 于 2016-7-18 21:22 编辑
• The task is to create a simple Spring MVC application.
• You will seed it with some data and build a simple screen or two to display that data with a few actions.
• I want to be able to clone the repo from github and then type mvn jetty:run from the command line and have it run out of the box. (Please don't use the Jetty Eclipse Plugin rather use the org.mortbay.jetty plugin)
• Seed it on startup with books and people.
• Provide some instructions: On where you repo is, startup instructions and whatever else you might think is relevant to look at.
Core Features:
• I would to see a list of people in the database.
• I would like to see a list of books in the database.
• For each person I would like to click a button where you perform an ajax query to the database to extract the books they have lent and then display the book details inline.
Tech required:
• Maven as the build tool.
• Spring MVC. You can use any version from 4 upwards. (However I am happy with Spring Boot but ensure that Bootstrap and JQuery are used)
• Use in memory database like H2. Or choose whatever one you are comfortable with. I am not fussed whether you use Hibernate or standard JPA to access the database.
• We use freemarker as our view technology but choose whatever view technology you are comfortable with.
• Use bootstrap as our CSS framework. The goal is not a beautiful app but rather something functional and default Bootstrap widgets are all good to use.
• Use Jquery.
• A couple of unit tests would also help
Data Model:
* A person just needs a name, phone number, email address.
* Books just need a title, author and ISBN.
* If you add more that is fine. |
|