Agile Development Platform: Xxl-glue

Source: Internet
Author: User

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

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.