hello-spring-25


Simplest Web Based CRUD with Spring 2.5

Small web application with Spring 2.5, using its newest annotation and component scanning capability.

How to build from scratch 1. Download \*.tar.bz2 file 1. Extract 1. cd into extracted folder 1. Execute ant build-winstone

How to deploy: 1. Download \*.war file 1. Deploy in your favorite application server

How to run without application server 1. Download \*.jar file 1. 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)

Project Information

Labels:
spring java mvc web framework