Learning notes (2) - Ras Architecture

zhaozj2021-02-16  55

Ras Architecture

1. REPORT Application Server Components? A. Ras SDK: The interface to which the server component is connected, in which it constitutes a client part of the C / S mode. ? b. RAS Server: Provides creation and modify report services. It operates report documentation through CRPE (Crystal Report Print Engine) and saves them to the directory of the APS in Crystal Enterprise. 2. SDK Architecture? Ras SDK is composed of many Java packets that contain classes and interfaces for communicating with the server. Essentially, these packages divide classes and interfaces into different functional parts. JDK, which is only used by these packet groups is implemented using the MVC architecture. • Controller: Applications consist of many classes called Controllers. These classes are used to operate data. The application package also contains a ReportClientDocument object. It is necessary to pay attention to that Controllers is used to keep the RAS Client to operate and keep synchronization on the server. In order to correctly modify the document and ensure that RAS Server is updated, you must use the appropriate Controller. MODEL: Other packages are used to define models, essentially, all data (report data) processed by the SDK operation (report data) is included in the package used to define Model. • View: Finally, the programmer generated by the programmer uses a specific view to the data in Model. Different expressions for data will have different views. Each view can directly access data in Model or access data through a Controller. If you want to modify a Data Model, you must use a controller.3. Important Object? A. ReportClientDocument: is a report document created and modified by RAS SDK. It is located in the application package. These report documents are managed by document package. These libraries control the way the report document is managed. This is the main difference between it and other packages in the origin of JDK inheritance. It controls the Controller that accesses any one to modify or export data, also controls any Object Model that is only used to access data. More effective is that it allows you to open, modify, and save reports. ? b. Controllers: Defined in the application package. Controls the logic of the client modification of the Object Model. Although Object Model provides functions of manipulating data and defining reports, it cannot keep the RAS Client manipulated with data on the server synchronization. In order to correctly modify the document and ensure that RAS Server is updated, you must use the appropriate Controller. ? c. Object Model: The content used to define the report document. It contains the data structure required to determine the report view in the report document. • Object Model implements two main libraries:? Data package provides the definition of the database and data of the report;? Definition Package decides to display the performance and layout of the report object in the report document. ? Note: If you want to operate any of these data structures correctly, or make sure that any of the modifications are submitted to the server, you must use Controller.

转载请注明原文地址:https://www.9cbs.com/read-19239.html

New Post(0)