Skip to content

Code for the talk at GOTOCon Prague & Amsterdam about writing simple web apps - Plain Simple Java, and another one at Topconf - 3 tales of testing DB-enabled apps

License

Notifications You must be signed in to change notification settings

Cheetozz/simple-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a skeleton project for a Java webapp, done right.

It includes:
- Ant & Ivy for dependency management
- Jersey for handling of http requests in a RESTful way
- Spring for dependency injection in the code
- H2 database (Windows users may need to edit jetty-web.xml)
- Liquibase for DB migration
- Hibernate for working with the DB
- JUnit & Mockito for unit testing

After cloning, run src/Launcher.java to start. Everything is preconfigured.

Small amount of code it contains implements a simple database of good Photo Spots,
which uses google maps to browse and edit them.

Or you can follow how this all have been created by pulling various branches
into your own branch in this order:
- ivy
- launcher
- map
- web.xml
- logging
- jersey
- map-with-spots
- add-spot
- spring
- db
- hibernate
- tests
- db-testing

See related talks from GOTOCon and Devclub here:
http://www.slideshare.net/antonkeks/simplicity-8971441

And another one about DB testing from Topconf:
http://prezi.com/kq0ghszq6e-j/3-tales-of-testing-db-enabled-apps/

About

Code for the talk at GOTOCon Prague & Amsterdam about writing simple web apps - Plain Simple Java, and another one at Topconf - 3 tales of testing DB-enabled apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published