jboot:类似 Spring Boot 的开源框架 | 软件推介
jboot是一个基于jfinal、undertow开发的一个类似springboot的开源框架, 我们已经在正式的商业上线项目中使用。她集成了代码生成,微服务,MQ,RPC,监控等功能, 开发者使用及其简单。
maven dependency
controller example
new a controller
start
visit: http://127.0.0.1:8088
mq example
config jboot.properties
server a sendMqMessage
server b message listener
rpc example
config jboot.properties
define interface
server a export serviceImpl
server b call
cache example
config jboot.properties
use cache
database access example
config jboot.properties
define model
dao query
event example
send event
event listener
read config
config jboot.properties
define config model
get config model
code generator
build
config pom.xml
maven build
start app
start app and change config
use your properties replace jboot.properties
use jboot-dev.proerties replace jboot.properties and set jboot.server.port=8080
thanks
rpc framework:
motan(https://www.oschina.net/p/motan-weibo)
grpc(http://grpc.io)
thrift(https://github.com/apache/thrift)
mq framework:
activemq
rabbitmq
redis mq
hornetq
aliyun mq
cache framework
ehcache
redis
core framework:
jfinal
undertow