GitHub Address
Https://github.com/FaceGhost/Simple-Mult-SSM
Based on SIMPLE-SSM
Https://github.com/FaceGhost/Simple-SSM
Development version
Database configuration file Location
Https://github.com/FaceGhost/Simple-Mult-SSM/blob/master/simple-mult-server/src/main/resources/app.properties
QuickStart Creating a Table
CREATE TABLE ' Example ' ( ' id ' int (one) not null auto_increment, ' user_name ' varchar () DEFAULT NULL, ' addr ' V Archar (+) default null, ' sex ' tinyint (4) default NULL, PRIMARY KEY (' id ')) engine=innodb auto_increment=3363 DEFAULT Charset=utf8;
Initializing table Data
Insert INTO ' example ' values (' 3357 ', ' Zhang San ', ' Shanghai Xuhui ', ' 1 '); INSERT INTO ' example ' values (' 3358 ', ' John Doe ', ' Chaoyang District of Beijing ', ' 1 '); inse RT into ' example ' values (' 3359 ', ' Harry ', ' Shanghai Jinshan City Beach ', ' 2 '); INSERT into ' example ' values (' 3360 ', ' hemp slip ', ' Tian Shan lu No. 789 ', Changning District, Shanghai, ' 1 ') Insert INTO ' example ' values (' 3361 ', ' Towards seven ', ' No. 4500 south of Shanghai Jiading ', ' 1 '); INSERT INTO ' example ' values (' 3362 ', ' Huang Ba ', ' Shanghai Pudong New Area Road 798 Lane 1-7 ', ' 1 ');
Start
Eclipse Import
SIMPLE-MULT-SSM Project Right-click->debug as-Maven install
Simple-mult-server Project Right->debug as--Maven build ... Goals Input: Tomcat7:run
Simple-mult-client Project Right->debug as--Maven build ... Goals Input: Tomcat7:run
Browser access
Http://localhost:5000/simple-mult-ssm-client/example
Long press attention Hell Net
SIMPLE-MULT-SSM Javaweb front-end separation of SSM base framework based on SIMPLE-SSM extended Hessian annotations