`
mmdev
  • 浏览: 12890600 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

新一代J2ME终端标准MSA for CLDC——解读JSR-248

 
阅读更多

新一代J2ME终端标准MSA for CLDC

——解读JSR-248

田海立

<chsdate year="2006" month="1" day="8" islunardate="False" isrocdate="False" w:st="on"><b style=""><span lang="EN-US">2006-1-8</span></b></chsdate>

摘要

MSAMobile Service Architecture,即移动服务架构) for CLDC定义在JSR-248中。本文根据该规范200596号的Public Review v0.8版来解读它的内容,并结合ME ECPublic Review版的投票结果,来看它的应用前景。

<!--[if supportFields]><span lang=EN-US><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'></span>TOC /o &quot;1-3&quot; /h /z /u <span style='mso-element:field-separator'></span></span><![endif]-->摘要... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497379 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->1<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300370039000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
MSA for CLDC的目的... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497380 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->1<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380030000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
JSR-248规范过程... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497381 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->1<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380031000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
MSA for CLDC的内容... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497382 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->2<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380032000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
应用前景分析... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497383 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->3<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380033000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
1 EC投票情况... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497384 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->3<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380034000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
2 分析... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497385 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->5<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380035000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
总结... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497386 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->5<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380036000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
参考资料... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497387 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->5<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380037000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
关于作者... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497388 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->5<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380038000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->
术语缩写表... <!--[if supportFields]><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'><span style='mso-element:field-begin'></span></span><span style='color:windowtext;display:none;mso-hide:screen;text-decoration:none; text-underline:none'> PAGEREF _Toc124497389 /h </span><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-separator'></span></span><![endif]-->6<!--[if gte mso 9]><xml> <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003100320034003400390037003300380039000000</w:data> </xml><![endif]--><!--[if supportFields]><span style='color:windowtext; display:none;mso-hide:screen;text-decoration:none;text-underline:none'><span style='mso-element:field-end'></span></span><![endif]-->

<!--[if supportFields]><span lang=EN-US><span style='mso-element:field-end'></span></span><![endif]-->

MSA for CLDC的目的

MSA[1] for CLDC[2]定义了具有J2ME[3]功能的移动终端平台所应具有的功能。以前不同移动运营商各自为政,产生了多种不尽相同的自主标准,MSA for CLDC的目的是为了减小这种标准不同而产生各种移动Java之间的隔阂,为开发者提供一个具有高互操作性的应用程序和服务环境。该标准在JTWI[4]JSR[5] 185)标准之上,在考虑向后兼容和兼顾未来的发展的基础上,定义了实现该标准的API集。

JSR-248规范过程

JSR的标准化的一般过程是:

JSR发起人提交最初草案(INITIATION
领域内的执行委员会(EC[6] /Executive CommitteeReview这个草案并对此投票;
如果投票通过,则成立制定该规范的专家组(EG[7] /Expert Group);
EG提交早期草案(EARLY DRAFT)。公众可以阅读此草案并提出自己的意见,同时EG根据这些反馈修正和改进该草案。
EG提交Public草案(PUBLIC DRAFT)。公众再次Review并反馈,EG根据反馈进一步修正该草案。Review过程的后期,EC投票决定标准化过程是否继续;
如果投票通过,并且其参考实现(RI[8] /Reference Implementation)和相应的TCK[9]Technology Compatibility Kit)都已经准备完毕,提交EC做最终版本的批准投票;
ECSpecRIsTCKs做最终投票决定是否批准;
如果投票通过,则最终发布(FINAL RELEASE);
后期版本的维护与升级......

JSR 248定义的是消费和嵌入式领域的内容,属于J2ME的范畴,所以这里的ECME EC。目前JSR 248标准化的进程是EC Public Review的投票已经通过。

JSR 248规范的EG16家公司的代表组成,该专家组的组长Leader)由VodafoneNokia的代表担当。专家组16家公司分别是:BEABenQCingular WirelessMotorolaNokiaNTT DoCoMoOrangeRIMSamsungSiemensSony EricssonSprintSunT-MobileVodafone。他们以移动运营商和终端厂商为主,还有其他相关厂商的参加,基本代表了相关涉众(Stakeholder)的权益。

MSA for CLDC的内容

从目前Public Review v0.8的版本来看,MSA for CLDCJTWI所定义的统一的Java应用程序环境的基础上,加入了对Java新技术和feature的支持,兼容旧JTWI环境的同时又考虑未来向MSA for CDC[10](定义在JSR 249规范中)环境的发展趋势。JSR 248规范是对Java的架构的一个定义,该架构规定了端到端的无线环境中具有Java功能的终端所必需具有的客户端的组件(Component),还定义了如何把这些组件集成在一起来构建一个最佳的移动Java平台。

为此,JSR 248采用了以往其他JSR规范的定义,把他们以Component JSR纳入自身体系。JSR 248所采用的Component JSR如下他们基本都是JSR 248强制Mandatory,按照该规范必须实现)的,或是条件强制(Conditionally Mandatory,如果条件满足,按照该规范必须实现)的组成部分。

JSR 75 – PDA Optional Packages for the J2ME Platform Version 1.0
JSR 82 – Java APIs for Bluetooth Version 1.1
JSR 118 – Mobile Information Device Profile 2.0 Version <chsdate year="1899" month="12" day="30" islunardate="False" isrocdate="False" w:st="on">2.0.1</chsdate>
JSR 135 – Mobile Media API Version 1.1
JSR 139 – Connected Limited Device Configuration 1.1 Version 1.1
JSR 172 - J2ME Web Services Specification Version 1.0
JSR 177 – Security and Trust Services API for J2ME Version 1.0
JSR 179 – Location API for J2ME Version 1.0.1
JSR 180 – SIP API for J2ME Version 1.0.1
JSR 184 - Mobile 3D Graphics API for J2ME Version 1.1
JSR 185 – Java Technology for the Wireless Industry Version 1.0
JSR 205 – Wireless Messaging API 2.0 Version 2.0
JSR 211 – Content Handler API Version 1.0
JSR 226 - Scalable 2D Vector Graphics API for J2ME Version 1.0
JSR 229 – Payment API Version 1.0
JSR 234 – Advanced Multimedia Supplements Version 1.0
JSR 238 – <place w:st="on">Mobile</place> Internationalization API Version 1.0

JSR 248对各个Component JSR有可能有不明确的地方加以澄清,并对把他们集成在一起带来的兼容性和不明确性的问题对每个Component JSR都分别加以说明。在已有JSR之外,JSR 248还另外定义了其他的需求,这最主要的是安全方面的。JSR 248甚至还对硬件提出了最小需求和推荐配置,比如屏幕尺寸,色彩和内存容量等。

应用前景分析

MSA for CLDC的前景,不能光凭一家之言,看看ME ECJSR 248 Public Review的投票情况就能看出些端倪,这些代表不同立场的EC们的备注就表明了他们对MSA for CLDC目前情况的观点。

1 EC投票情况

ECExecutive Committeefor J2ME16家公司组成,他们对该JSR for CLDC Public Review版的投票结果如下:

EC投票结果一览

EC投票结果一览

投票已经通过,重要的是他们都说了些什么,为什么有些公司投弃权票,下面是投票的记录。我们来重点来关注他们的Comments,为了明确起见,笔者用了下面的标识方式:

- 黑色加粗字体标识某个EC

- 红色加粗字体标识该EC所投的票。

On <chsdate year="2005" month="10" day="20" islunardate="False" isrocdate="False" w:st="on">2005-10-20</chsdate>Vodafone Group PLC voted Yes with no comment.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="20" islunardate="False" isrocdate="False" w:st="on">2005-10-20</chsdate>Sony Ericsson Mobile Communications AB voted Yes with no comment.

------------------------------------------------------------------------------

On <chsdate isrocdate="False" islunardate="False" day="23" month="10" year="2005" w:st="on">2005-10-23</chsdate>Sun Microsystems, Inc. voted Yes with the following comment:
Sun is encouraged with the progress made by the JSR-248 expert group and the contribution this specification will make to the wireless industry. However, Sun believes that the smaller version of the JSR-248 specification (fewer component JSRs) contemplated by the EG is also necessary to facilitate a smoother transition from JSR-185 (JTWI) and meet the requirements of mass market devices.
Additionally, Sun believes the policy that the current draft recommends for referencing the version number of the component JSRs should be modified to provide a more predictable platform for application developers and help minimize fragmentation.

------------------------------------------------------------------------------

On <chsdate isrocdate="False" islunardate="False" day="23" month="10" year="2005" w:st="on">2005-10-23</chsdate>Orange France SA voted Yes with the following comment:
The Mobile Security Architecture expert group has done an outstanding job. MSA EG has collected, organized, addressed and dispatched an incredible amount of clarifications for many important packages. This work is likely to have a dramatical impact over the Java ME ecosystem. Nevertheless, <city w:st="on"><place w:st="on">Orange</place></city> believes too few vendors will be able to bring the full JSR 248 technology to the market within an acceptable timeframe. This issue should be addressed in final release in order to bring MSA's benefit to the largest number as fast as possible.

------------------------------------------------------------------------------

On <chsdate isrocdate="False" islunardate="False" day="23" month="10" year="2005" w:st="on">2005-10-23</chsdate>Research In Motion, LTD (RIM) voted Yes with the following comment:
Research In Motion welcomes the community-wide effort to define a common Java application platform in mobile environment that meets different segments of the mobile industry. The platform needs to balance the needs of different regions, type of in-market handsets as well as application types (e.g. Games/Entertainment, <city w:st="on"><place w:st="on">Enterprise</place></city>) and believe that a single collection of JSRs is hard pressed to meet all the needs. The current platform is most appropriate for highly capable multimedia handsets / applications but too large for a majority of handsets thereby not addressing a large industry segment. We therefore request SLs to consider creating at least one subset of the overall set of JSRs so that it can serve as a minimum subset that meets most of the industry needs. This is in addition to the current specification and we believe this is feasible in the same timeframe as set for JSR 248.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>IBM voted Yes with no comment.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>Nokia Mobile Phones voted Yes with no comment.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>Siemens AG voted Yes with no comment.

------------------------------------------------------------------------------

On <chsdate isrocdate="False" islunardate="False" day="24" month="10" year="2005" w:st="on">2005-10-24</chsdate>NTT DoCoMo, Inc. voted Abstain with the following comment:
NTT DoCoMo fully supports the targeted goal and objectives of this JSR. In this context, we also value many of the feedbacks from the community. Regarding the recent situation, it seems that the current "full" specification is not completely satisfying the majority of market, especially in terms of its balance of functionality and size/cost; as we had pointed out at the very beginning of the activity. We strongly encourage the EG to reconsider these issues, but also fully appreciate the SLs' great effort to move this forward to be on time. Our abstain vote is based on this background, and hoping every related party to take chance to carefully review the specification regarding this perspective.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>Philips Electronics UK Ltd voted Abstain with the following comment:
With the advertised price of TCKs being $50K per JSR, we wonder if the TCKs needed for MSA will actually be affordable for smaller manufacturers.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>Intel Corp. voted Yes with no comment.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>Samsung Electronics Corporation voted Abstain with no comment.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>Matsushita Electric Industrial Co., Ltd. voted Abstain with no comment.

------------------------------------------------------------------------------

On <chsdate year="2005" month="10" day="24" islunardate="False" isrocdate="False" w:st="on">2005-10-24</chsdate>Motorola voted Yes with no comment.

------------------------------------------------------------------------------

2 分析

ME EC都对JSR 248的目的和动机以及JSR 248 EG的工作表示了肯定。做出JSR 248的完全实现是个什么概念,也就是除了具有基本的MIDP 2.0CLDC 1.1 Java功能之外,还具有无线消息、蓝牙、多媒体、2D/3DPDASIPWeb Service、支付、安全、位置服务以及国际化支持等功能。

这样的移动终端开发出来固然功能十分强大,但它的市场定位,市场表现呢?据说定位是中低端市场,MSA for CDCJSR 249)才是高端市场。那么JSR 248的前景到底如何?从ME EC投票的Comment中也可以找到他们对此的担心,总结起来有:

JTWIJSR185)到MSA for CLDCJSR 248)的平滑过渡问题。目前市场主体还是MIDPCLDC,连JWTI都还没有普及,SUN的观点是做一个JSR 248的小版本,包含一些Component JSR来满足目前这个巨大的市场。[SUN: Yes]
要更具有可预见性,满足未来的发展并减小他们之间的隔阂。[SUN: Yes] [注:JSR 248中指定的是Component JSR一个版本,但由于他们本身也是独立发展演进的,未来某个Component JSRJSR 248中指定的版本就会有差距,因而会出现这种问题]
一定时间内,很少有厂家能够开发出具有完全JSR 248 技术的产品。[Orange: Yes]
考虑不同市场和领域,应该制定最小的子集来满足这些主体需求。[RIM: Yes]
JSR 248不能完全满足市场的主体,突出表现在功能与尺寸大小和价格的平衡问题上不能很好的满足。[NTT DoCoMo: Abstain]
TCK测试费用巨大。每一个JSRTCK测试费用是$50K,那么只是为了通过MSA for CLDC的测试所需的费用就不是一般厂商能够负担得起的。[Philips: Abstain]

总结

其实,EC也是各方利益的代表,从他们的观点也看出MSA for CLDC的前途。总的来说,MSA for CLDC前途是很美好,但有个前提——他能被市场接受和认可,并有不俗的表现。鉴于JSR 248EGME EC都有运营商和终端厂商中的国际巨头在参与,并且考虑<chmetcnv unitname="g" sourcevalue="3" hasspace="False" negative="False" numbertype="1" tcsc="0" w:st="on"><span lang="EN-US">3G</span></chmetcnv>终端市场以运营商为主体的运营模式,JSR 248也许会是未来J2ME领域统一的标准。

我们拭目以待!

参考资料

1. JCP网站:http://www.jcp.org/
2.
JSR 248, Expert Group. Mobile Service Architecture for CLDC. Public Review Version 0.80 – 06-September-2005

关于作者

田海立,国家认证系统分析师,中国系统分析员协会专业顾问您可以通过 haili.tian@csai.cn tianhaili@nju.org.cn 与他联系,到 http://blog.csdn.net/thl789/ 看他最新的文章。

术语缩写表

[1]MSA - Mobile Service Architecture
[2]
CLDC - Connected Limited Device Configuration
[3]
J2ME – Java 2 Platform, Micro Edition
[4]
JTWI – Java Technology for Wireless Industry
[5]
JSR - Java Specification Request
[6]
EC - Executive Committee
[7]
EG - Expert Group
[8]
RI - Reference Implementation
[9]
TCK - Technology Compatibility Kit
[10]
CDC - Connected Device Configuration

(本文可自由转载,但必须给出原文链接:http://blog.csdn.net/thl789/archive/2006/01/08/573521.aspx)。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics