XServer is a simple http server that base on netty and spring.
The server framework as follow:
+---+ +---+ +---+ +---+ +---+
| 1 | | 2 | | 3 | | 4 | ... Client... | n |
+---+ +---+ +---+ +---+ +---+
||
||-------------------JSON,JSONP,XML,RPC
\||/
+---------------------------------------------------+ +----------------------------------------------+
| XServer Http Interface | |JDBC, HBase, Mongo, Redis, FastDFS... |
|---------------------------------------------------+ |ElasticSearch, ZooKeeper, Kafka... |
| Spring | |Shiro, SVN, Gradle... |
|---------------------------------------------------+ +----------------------------------------------+
| Netty | | Component |
+---------------------------------------------------+ +----------------------------------------------+
The author E-mail: poston1@163.com
Develop History And Plan:
- 2013/01 Integrate Netty And Spring, implment basic HTTP Service
- 2013/02 Add some component, like Mail, Jdbc, Quartz, HBase...
- 2013/04 Bug fix and product apply
- 2014/04 Add some component, like Gradle, SVN, WebSocket
- 2015/04 Add some interface context and interface resolver(the basic version, just WebInterface), this version allow deployer to make decision(customization) which interface should be load by XServer
- 2015/06 Add Cookie and Session(user shiro)
- 2015/07 Add filter mechanism, like IP white(black) list, permission check, cache mechanism, parameter mapping
- 2015/09 Product apply
- 2016/03 Import ZooKeeper as configuration manager
- 2016/07 Use ZooKeeper for distribution managing(register service, fault manage...)
- 2016/09 Import Kafka for message system
- 2016/11 Import RPC service, change services to micro-service
Note the source on the github is 2016/06 version, not all source, i will commit remain soon