OSGI-ECLIPSE MODULE 开发

本文深入探讨了OSGi技术的优势,包括动态安装、卸载、启动和停止应用的不同模块,同时允许同一应用程序运行多个版本的特定模块。详细介绍了如何下载和部署OSGi相关组件,以及如何通过命令行启动和管理应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

OSGi offers the following advantages:
  • You can install, uninstall, start, and stop different modules of your application dynamically without restarting the container.
  • Your application can have more than one version of a particular module running at the same time.
  • OSGi provides very good infrastructure for developing service-oriented applications, as well as embedded, mobile, and rich internet apps.

  1. 下载org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
  2. 开发module . file->new->project->plugin development->plug-in project
  3. file->export -> plug-in development -> deployable plug-ins and framgments
  4. 启动osgi . java -jar xxx.jar -console
  5. 安装插件 install file:c:\....jar
  6. start bundle
  7. stop bundle
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值