JDK 1.5+ [^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.1.2:compile [INFO] | +- log4j:log4j:jar:1.2.16:compile [INFO] | +- org.javassist:javassist:jar:3.15.0-GA:compile [INFO] | +- org.springframework:spring:jar:2.5.6.SEC03:compile [INFO] | +- commons-logging:commons-logging:jar:1.1.1: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.
[^1]: In theory, Dubbo only depend on JDK, not depend on any 3rd party libs, you can finish logic by useing JDK. [^2]: Log output jar [^3]: Bytecode generation [^4]: Configuration parsing [^5]: Network transmission [^6]: JEE