Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If you are using maven, it's best to follow the standard maven project layout. You can get maven to generate this structure for you by doing,</p> <pre><code>mvn archetype:generate </code></pre> <p>and select spring-mvc-jpa-archetype from the list of choices</p> <p>This will give you a package structure like,</p> <pre><code> ├── pom.xml └── src ├── main │   ├── java │   │   └── mygroup │   │   ├── controller │   │   │   ├── HomeController.java │   │   │   └── PersonController.java │   │   ├── dao │   │   │   └── PersonDao.java │   │   └── model │   │   └── Person.java │   ├── resources │   │   ├── db.properties │   │   ├── log4j.xml │   │   └── META-INF │   │   └── persistence.xml │   └── webapp │   ├── index.html │   ├── META-INF │   │   ├── context.xml │   │   └── MANIFEST.MF │   ├── resources │   │   └── css │   │   └── screen.css │   └── WEB-INF │   ├── spring │   │   ├── app │   │   │   ├── controllers.xml │   │   │   └── servlet-context.xml │   │   ├── db.xml │   │   └── root-context.xml │   ├── views │   │   ├── edit.jsp │   │   ├── home.jsp │   │   └── list.jsp │   └── web.xml └── test ├── java │   └── mygroup │   ├── controller │   │   ├── DataInitializer.java │   │   ├── HomeControllerTest.java │   │   └── PersonControllerTest.java │   └── dao │   └── PersonDaoTest.java └── resources ├── db.properties ├── log4j.xml ├── test-context.xml └── test-db.xml </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload