Implementation of SOA-based application integration solutions based on AgileEAS. NET Enterprise Application Platform-opening part

Source: Internet
Author: User
Document directory
  • Related information
  •  
  • Download AgileEAS. NET quick development platform

 

Opening

The system architecture article will be well organized during this time, and then enterprise-level application architecture practices based on the AgileEAS. NET platform will be released. The specific cases will be used to describe AgileEAS. NET

How to design the system's logical architecture and physical architecture on the platform, including some data architecture and operational architecture. We will also talk about the development architecture.

For more information about platform Functions, development cases, and configurations, see the following articles:

[Pin to top] Step By Step series developed By AgileEAS. NET platform-pharmacy system-Index

The code of the above drug store is a complete solution. Of course, it also includes the SAAS application deployment method. When we wait for the release of AgileEAS. NET5.0, we will introduce how to use and configure SAAS applications.

Of course, the current SAAS application configuration method of the pharmacy system is found in the following articles:

AgileEAS. NET platform video conference training series I-Introduction to AgileEAS. NET platform and SAAS construction drills for drug Systems

Through the above article, I believe that everyone has a perceptual knowledge of the platform. At present, many of my friends have put forward a lot of good suggestions. At present, the platform does not provide visual configuration tools, and many of them download them.

I don't know how to use it. This is indeed a headache.

The following steps may help you.

Step 1: download the latest version of AgileEAS. NET platform

Click to download

Open from the above address and you will see the following download content

, Select the latest source code to download.

Step 2: After downloading, decompress the file, find the basic database backup file of the platform, and restore the database.

There are a lot of friends who are entangled here. Why? Because there are too many ways to restore the database we provide, you don't know how to do it, we do not have any AgileEAS.

The configuration management tool of the. NET platform. We will provide this tool in the next version of AgileEAS. NET5.0. The visual configuration interface will automatically restore the database and SET related configuration files.

Hot switchover between distributed and direct-connection databases.

Download the file, decompress it, and you will see the following folders and file lists:

The file and directory structure is shown in.

The first step is to set AgileEAS first. NET platform database configuration, then the pharmacy system configuration process is the same as the platform configuration process, if you do not, I will say, Yali is very large.

Let's take a look at the specific process.

1. Find the "AgileEAS. NET platform-database backup" folder:

2. Open the folder and

3. Here we take "database-backup file" as an example to describe how to use the bak file to restore the database. I have explained it in the database restoration of the previous pharmacy system, but there are still many

I don't know how to restore the database, so I will talk about the next step here.

Here, "SQL2005/2008" is used as an example to describe:

Then click "Restore database ":

Select a file in the folder.

In the dialog box that appears, select the following file:

Click OK:

Click "options" in the left-side menu ".

To set the physical storage path and location, database name, and other options for restoring the database.

Make sure that the physical storage path exists; otherwise, an error occurs. Modify the path "d root directory" here"

Click "OK:

This completes the restoration of the database. We can refresh to see if "AgileEAS" exists in the database instance ":

Step 3: configure information about AgileEAS. NET to provide basic support for rapid development.

First, find the following folder in the downloaded "AgileEAS. NET4.0 package:

After the folder is opened, find the. config file with the following name:

This configuration file is the running configuration file of the AgileEAS. NET quick development platform. If this configuration file does not exist

EAS. WinClient cannot run. We will use vs2010 to illustrate how to configure it.

Then you can run the following program:

Then, the login page of the platform appears as follows:

Click "OK" to go to the running management interface of the AgileEAS. NET platform:

This completes the configuration of the direct connection to the database. In the future, we will introduce the simplicity of the SOA integration solution based on the platform during our SOA integration solution, we will complete the distributed configuration

Configuration process, and then detailed description.

Outline

1. Opening

2. Outline

3. Why application integration?

4. integration solution of AgileEAS. NET platform

Why application integration?

With the development of science and technology, information technology continues to advance and mature, from the original early hardware programming, from C and C ++ to later advanced languages and more excellent programming languages

High software productivity. Second, it accelerates the popularization of technology information. At present, both what you know and what you don't know are increasingly closely coupled with software, in the past, I only knew what I saw and heard.

There are a lot of things we don't know. When everyone is discussing what languages are excellent, I would like to participate in a few words, but I generally do not express anything, because I know that no matter what Programming Language

It is not to replace a language, but to solve problems or inconveniences in the previous language. It is not to replace it, but to better adapt to development and needs changes. Each language has its advantages and

Disadvantages: we should be objective. We should not start from subjective consciousness to make non-objective comments based on our own field or expertise.

Recently, many of my friends asked me how to solve the integration problem between various heterogeneous software in an enterprise. I believe this is not a new topic, as early as the last century

At the end of this year, many excellent masters have put forward these ideas. With the increasing demand in this field since the 21st century, it is especially obvious and urgent for large enterprises.

