如何用Java做插件式软件开发?

liuzhenpolestar 2011-09-03 08:36:40
很想用Java做插件式软件的开发,但又不知道如何下手。希望大家能讨论一下。我的意思不是Eclipse插件开发,而是如何进行插件式软件开发,这最起码要构建一个插件式框架,我想。
不知谁有这方面的资料,或知道书名也行。推荐一下。
...全文
668 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
liuzhenpolestar 2011-11-27
  • 打赏
  • 举报
回复
嗯 看来要学习OSGI了 但没有资料啊。。。
24K純帥 2011-10-24
  • 打赏
  • 举报
回复
学习~
liuzhenpolestar 2011-10-24
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 jia20003 的回复:]

Eclipse本身是基于OSGi框架,所以你也可以!

而且我很肯定的告诉你,在任何版本的JDK上面都可以!
[/Quote]
该怎么着手呢?
gloomyfish 2011-09-04
  • 打赏
  • 举报
回复
什么JPF等等的东西,可以把它扔到垃圾桶里面去了,完全没有必要
gloomyfish 2011-09-04
  • 打赏
  • 举报
回复
Eclipse本身是基于OSGi框架,所以你也可以!

而且我很肯定的告诉你,在任何版本的JDK上面都可以!
liuzhenpolestar 2011-09-03
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 huntor 的回复:]

http://jpf.sourceforge.net/
JPF provides a runtime engine that dynamically discovers and loads "plug-ins". A plug-in is a structured component that describes itself to JPF using a "manifest". JPF ma……
[/Quote]
可是如The latest framework version is 1.0.2 for Java 2 and 1.5.1 for Java 5. It was released on May 19, 2007 所说,它的最新版都才只支持Java5,现在JDK7都出来了,我很担心JPF的后续能否继续更新啊。。。用JPF写的程序会不会与后来的JDK不兼容等等。。。
huntor 2011-09-03
  • 打赏
  • 举报
回复
huntor 2011-09-03
  • 打赏
  • 举报
回复
http://jpf.sourceforge.net/
JPF provides a runtime engine that dynamically discovers and loads "plug-ins". A plug-in is a structured component that describes itself to JPF using a "manifest". JPF maintains a registry of available plug-ins and the functions they provide (via extension points and extensions).

One major goal of JPF is that the application (and its end-user) should not pay any memory or performance penalty for plug-ins that are installed, but not used. Plug-ins are added to the registry at application start-up or while the application is running but they are not loaded until they are called.

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