Small web application with Spring 2.5, using its newest annotation and component scanning capability.
How to build from scratch
- `Download *.tar.bz2 file`
- Extract
- cd into extracted folder
- Execute ant build-winstone
How to deploy:
- Download `*.war` file
- Deploy in your favorite application server
How to run without application server
- Download `*.jar` file
- Execute java -jar
<filename>.jar in command line
This application needs MySQL database to run properly, with the following configuration:
- database host : localhost
- database name : belajar
- database user : belajar
- database pass : java
And table T_PERSON with the following field:
- id INT PRIMARY KEY AUTO_INCREMENT
- name VARCHAR(255)
- email VARCHAR(255)