首页>
外国专利>
DUBBO FRAMEWORK–BASED REMOTE INVOKING METHOD, SERVER, AND STORAGE MEDIUM
DUBBO FRAMEWORK–BASED REMOTE INVOKING METHOD, SERVER, AND STORAGE MEDIUM
展开▼
机译:基于DUBBO框架的远程调用方法,服务器和存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed in the present application are a dubbo framework–based remote invoking method, a server, and a storage medium. The method comprises: providing a user interface, and receiving registration information filled in by a service provider on the user interface, comprising interface information of a service provided by the service provider and an address of a registration center; creating an interface class according to the interface information and storing the interface class in a storage device; loading the interface class onto a virtual machine from the storage device by invoking a class loader; querying provided service information in the registration center according to the interface information, and creating a proxy class corresponding to the interface class according to the queried service information; generating a unique URL according to the created proxy class; and receiving a URL request sent by a requester, finding the corresponding proxy class according to the URL request, and finding a suitable invoker entity from the interface class according to a correspondence between the interface class and the proxy class to initiate remote invoking to a host of the service provider. Therefore, frequent configuration file modification and system reboot are avoided when a new service is added, thereby reducing the platform load and improving the service efficiency.
展开▼