SIMPLE-MULT-SSM Javaweb front-end separation of SSM base framework based on SIMPLE-SSM extended Hessian annotations

Source: Internet
Author: User

GitHub Address

Https://github.com/FaceGhost/Simple-Mult-SSM

Based on SIMPLE-SSM

Https://github.com/FaceGhost/Simple-SSM

Development version
    • jdk1.7

    • Spring 4.2.4

    • MyBatis 3.2.8

    • Hessian 4.0.38

    • Development tools: Eclipse

    • Database: MySQL

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.