bboss-rpc

bboss http project.

License

License

GroupId

GroupId

com.bbossgroups
ArtifactId

ArtifactId

bboss-rpc
Last Version

Last Version

5.5.5
Release Date

Release Date

Type

Type

jar
Description

Description

bboss-rpc
bboss http project.
Project URL

Project URL

http://www.bbossgroups.com
Source Code Management

Source Code Management

https://github.com/bbossgroups/bboss-http

Download bboss-rpc

How to add to project

<!-- https://jarcasting.com/artifacts/com.bbossgroups/bboss-rpc/ -->
<dependency>
    <groupId>com.bbossgroups</groupId>
    <artifactId>bboss-rpc</artifactId>
    <version>5.5.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.bbossgroups/bboss-rpc/
implementation 'com.bbossgroups:bboss-rpc:5.5.5'
// https://jarcasting.com/artifacts/com.bbossgroups/bboss-rpc/
implementation ("com.bbossgroups:bboss-rpc:5.5.5")
'com.bbossgroups:bboss-rpc:jar:5.5.5'
<dependency org="com.bbossgroups" name="bboss-rpc" rev="5.5.5">
  <artifact name="bboss-rpc" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.bbossgroups', module='bboss-rpc', version='5.5.5')
)
libraryDependencies += "com.bbossgroups" % "bboss-rpc" % "5.5.5"
[com.bbossgroups/bboss-rpc "5.5.5"]

Dependencies

compile (38)

Group / Artifact Type Version
com.bbossgroups : bboss-util jar 5.5.5
com.bbossgroups : bboss-core jar 5.5.5
com.bbossgroups : bboss-soa jar 5.5.5
com.bbossgroups : bboss-http jar 5.5.5
org.slf4j : slf4j-log4j12 jar 1.7.25
oro : oro jar 2.0.8
cglib : cglib-nodep jar 3.1
commons-lang : commons-lang jar 2.6
commons-logging : commons-logging jar 1.1
com.caucho : hessian jar 4.0.38
org.jboss.netty : netty jar 3.2.10.Final
org.apache.mina : mina-core jar 2.0.0-RC1
org.ow2.asm : asm jar 5.0.3
bsh : bsh jar 2.0b1
commons-httpclient : commons-httpclient jar 3.1
org.apache.httpcomponents : httpcore-nio jar 4.4.5
com.ibm.icu : icu4j jar 2.6.1
org.jasypt : jasypt jar 1.9.2
commons-pool : commons-pool jar 1.5.4
org.apache.cxf : cxf-rt-bindings-soap jar 3.1.0
org.apache.cxf : cxf-rt-databinding-jaxb jar 3.1.0
org.apache.cxf : cxf-rt-frontend-jaxws jar 3.1.0
org.apache.cxf : cxf-rt-frontend-simple jar 3.1.0
org.apache.cxf : cxf-rt-transports-http jar 3.1.0
org.apache.cxf : cxf-rt-wsdl jar 3.1.0
org.apache.geronimo.specs : geronimo-jaxws_2.2_spec jar 1.1
org.apache.geronimo.specs : geronimo-jms_1.1_spec jar 1.1.1
javax.ws.rs : javax.ws.rs-api jar 2.0-m10
javax.xml.bind : jaxb-api jar 2.2.12
com.sun.xml.bind : jaxb-core jar 2.2.11
com.sun.xml.bind : jaxb-impl jar 2.2.11
com.sun.xml.bind : jaxb-xjc jar 2.2.11
org.apache.neethi : neethi jar 3.0.3
org.codehaus.woodstox : stax2-api jar 3.1.1
org.codehaus.woodstox : woodstox-core-asl jar 4.2.0
wsdl4j : wsdl4j jar 1.6.3
xml-resolver : xml-resolver jar 1.2
org.apache.ws.xmlschema : xmlschema-core jar 2.2.1

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
xpp3 : xpp3 jar 1.1.4c
com.thoughtworks.xstream : xstream jar 1.3.1
org.codehaus.jackson : jackson-mapper-asl jar 1.9.10

Project Modules

There are no modules declared in this project.

bboss httpproxy

bboss http project. 包含的功能有:

http连接池

http服务调用组件-HttpRequestUtil

http负载均衡组件-HttpRequestProxy 使用参考文档https://esdoc.bbossgroups.com/#/httpproxy

负载均衡组件特点:

1.服务负载均衡(目前提供RoundRobin负载算法)

2.服务健康检查

3.服务容灾故障恢复

4.服务自动发现(zk,etcd,consul,eureka,db,其他第三方注册中心)

5.路由规则动态切换

5.分组服务管理

可以配置多组服务集群地址,每一组地址清单支持的配置格式:

http://ip:port

https://ip:port

ip:port(默认http协议)

多个地址用逗号分隔

6.服务安全认证(配置basic账号和口令)

7.主备路由/异地灾备特色

负载均衡器主备功能开发,如果主节点全部挂掉,请求转发到可用的备用节点,如果备用节点也挂了,就抛出异常,如果主节点恢复正常,那么请求重新发往主节点

开发文档

https://esdoc.bbossgroups.com/#/httpproxy

httpproxy 案例:基于apollo进行配置管理、节点自动发现、路由规则自动切换,源码地址如下

     https://gitee.com/bboss/httpproxy-apollo

     https://github.com/bbossgroups/httpproxy-apollo

工程gradle构建运行说明:

构建发布版本:gradle publish

License

The BBoss Framework is released under version 2.0 of the Apache License.

todo

com.bbossgroups

bbossgroups

Versions

Version
5.5.5