javaWeb development framework ssmy code generation Struts2 spring3 mybatis jquery

The address of this page is http://blog.csdn.net/lpy3654321/article/details/31841573

For more details, please refer to http://blog.csdn.net/lpy3654321/article/details/31841573 to understand the

         project idea, in project development, Our developers are developing the same keywords and the same syntax most of the time. But in such cases, syntax errors often occur, and each developer's code style is different. It is difficult for other people to read. The learning cost for newcomers will also increase.
         These problems will waste a lot of time, and will also affect the developer's mood and program quality. I think the solution to these problems is <code generation tool>. Code generation can solve the above problems, Strengthen the convention. The development efficiency of ordinary CRUD can be improved by more than 50%, and the error rate is almost 0. It is a development tool for the project system.


Code generation code generation tool
Self -written development platform ssmy_m and code generation, struts2 mybatis spring maven jquery jqgrid jqueryui
If you have any questions, please leave a message, or the basic functions of the code on QQ110146324
SVN are already available. The artist has not done it, you can change it yourself if you need it. Reference it
in /ssmy_m/src/main/webapp/common/include_com.jsp. Otherwise, the code will be generated It will affect

DEMO:
SSMy homepage http://liupengyuan.xicp.cn
ssmy development framework SSMy http://liupengyuan.xicp.cn/ssmy_m/
Code generation for ssmy framework http://liupengyuan.xicp.cn/generate_m/Development

platform
svn: https://m2.svnspot.com/lpy3654321.ssmy_m/Account:guest112233Password:guest112233You can also go to http://code. svnspot.com registration code generation svn: https://m2.svnspot.com/lpy3654321.ssmy_generate_m/ account number: guest112233 password: guest112233 You can also go to http://code.svnspot.com to register through the database table to generate BEAN action servce dao xml js jsp modify the dbConfigs.xml file to configure the generated database (you can also start the modification, no need to restart) http://127.0.0.1:8080/generate_m After downloading the zip, unzip it, copy the SRC and paste it directly into the myeclipse project

















<?xml version="1.0" encoding="UTF-8"?>
<!-- The configuration file used to generate the database -->
<dbConfigs>

<dbConfig id="localMysql"><!-- 配置名称 -->
<url>jdbc:mysql://localhost:3306/ssmy</url><!-- url -->
<username>root</username><!-- </username> -->
<password>root</password><!-- password -->
<driverClass>com.mysql.jdbc.Driver</driverClass><!-- driverClass -->
</dbConfig>

<dbConfig id="localOracle">
<url>jdbc:oracle:thin:@localhost:1521:orcl</url>
<username>ssmy</username>
<password>ssmy</password>
<driverClass>oracle.jdbc.driver.OracleDriver</driverClass>
</dbConfig>

<dbConfig id="dsd_zjk">
<url>jdbc:oracle:thin:@192.168.3.34:1521:orcl</url>
<username>dsd_zjk</username>
<password>dsd_zjk</password>
<driverClass>oracle.jdbc.driver.OracleDriver</driverClass>
</dbConfig>

</dbConfigs>


The two inputs "Project Basic WEB Layer Namespace" and "Module WEB Layer Namespace" will determine the namespace of Struts2 and the reference path of JS
<struts>
<package namespace="/artifact/org" name="com.liupengyuan .artifact.org.action.OrgAction" extends="struts-default" >

</package>
</struts>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326413935&siteId=291194637