Getting Started System Structure of Avalon Phoenix Document

zhaozj2021-02-16  55

Getting Started - System Structure List

Introduction

This document concludes the architecture of the Phoenix server.

Multiple application server combat

Phoenix is ​​simultaneously controls one or more server applications in the same virtual machine.

Phoenix hierarchical diagram

The above figure shows three host server applications. The MAIL server will implement multiple listeners of entering and exiting services (POP3, SMTP, IMAP, etc.). Outlook, EUDORA, and other server clients can connect to this server. Justice: Apache has a project being developed called "James", which provides some service and news (newsgroups) group functions, which are also displayed in the above figure. It can respond to client-based HTTP / HTTPS requests and can serve our host service applications (web applications and virtual websites). Currently, there is no EJB Server in Apache, but multiple servers can serve their own bean applications and use Web services for its HTTP requirements.

Package a server application

The Phoenix application is distributed in a single document.

Package according to blocks

The Phoenix service program consists of Blocks, and Blocks is based on the correct functions of the library. Blocks is tiered by the assembly instructions and configuration files in the appearance.

The above figure is an illustration of the Phoenix application with the Block view.

Package according to Block JAR file

The server application file is fully included in a "SAR" file. SAR is a server archive file (Server Archive). Every Block is a JAR file, which is also a Rule's JAR file (placed in the SAR-INF / LIB directory in the SAR file). Assembly files and configuration instructions are organized in XML, they are included in the SAR-INF directory in the SAR file. As shown below:

Ftpserver as a Phoenix application

FTPServer (part of the Avalon / CornerStone project is distributed in SAR form. Here is its block. It doesn't rely on the tripartite JAR file.

Figure FTP Server, a real application of Phoenix

Note: Phoenix is ​​not limited to the number of blocks of Block in the SAR file. We recommend using the Apache Ant tool to generate SAR files. As for what, how to do, why do you want to do this, please see the Block Development Wizard.

Leo Simons Written

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

New Post(0)