Entering the SG-UAP

Entering the SG-UAP

96
Spread Letterman
2019.06.19 14:10 Words 1130 Read 10 comments 0
初次接触SG-UAP,将自己的见解以文字形式记录下来,希望能对初入的伙伴们有所帮助

Brief introduction

UAP: a unified national grid application platform State Grid Unified Application Platform, the initials "SG-UAP". State Grid Corporation of next-generation application development and operation and maintenance platform that provides a unified technology, flexible architecture, performance, efficient, safe and reliable design of enterprise information systems and public Kit sets the basic framework, supporting business systems, development, testing, release, run the whole process. (Chinese referred to as "a unified application platform", the English referred to as "UAP").

This is a reference to the SG-UAP official document description, complete documentation Address: https://wenku.baidu.com/view/1ba2a03108a1284ac950436e.html

SG-UAP use

1, SG-UAP plug-in installation

First of all we need to know before using the platform to provide a unified application platform module, the entire project team share a common, unified maintenance by the project managers, developers only need to know the address of a unified application platform server.

Formal service uses should be there to give you a national grid application, to install a series of components SG-UAP before use, optimistic version. Reference installation steps: Installation Comments

sg-uap community platform, and related Codes: sg-uap community platform download

  1. Installation SG-UAP SERVER
  2. Installation SG-UAP IDE
  3. Permission to install a unified platform (ISC)
  4. Installation unified process platform (BPM)

2. Create SG-UAP program

  1. Open idea, create a UAP project, create a select number of the database, created in webContent project> WEB-INF> will appear about your database configuration file of a datasource.xml this is automatically generated after completion of the next configuration.
  2. web module
    • If you are a Web project, you can build a new module, and the page js on the inside, and then associate main item. Association Method:
      adding just new module in the main project file policy.xml
<module-repository id="自己填"  path="新模块路径">
    <module>新模块名称</module>
</module-repository>
  • In the face of the new web module below a mx weblet scene name is the name of weblet, the scene was later described in the title of the page to show up. Here we check the next generation default view.
  • Once complete, generate a default form view. MainView which is generally used to write the contents of view, and is used to put MainViewController MainView event logic implementation. Simple point is to write a page of a write js
  • web presentation layer is based on an interactive Jquery
  1. Business logic module
    - and then create a module for writing business logic, then the associated master module, associated as above
    • javaBean java objects he called here PO objects, persistant Object database that is mapped. JSON format is the data sequence format.
    • Add packages in the configuration file scanning the corresponding annotated class, resolves to appropriate components: The configuration file naming convention xxxResource.xml, I called here scanResource.xml
    • Similarly with the specific code controller Spring, including details such as the inside of their own annotations Baidu
    • Interact with the page and use the main RestFul Client BlazeDS Client
  2. , Persistence layer
    Here he supports two data persistence mode
    • One is Hibernate oo
    • One is based on the SQL operation SessionFactory
  3. Database
    database Optional: Oracle 10g, MySql, Sql Sever , IBM DB2, domestic dream up, gold warehouse etc.
  4. Cache
    • Ehcache caching technology platform to achieve within a process buffer
    • Distributed cache-based open-source database MongoDB NoSql
  5. Log
    log using Log4j.
  6. Reports
    based ad hoc reporting browser service. ( Ad Hoc Reports Reference )
  7. Task scheduling
    task scheduling using the open source framework Quartz, on Quartz:
    • Quartz is a written entirely in Java open source job scheduling framework that provides a simple but powerful mechanism to perform job scheduling in Java applications.
    • Quartz may be combined with J2SE and J2EE applications can also be used alone.
    • Quartz allows the program developer to schedule jobs in accordance with the interval time.
    • Quartz realize the relationship between work and triggers many to many, but also the multiple jobs associated with different triggers.
    • About Quartz core concepts and the use of official reference document Quartz official documents

summary

Refer to the official document notes a deeper impression, drawing demo blog posts written verification details. Streamer: Learn to make me happy!
Like Comment wish to point support. Thank you! ! !

Guess you like

Origin www.cnblogs.com/LoveShare/p/11363801.html