The next step is to deploy and run the service bundle.
下一步是部署和运行服务包。
You have to first start the service bundle and then the client bundle.
必须首先启动服务包,然后启动客户端包。
In this article we did not use any of the cxf-dosgi API classes in our pojo service bundle.
在本文中,我没有使用pojo服务包中的任何cxf - dosgiapi类。
The question really is, how does the client bundle know about the registered service bundles?
真正的问题是,客户端包如何知道注册的服务包?
Since Eclipse and Tomcat are running in two different JVMs, we have tested the service bundle with a distributed client.
由于Eclipse和Tomcat在两个不同的JVM中运行,我们已经用一个分布式客户机测试了服务包。
If a client of a service resides outside this OSGi container then the service bundle need to have distributed capability.
如果一个服务的客户端位于这个osgi容器的外部,那么这个服务包需要有分布式功能。
You can use the Mobile Web Services generator wizards to generate the entire Web service bundle for a given resource description.
您可以使用MobileWebServices生成器向导为给定的资源描述生成完整的Web服务bundle。
The client bundle Manifest typically imports the service component package, while the service bundle Manifest exports its own package.
客户端包manifest通常导入服务组件程序包,而服务包manifest导出自己的程序包。
Any responses from the resource (including exceptions) are routed back through the adapter and the Web service bundle to the requestor as normal responses or faults.
资源的任何响应(包括异常)将通过适配器和Web服务bundle作为正常响应或错误返回给请求方。
Before we develop a distributed service bundle we first prepare the osgi container by starting the container and registering cxf-dosgi as the service provider enabler.
在开发一个分布式服务包之前,首先启动容器并把cxf - dosgi注册为服务提供商enabler,从而为osgi容器做准备。
Following is the source code showing how message queue provider Bundle provides message queue framework functions in the form of a Bundle service.
下面是显示消息队列提供者束如何以束服务的形式提供消息队列框架功能的源代码。
Message queue provider implements the framework and provides the framework functions in the form of a Bundle service.
消息队列提供者实现框架并以束服务的形式提供框架功能。
Many telephone plans bundle "free" unlimited long-distance service with local calling service.
在市话服务中,有许多电话计划都包括“免费”无限制长途电话服务。
Bundle all this stuff into an EAR file and you've got yourself a Web service of the original application.
将这些材料打包成一个EAR文件,您就得到了原始的应用程序的Web服务。
Moving the Blether service into the persistence bundle.
将Blether服务迁移到持久性捆绑包中。
With the Blether service now in the persistence bundle, you need to ensure that it can be reached by servlets in the Blether WAR.
现在Blether服务存在于持久性捆绑包中,您需要确保它可由BletherWAR中的servlets访问。
Instead of registering the service via the Bundle-Activator, we can ask DS to register it upon component startup.
我们可以让DS在服务启动时注册它,而不是通过Bundle - Activator注册该服务。
I have described a step-by-step approach to developing and deploying a web service as an OSGi bundle and invoking the service using a simple web application client.
我已经描述了把web服务作为一个osgi包进行开发和部署以及使用一个简单的web应用程序客户机调用服务的详细方法。
An interesting feature of deploying a web service as an OSGi bundle is multiple versions of a web service can be deployed simultaneously.
把Web服务作为一个osgi包进行部署的一个有趣功能就是可以同时部署一个Web服务的多个版本。
OSGi has long had a service Tracker, which keeps an eye on services that come and go; the bundle Tracker is an extension of that concept for tracking bundles.
OSGi早就有了一个服务跟踪器(Service Tracker)用于监控进出的服务,bundle跟踪器是对服务器跟踪器概念的一个延伸,用于监控bundle的信息。
Using this framework, one can develop and deploy a web service as an OSGi bundle.
通过使用这个框架,我们可以把Web服务作为osgi包进行开发和部署。
The ServiceEvent and BundleEvent classes contain detailed information about a change, including a reference to the service or the bundle.
ServiceEvent和BundleEvent 类中包含有关更改的详细信息,其中包括对服务或bundle 的引用。
If roundtripping were perfect, you could simply bundle your original application code into an EAR file with the generated artifacts and you would have yourself a merry little Web service.
如果往返是完美的,您就能够简单地使用生成的构件来将您最初的应用程序代码打包成ear文件,这样您就有了一个可爱的小web服务。
Zune, in other words, is a proprietary bundle of hardware, software and service—exactly like Apple's iPod-iTunes combination.
换句话说,Zune是一个集硬件、软件和服务于一身的专利包——与苹果的iPod-iTune组合一模一样。
It's important that the interface to the shortening service is in a separate bundle from any implementations (or clients).
把缩写服务接口与其实现(或client)分开放在单独bundle中是很重要的。
An OSGi bundle that encapsulates one or more stateful OSGi service objects that must be exposed as a WS-Resource.
资源是封装了一个或多个必须公开为WS - Resource的有状态osgi服务对象的OSGibundle。
You are expected to provide the implementation of the service object as an OSGi bundle.
您需要提供服务对象的实现作为OSGibundle。
As soon as this bundle starts, the shortening service will be made available to clients.
只要该bundle一启动,缩写服务就可用了。
In Equinox's case, it's provided by osgi.services, but in Felix, the interface is exported by the SCR (service Component Registry, aka DS) bundle itself.
在Equinox环境下,是由osgi . services提供,但在Felix环境下,接口由SCR (serviceComponentRegistry——服务组件注册)bundle自身输出。
Bundle what you need done into a work request in shoot back into the Queuing Service for processing.
把需要做的事打包进工作请求,放回到队列服务中等候处理。
应用推荐