This topic describes how to host a High-speed Service Framework (HSF) application to SAE.
Background information
You can use one of the following methods to develop applications based on the HSF framework:
- Ali-Tomcat: This method depends on Ali-Tomcat and Pandora, and provides complete HSF features such as service registration and discovery, implicit parameter passing, asynchronous calls, generic calls, and trace filter extension. Applications must be deployed in the form of WAR packages.
- Pandora Boot: This method depends on Pandora and provides some HSF features, such as service registration, service discovery, and asynchronous calls. Applications must be compiled into executable JAR packages for deployment.
Procedure
- Develop an application.
- Method 1: Download the demo project.
The microservice-doc-demo project contains multiple sample projects. In this example, an HSF application that is developed by using Ali-Tomcat is used. For more information, see hsf-ali-tomcat.
- Method 2: Locally build a project. For more information, see the following topics:
- Method 1: Download the demo project.
- Perform local code development and debugging. For more information, see Start the lightweight configuration center.
- Compress the application into a WAR or JAR package and deploy it to SAE. For more information, see the following topics: