zoukankan      html  css  js  c++  java
  • Simple-Mult-SSM 基于Simple-SSM扩展Hessian注解的javaweb前后端分离SSM基础框架

    github地址

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

    基于Simple-SSM

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

    开发版本

    • jdk1.7

    • spring 4.2.4

    • mybatis 3.2.8

    • hessian 4.0.38

    • 开发工具:eclipse

    • 数据库:mysql

    数据库配置文件位置

    https://github.com/FaceGhost/Simple-Mult-SSM/blob/master/simple-mult-server/src/main/resources/app.properties

    QuickStart

    创建表

    CREATE TABLE `example` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `user_name` varchar(50) DEFAULT NULL,
      `addr` varchar(500) DEFAULT NULL,
      `sex` tinyint(4) DEFAULT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB AUTO_INCREMENT=3363 DEFAULT CHARSET=utf8;
    

      

    初始化表数据

    INSERT INTO `example` VALUES ('3357', '张三', '上海市徐汇区', '1');
    INSERT INTO `example` VALUES ('3358', '李四', '北京市朝阳区', '1');
    INSERT INTO `example` VALUES ('3359', '王五', '上海金山城市沙滩', '2');
    INSERT INTO `example` VALUES ('3360', '麻溜', '上海市长宁区天山路789号', '1');
    INSERT INTO `example` VALUES ('3361', '朝七', '上海市嘉定区真南路4500号', '1');
    INSERT INTO `example` VALUES ('3362', '黄八', '上海市浦东新区秀浦路798弄之1-7号', '1');
    

      

    启动

    • eclipse 导入

    • simple-mult-ssm 项目右键->Debug As -> Maven install

    • simple-mult-server 项目右键->Debug As -> Maven build ... Goals 输入: tomcat7:run

    • simple-mult-client 项目右键->Debug As -> Maven build ... Goals 输入: tomcat7:run

    浏览器访问

    http://localhost:5000/simple-mult-ssm-client/example

                  长按关注见鬼网

     

  • 相关阅读:
    Bzoj 3654 图样图森波 题解
    1.27号考试记录
    博弈论入门小结
    「考试总结」2020-11-18 爆零
    「补题」考试题泛做
    CSP2020 游记,总结与题解
    Luogu2827 「NOIP2016」 蚯蚓
    【学习笔记】四毛子算法
    「考试反思」2020-11-04 临行
    「考试反思」2020-10-31 警示
  • 原文地址:https://www.cnblogs.com/face-ghost-coder/p/9345610.html
Copyright © 2011-2022 走看看