java plug-in framework_jframe: A Java Plug-in Framework(based on asynchronous message distribution)

jframe

A Common Plugin Framework implemented by Java. Without complex configuration, you can use it now.

Why do I develop it

I need a hot deployment system, which support remote update, daemon process, easy configuration, mainly for message processing and ensure that the message is not lost.

Osgi is too complex, fully dynamic characteristics is not what I needed most.

I think a framework composed by plug-in, the communication between the plug-in via the message is a good idea.

So I decided to write a lightweight general framework based on dynamic plugins which communicate via the message.

Quick Start

git clone git@github.com:dzh/jframe.git On my pc, the repo is at ~/git/jframe

import jframe into eclipse, then "Run as" -> "Maven install" to build on jframe project.

cd ~/git/jframe/jframe/jframe-release/jframe, and then ls temp

if there are any *.pid files in temp folder,delete them first

* `bin/jframe.sh start`, maybe you need `chmod +x bin/*.sh`. (If a windows user, use startup.bat)

**Note**:

Before to start, modify `vmargs` in config.properties.If running on linux, set `vmargs = ${app.home}/conf/vmargs`,

if on windows ,set `vmargs = ${app.home}/conf/vmargs-win`.

The default will start three plug-ins:jframe-example-pluin, jframe-swt and jframe-watch.

* `jps -l`, if output similar content, then jframe start successfully.

5516 jframe.launcher.Main // daemon

5517 jframe.launcher.Main // app

You can also see log/*.log, or daemon.pid and app.pid generated in temp folder

* `bin/jframe.sh stop` (shutdown.bat), to stop jframe.

About Jframe Manual

Jframe's manual is jframe_manual_zh_CN.org in /jframe/doc/ directory.I edit it using Emacs's Org plug-in, and export a html version jframe_manual_zh_CN.html.

Question Contact

jframe-dev@googlegroups.com (u need join first)

dzh_11@qq.com (personal)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值