Javaweb Integrated YMP framework for fast-start _java

Source: Internet
Author: User

Understanding the YMP Framework
YMP officially released the 1.0 version on October 25, 2014, it has been widely used in real projects before, from the initial internal use of the team, to the development team of partners, to friends, friends and friends are also beginning to put YMP into the actual project, so here I would like to continue to help , support my colleagues, friends to express my heartfelt thanks! Is everyone's trust and recognition of it, just make ymp rapid growth, in the process of change it has been continuous improvement, optimization until the final release.

There's no perfect frame, only suitable is good, in order to make ymp simpler and easier to use, from January 26, 2015 is starting the V2 version of the development, spent the whole year to Ymp refactoring, in the new version contains a lot of v1 in the process of collection of new features, functional improvements and code optimization, Million change does not change the beginner's mind, let the development work like building blocks as easy is our unremitting efforts to the goal!

Of course, the framework still has a lot of deficiencies, still need to improve, if you think Ymp can help you, but also sincerely hope to get your support, put forward your needs, ideas, opinions and suggestions to discuss together, let it become better!

Main technical characteristics of YMP:

    • Adopt Modular, Modularized packaging method, can be assembled on demand, flexible and scalable;
    • Using micro-kernel to realize AutoScan, AOP, IoC, event, etc., covering most of the core functions of SSH framework;
    • Unified configuration architecture, feel different file resource allocation and management mode;
    • Integration of a variety of log systems (log4j, JCL, slf4j), log files can be separated storage;
    • Lightweight persistence layer encapsulation to support RDBMS (MySQL, SQL Server, Oracle, etc.) and NoSQL (MongoDB, Redis, etc.);
    • Perfect plug-in mechanism, to help the finer granularity of business split;
    • Unique and independent service development experience;
    • Powerful verification framework, fully based on Java annotations, easy to use and extend;
    • Flexible caching services that support Ehcache, Redis, and multilevel caching (multilevel) technologies;
    • Configuration simple MVC architecture, powerful and easy to maintain and expand, support restful style, support JSP, HTML, Binary, freemarker, velocity and other view technology;

Framework overall Structure chart:

Download and compile the YMP framework code

Because the current YMP v2 version does not formally publish its Jar bundle resources to the MAVEN Central Library, this section describes how to manually install the compilation YMP framework into the local MAVEN library.

Step 1: The browser opens the YMP project address http://git.oschina.net/suninformation/ymate-platform-v2, click Copy git resource path, as shown in Figure 1:

Step 2: Open the terminal and go to the destination directory and execute git clone command to complete the YMP framework source download, as shown in Figure 2:

git clone https://git.oschina.net/suninformation/ymate-platform-v2.git

Step 3: After downloading the source code, enter the project directory and perform the MAVEN compile, install command, as shown in Figure 3:

CD ymate-platform-v2
mvn clean Source:jar Install

To this end, we have successfully completed the manual compilation and installation of the YMP framework package into the local MAVEN library.
Summary:

This article is regarded as the opening of the YMP series of articles, a few Baixin words, said is the truth, the next will be an unscheduled update on the use of YMP framework, the elaboration of a number of functional implementation details.

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.