JDK 1.6+ 1
use mvn dependency:tree > dep.log
command to analysis,Dubbo default depends on the following 3rd party libraries:
[INFO] +- com.alibaba:dubbo:jar:2.5.9-SNAPSHOT:compile
[INFO] | +- org.springframework:spring-context:jar:4.3.10.RELEASE:compile
[INFO] | +- org.javassist:javassist:jar:3.21.0-GA:compile
[INFO] | \- org.jboss.netty:netty:jar:3.2.5.Final:compile
All dependencies here are selected for the default configuration of the Dubbo, which are based on stability and performance considerations.
<dubbo:provider proxy="jdk" />
or <dubbo:consumer proxy="jdk" />
,or <dubbo:application compiler="jdk" />
, is not required.ServiceConfig
and ReferenceConfig
API calls, is not required.<dubbo:protocol server="mina"/>
or <dubbo:protocol server="grizzly"/>
,Then change to mina.jar or grizzly.jar. If <protocol name="rmi"/>
, is not required.These dependencies needs to be added to project manually,when you need them.