`
classtwo5367
  • 浏览: 37573 次
  • 性别: Icon_minigender_1
  • 来自: Cork
最近访客 更多访客>>
社区版块
存档分类
最新评论

Enterprise OSGi Is Not Bloated OSGi

阅读更多


I’ve been watching with interest the work of the OSGi Enterprise Expert Group (EEG). It’s been a slow process, as any standardisation effort should be, but they now appear to be on the home straight and have started releasing deliverables. For example, there is an implementation of the Distributed OSGi draft specification available in the Apache CXF project, which Eric introduces in his post. I’m looking forward to trying it out.

But the reaction to Enterprise OSGi has not been universally positive, even from people who support core OSGi. For example here is one representative comment I saw on Twitter:

    So, now OSGi tries to be a distributed communication layer too. There’s even an rfc for transactions. Was a good lightweight thingy, too bad.

I really do understand where this comment is coming from. As a Java programmer watching the JVM turn from a lightweight platform into a bloated monstrosity, it’s natural to associate “more” with “worse”. Heavens, these days the JDK includes a database and comes with the sodding MSN Toolbar. But OSGi is not like the JDK. The comment above fundamentally misunderstands the nature of a modular platform, and makes me wonder if the commenter really knows anything at all about OSGi.

The distributed RFC, the transactions RFC and everything else form an optional layer above the core OSGi framework. That core is just as thin and lightweight as it ever was. There is absolutely no chance that enterprise features are going to find their way into the core framework such that you will no longer be able to use OSGi in embedded devices… in fact I believe that Peter Kriens would literally murder Eric Newcomer and the rest of the EEG before he allowed that to happen.

So I find it hard to stomach the negativity towards Enterprise OSGi, since it comes from simple ignorance. If you think that distribution and transactions are stupid, then just ignore Enterprise OSGi. If you prefer to implement distribution some other way, e.g. with REST, then go ahead. The absolute worst possible outcome from Enterprise OSGi is that a bunch of people wasted some (okay, a lot) of their time writing specs that nobody will use. That’s very unlikely, but even that would have been a useful learning exercise.
分享到:
评论

相关推荐

    enterprise_osgi_in_action

    Enterprise OSGi is a set of standards for building modular Java applications which integrate seamlessly with existing Java EE technologies. It extends the OSGi component framework to distributed ...

    Enterprise OSGi in Action

    Enterprise OSGi in Action -- WITH EXAMPLES USING APACHE ARIES HOLLY CUMMINS TIMOTHY WARD

    Enterprise OSGI in action

    Enterprise OSGI in action 是osgi企业应用的经典教材

    Enterprise OSGI in Action

    OSGI框架的企业级应用详解,作为官方推荐的唯一面向企业级的教程,集入门与实践为一体,不可多得的osgi宝典。

    企业OSGI实践

    我们想你们很多人在打开这本书的时候会想 Enterprise OSGI是什么?Enterprise OSGI包含用于企业开发的很多方面的东西。我这样说,可能并没法回答好这个问题。如果你以前用过JEE(java Enterprise Edition)的话,你...

    osgi.enterprise-6.0.0

    The OSGi Enterprise Expert Group (EEG) is chartered to define the technical requirements and specifications to tailor and extend the OSGi framework to address information technology software ...

    [Enterprise.OSGi.in.Action(2013.3)].Holly.Cummins.文字版

    This is a book about the enterprise OSGi programming model, and it’s also a book about using OSGi in the enterprise. It shows you how to combine OSGi’s elegant, modular, service-oriented approach ...

    OSGi in Action

    HIGHLIGHT OSGi in Action is the definitive guide to OSGi, the hottest technology available for creating modular enterprise Java applications. DESCRIPTION What is OSGi? Simply put, OSGi is a ...

    (OSGi In Practice_20091217

    The Java™ programming language is one of the most popular languages today ...That module system is called OSGi. OSGi is nothing more nor less than the way to build modular applications in Java.

    osgi介绍osgi介绍

    osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍

    osgi enterprise-6

    osgi enterprise-6

    Pro+Spring+Dynamic+Modules+for+OSGi+Service+Platforms

    With OSGi this is not the case. No longer will you need to check your CLASSPATH variable to avoid running multiple JARs with the same name that may contain conflicting classes. OSGi eliminates this ...

    OSGI合集 OSGi原理与最佳实践

    网上收集的OSGI资料. 包括: OSGi原理与最佳实践(精选版).pdf OSGI实战和源码.rar osgi进阶.pdf Introduce.OSGi.ppt OSGi.in.action.ppt r4.cmpn.pdf r4.core.pdf r4.enterprise.pdf

    OSGI原理与最佳实践

    资源名称:OSGI原理与最佳实践内容简介:国内第一本OSGi图书OSGi国内推广者林昊多年经验的结晶涵盖OSGi从入门到深入的知识体系引领OSGi国内研究和普及本书基于作者多年使用OSGi的经验而编写,涵盖了OSGi从入门到深入...

    利用R-OSGi实现分布式OSGi应用

    利用R-OSGi实现分布式OSGi应用 本文通过介绍传统 OSGi 应用程序及 R-OSGi 的实现方式入手,阐述了 R-OSGi 对于 OSGi 规范的实现方式。然后通过一个简单的功能实现由浅入深地讲述传统 OSGi 和 R-OSGi 上的两种不同...

    《OSGi实战》完整中文版

    《 OSGi实战》是学习OSGi的全面指导,利用与架构和开发人员相关的示例清楚地讲解OSGi概念,同时探讨了很多实践场景和技术,阐述了开发人员有多需要OSGi,怎么将OSGi嵌入其他容器中,将遗留系统移入OSGi的最佳实践,...

    OSGI 实例eclipse插件开发

    OSGI 实例 eclipse 插件开发

    OSGi入门教程(OSGi Introduce)

    OSGi的入门教程,帮助初学者快速了解OSGi的定义、用途及组成。

Global site tag (gtag.js) - Google Analytics