GitHub Address: Https://github.com/xuxueli/xxl-glue
Git.osc Address: Http://git.oschina.net/xuxueli0323/xxl-glue
Blog address (with tutorial): http://www.cnblogs.com/xuxueli/p/5115036.html
"The quickest way to familiarize yourself with the project: Execute the underlying SQL file" \xxl-glue\db\xxl_glue_mysql.sql "; Eclipse Imports" Xxl-glue-admin "and" xxl-glue-core-example "projects, Start and access;
First, Introduction: "Agile Development Platform: Xxl-glue"
A JVM-based agile development platform that extends the dynamic language support of the JVM, based on groovy, manages snippets online and dynamically updates spring beans;
Second, features:
1, online editing code;
2, support embedded Web project and spring container;
3, real-time detection of glue changes (the system code has been glue for the management of units) and push updates;
Third, access documents:
1. Execute the underlying SQL:
Execute SQL file "\xxl-glue\db\xxl_glue_mysql.sql";
2, Deployment management platform "Xxl-glue-admin":
Compile the project "Xxl-glue-admin", configure the database connection, deploy to Tomcat boot, (default login password [email protected]/123456);
Access and login, online new "GLUE (Code record)", editing management;
3. Project Access Xxl-glue: Added maven dependency: (Refer to Project "Xxl-glue-core-example")
<bean id= "Gluefactory" class= "com.xxl.groovy.core.GlueFactory" ><property name= "cachetimeout" value= "10000 "/> <!--glue cache time, per second--><property name=" Glueloader "ref=" Dbglueloader "/> <!--glue loader-->&L T;property name= "Springsupport" > <!--Spring extension--><bean class= "com.xxl.groovy.core.support.Spring Support "/></property></bean>
4. Project Access Xxl-glue: Inject glue Factory and use: (Refer to Project "Xxl-glue-core-example")
@Resource private Gluefactory gluefactory; ... ... Idemohandler handler = (Idemohandler) gluefactory.loadinstance ("Load_timestamp_util"); Has glue= "Load_timestamp_util" as an example of result = Handler.handle (null);
Four, function:
Landing:
Glue (code) List:
New Glue (Code):
Delete glue:
Edit glue:
Save Glue:
Access-side test glue (run "xxl-glue-core-example" view):
Agile Development Platform: Xxl-glue