Many enterprises have a very early informatization level and are very mature. However, the cost and investment of enterprises in all aspects need to be measured. If an enterprise often changes software, the cost is too high for the enterprise, unless forced, it will usually be new software with old software + new features. In this combination, new problems arise, and the cost of replacing old software is too high, and the return is not obvious, if the new and old software are independent

It may not be of great value to the development, management, and other aspects of the enterprise, but the enterprise is essential to the functions of the new software. At this time, the data information between the old system and the new system is required.

It must be shared, so of course enterprises that have such actions will consider how to implement integration between the new and old systems. The name of EAI also appeared early. However, this word is gradually ranked by SOA

Given the replacement, SOA has become increasingly popular recently. I also want to add parameters.

The most troublesome problem for enterprises is that there are too many heterogeneous systems within the enterprise. Integrating the heterogeneous systems within the enterprise, how to achieve information sharing and eliminate information islands is an urgent problem to be solved, so how to do it,

Which of the following is the simplest solution? No platform is required.

Different heterogeneous systems have their own databases. If integration is implemented, it can be achieved through databases to synchronize databases between databases. However, this is the easiest and lowest cost.

But this solution is not good. Not only is the information of each database exposed externally, but security is a problem. In addition, there may be too many factors for Data Synchronization failure, in addition, the data coupling is too high.

Okay. Therefore, the following integration solutions are gradually derived:

We can see that if the application system interacts with other application systems, data interaction and communication must be completed through the Application Service Bus. For example, the CRM system needs to access the MIS system, then required

It must be accessed through the services provided by the MIS system. This is a bit similar to the interface or webservice call method.

Generally, the integration solution of heterogeneous systems is nothing more than two. One is interface call and webservice protocol. The underlying data communication method is generally XML. Of course

In an enterprise, there is no problem because it may be in the form of text streams. The key is to look at the Construction Schemes of different Heterogeneous systems. For example, if different development languages and tools are used, it is possible that

It is easy to discuss the way to transfer, because the mainstream and most development languages currently support webservice Service calling. The interface call method may be used because different language platforms enable

There are limits for use. In short: analyze specific issues and select the optimal method.

The above is just a brief description. In the future, more articles will explain the implementation details and how to implement the integration of heterogeneous systems.

Integration solution of AgileEAS. NET

For more information about the AgileEAS. NET platform and function instructions, refer to the official blog:

Official Website

AgileEAS. NET platform is based on the SOA architecture idea as the architecture paradigm, based on.. NET platform. This platform provides powerful development tools and Application Deployment Support, and provides a wide range of middleware,

Use these middleware to achieve Application Integration and rapid development. The AgileEAS. NET platform has built-in WCF message methods. In addition, these communication methods are combined with the application configuration of the platform to achieve distributed and heterogeneous systems.

Inter-system communication.

The following describes the SOA integration solution based on the AgileEAS. NET platform.

The following is an example of how to use the architecture of AgileEAS. NET platform integration:

This figure is applicable to Application Integration Based on the. NET platform and can be understood as interface integration. If it is a system developed in different languages,

The following integration method is used.

Is based on the integration of the webservice protocol, set according to different applications and scenarios

. Compared with the second method, the first solution has many limitations for interface-based integration. must be installed..

It is troublesome to send a DLL to VB, PB, Delphi, C ++, and other calls through interfaces. For example, when integrating with java applications, if a java application runs in a UNIX environment, it cannot be completed.

Message Communication Service. Depends on the specific application scenario.

AgileEAS.. NET platform provides an integrated and rapid development method. the service objects provided by the. NET platform are inherited through AgileEAS.. NET platform Automatically releases the custom service object

Webservice objects, which undoubtedly speeds up development. it is easy to integrate different application systems on the. NET platform. The interaction between different systems is realized through calling between service components.

In addition, the development method of service objects is exactly the same as the Code style we usually write. You can use the quick development tools provided by the platform to generate relevant code, greatly provides application integration between heterogeneous systems to improve

It reduces the development efficiency and integration risks and costs.

The code is written as follows:

In the subsequent code, we will illustrate how to integrate with each other by giving a simple example. We will explain how to implement integration between different applications through our recent customer integration experience, we use. NET

Integration between applications and PB applications. We chose the simplest integration solution, which is integrated through the database. The integration through webservice and interface will be shown later.

Related information

Download information.

If you have any questions about using the AgileEAS. NET development platform, use the following contact methods or communication methods.

1. Telephone-Email:

He gozhou: hegezhou_hot@163.com mobile phone: 18691480181 blog: http://www.cnblogs.com/hegezhou_hot/

2. QQ communication:

308961614-Network Name: h.o. T

3. QQ chat group:

185074255 new

Download AgileEAS. NET quick development platform

Click to download the image.

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.