mina2.0+spring

时间:2017-09-30 08:59:20
【文件属性】:
文件名称:mina2.0+spring
文件大小:6.89MB
文件格式:RAR
更新时间:2017-09-30 08:59:20
mina java spring http tcp 自己整理结合网上的诸多资料开发的一个中间件,当然这个是demo,想做成完整的通讯中间件的话需要在handler处做处理,并对加载配置文件处做修改方可导出成jar集成到其他系统。 这里简单说下: 1.ij.properties配置mina启动参数 2.系统读取mina-spring.xml。如果想把该工程导成jar则需要处理下配置文件的路径 3.结合自己系统时(导成jar集成进自己系统)需要继承与serverHandler,实现里面doService方法 4.本系统支持HTTP以及TCP链接,这个是参考CSDN上的网友的办法 5.没有进行过压力测试,生产环境慎用 6.日后经过压力测试后再放出生产版源码 7.欢迎指正!
【文件预览】:
MinaDemo
----log()
--------minademos.log(2.05MB)
----bin()
--------mina-spring.xml(2KB)
--------service-beans.xml(500B)
--------log4j.properties(2KB)
--------com()
--------ij.properties(229B)
----.settings()
--------org.eclipse.core.resources.prefs(130B)
----src()
--------mina-spring.xml(2KB)
--------service-beans.xml(500B)
--------log4j.properties(2KB)
--------com()
--------ij.properties(229B)
----.project(384B)
----.classpath(3KB)
----lib()
--------log4j-1.2.14.jar(359KB)
--------org.springframework.context-3.1.4.RELEASE.jar(819KB)
--------org.springframework.orm-3.1.4.RELEASE.jar(372KB)
--------org.springframework.asm-3.1.4.RELEASE.jar(52KB)
--------org.springframework.aop-3.1.4.RELEASE.jar(325KB)
--------commons-beanutils-1.7.0.jar(184KB)
--------org.springframework.core-3.1.4.RELEASE.jar(441KB)
--------mina-core-2.0.4.jar(630KB)
--------org.springframework.jdbc-3.1.4.RELEASE.jar(396KB)
--------commons-collections.jar(558KB)
--------mina-integration-xbean-2.0.4.jar(39KB)
--------mina-filter-compression-2.0.4.jar(12KB)
--------commons-httpclient-3.1.jar(298KB)
--------org.springframework.transaction-3.1.4.RELEASE.jar(240KB)
--------mina-integration-beans-2.0.4.jar(39KB)
--------commons-logging-1.1.1.jar(59KB)
--------org.springframework.web-3.1.4.RELEASE.jar(542KB)
--------org.springframework.web.servlet-3.1.4.RELEASE.jar(566KB)
--------mina-integration-jmx-2.0.4.jar(28KB)
--------org.springframework.expression-3.1.4.RELEASE.jar(175KB)
--------mina-example-2.0.4.jar(132KB)
--------slf4j-api-1.5.2.jar(17KB)
--------org.springframework.aspects-3.1.4.RELEASE.jar(50KB)
--------org.springframework.context.support-3.1.4.RELEASE.jar(105KB)
--------mina-integration-ognl-2.0.4.jar(15KB)
--------slf4j-log4j12-1.5.2.jar(9KB)
--------org.springframework.beans-3.1.4.RELEASE.jar(583KB)
--------fastjson-1.1.40.jar(350KB)
--------commons-codec.jar(46KB)
--------mina-transport-apr-2.0.4.jar(30KB)
--------xstream-1.3.1.jar(421KB)
--------mina-statemachine-2.0.4.jar(55KB)

网友评论

  • 可以参考,不过版本有点老了
  • 可以参考,感谢