# xRPC-java **Repository Path**: xiaoshengfu/xRPC ## Basic Information - **Project Name**: xRPC-java - **Description**: 简单的RPC框架。 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2020-02-16 - **Last Updated**: 2021-04-15 ## Categories & Tags **Categories**: rpc **Tags**: None ## README # xRPC #### 介绍 xRPC是借鉴Dubbo,基于Netty编写的一个简单的RPC框架。 主要实现思路:https://www.cnblogs.com/LBSer/p/4853234.html #### 软件架构 #### 主要技术 Netty Spring jboss-marshalling-serial Redis JDK动态代理 #### 安装教程 1:项目未上传至Maven中央仓库,使用xRPC需要下载项目源码并执行maven install。 2:Maven依赖配置 ```xml xyz.xiaoshengfu.xrpc xrpc-all 0.0.1-SNAPSHOT ``` 3:Spring配置 ```xml ``` #### 使用说明 xRPC框架使用实例:https://gitee.com/xiaoshengfu/bookstore #### xRPC-Admin ###### 介绍 xRPC-Admin是对使用xRPC框架构建的应用的服务调用关系可视化平台。 ###### xRPC-Admin配置 配置文件位置:xrpc-admin/src/main/resources/conf/conf.properties ```properties #登陆用户名,默认root login.account=root #登陆密码,默认root login.password=root #注册中心协议名称,仅支持redis register.protocol=redis #注册中心主机地址 register.address=127.0.0.1 #注册中心服务端口 register.port=6379 #注册中心访问密码 register.password=root ``` ###### xRPC-Admin页面效果 ![](https://gitee.com/xiaoshengfu/xRPC/raw/master/image/xrpc-admin1.png) ![](https://gitee.com/xiaoshengfu/xRPC/raw/master/image/xrpc-admin2.png)