您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Modular Java.pdf
  所属分类: Java
  开发工具:
  文件大小: 3mb
  下载次数: 0
  上传时间: 2009-08-30
  提 供 者: johnm******
 详细说明: 1 Introduction 10 1.1 A New Set of Wheels . . . . . . . . . . . . . . . . . . . . 11 1.2 Modularity . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.3 Introducing OSGi . . . . . . . . . . . . . . . . . . . . . . 15 1.4 Road Map . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.5 Who Is This Book For? . . . . . . . . . . . . . . . . . . . 21 1.6 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . 21 I OSGi Fundamentals 23 2 Getting Started 24 2.1 Getting to Know the OSGi Container . . . . . . . . . . . 24 2.2 Hello, OSGi . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2.3 A Hello World Service Bundle . . . . . . . . . . . . . . . 36 3 Dude, Where’s My JAR? 45 3.1 Searching for JAR Files . . . . . . . . . . . . . . . . . . . 45 3.2 Designing the Application Components . . . . . . . . . 46 3.3 Bundling the Application Components for OSGi . . . . 48 3.4 Setting Up the Project . . . . . . . . . . . . . . . . . . . 50 4 Working with Bundles 59 4.1 Creating the Domain Bundle . . . . . . . . . . . . . . . 59 4.2 Contending with Nonbundle Dependencies . . . . . . . 69 4.3 Following the Bundle Life Cycle . . . . . . . . . . . . . . 78 5 OSGi Services 80 5.1 Creating an OSGi Service . . . . . . . . . . . . . . . . . 80 5.2 Testing the Service . . . . . . . . . . . . . . . . . . . . . 91 5.3 Consuming OSGi Services . . . . . . . . . . . . . . . . . 100 Prepared exclusively for Larry Cormier CONTENTS 8 II Spring Dynamic Modules and Web Bundles 109 6 Spring and OSGi 110 6.1 Introducing Spring-DM . . . . . . . . . . . . . . . . . . . 111 6.2 Declaring Services . . . . . . . . . . . . . . . . . . . . . . 115 6.3 Injecting Services into Consumers . . . . . . . . . . . . 122 7 Creating Web Bundles 129 7.1 Assembling a Web Server . . . . . . . . . . . . . . . . . . 129 7.2 The Spring-DM Web Extender . . . . . . . . . . . . . . . 137 7.3 Developing a Web Bundle . . . . . . . . . . . . . . . . . 142 7.4 Deploying the Web Bundle . . . . . . . . . . . . . . . . . 150 8 Extending Bundles 159 8.1 Introducing Fragments . . . . . . . . . . . . . . . . . . . 159 8.2 Creating a UI Fragment . . . . . . . . . . . . . . . . . . 161 8.3 Trying It . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 III Finishing Touches 171 9 OSGi in Production 172 9.1 Distributing the Application . . . . . . . . . . . . . . . . 172 9.2 Adding an Administration Console . . . . . . . . . . . . 181 10 Configuring the Application 186 10.1 Installing Pax ConfMan . . . . . . . . . . . . . . . . . . . 187 10.2 Configuring the Web Console . . . . . . . . . . . . . . . 188 10.3 Adjusting Logging . . . . . . . . . . . . . . . . . . . . . . 190 10.4 Configuring Application Details . . . . . . . . . . . . . . 191 10.5 Configuring the Web Server . . . . . . . . . . . . . . . . 197 A Manifest Headers 202 A.1 OSGi R4 Headers . . . . . . . . . . . . . . . . . . . . . . 202 B Spring-DM Configuration 204 B.1 Spring-DM Core Configuration Elements . . . . . . . . 204 B.2 Spring-DM Compendium Configuration Elements . . . 212 Report erratum this copy is (P1.0 printing, May 2009) Prepared exclusively for Larry Cormier CONTENTS 9 C The OSGi Blueprint Service 216 C.1 Comparing the Blueprint Service with Spring-DM . . . 216 C.2 OSGi Blueprint Services (RFC-124) Elements . . . . . . 217 C.3 OSGi Blueprint Services (RFC-124) Compendium Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 D Resources 231 E Bibliography 233 Index 234 Report ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: pdf java java建模
 输入关键字,在本站1000多万海量源码库中尽情搜索: