Converting the Web module to a Web application bundle.
将Web模块转化为一个Web应用程序包。
The WAR component becomes a Web application bundle (WAB).
WAR组件成为一个Web应用程序捆绑包(WAR)。
Let's look at how to create an order application bundle using a Felix-based OSGi framework.
接下来让我们看看如何使用基于Felix的OSGi框架创建订单应用程序包。
Detect a web application bundle embedded on a website and prompt the user to install it.
侦测网站中内嵌的web应用包,并即时提示用户安装该应用。
If you are creating a new application, make sure it is contained in an application bundle.
如果您在创建一个新的程序,确保它已经包含在一个程序包中。
To be safe, provide a self-contained application bundle to save your users from dependency hurdles.
为了更加安全,它提供了一个自包含的应用程序来帮助用户克服依赖性的问题。
The shipping version of the app will include a version of the data in the application bundle, but the demo does not.
应用程序的正式版本将会在应用程序包中包括数据,但演示应用程序却没有。
Include all required resources inside your application bundle. Your application bundle should always have everything it needs in order to run.
在程序包中包含所有的资源文件以及程序运行必须的所有文件。
It provides options to compile ahead-of-time your application's Ruby source code as well as relocating the MacRuby framework inside the application bundle.
macruby _deploy提供了选项提前编译应用程序的ruby代码,还能将macruby框架放入应用程序中。
To organize the EmployeeListApp to use a dynamic web project rather than a web application Bundle for the web front end in the OSGi application, follow these steps.
您可以按照下面的步骤,来组织EmployeeListApp,以使用一个动态的网络项目,而不是OSGi框架网络前端的WebApplication bundle。
First, we will demonstrate the example where an existing Web Application containing JPA is converted to an OSGi Web Application Bundle and deployed with an OSGi Application.
首先,我们将会向您演示一个包含J PA的已有的网络应用程序是怎样转化为osgiWebApplication Bundle,并部署为osgi框架。
For deployment purposes, you might wish to bundle several functional areas into a single composite application.
为了方便部署,您可能希望将多个功能区合并到一个复合应用程序中。
And, if your application only supports your native tongue and location, then for most cases, you won't have to add entries in the resource bundle.
并且,如果您的应用程序只支持本国语言和位置,那么在大多数情况下,不必向资源包中添加新条目。
You'll only have to add entries in the resource bundle if you want a special label or if you start to use your application for other languages and/or locations.
只有在您希望使用特殊标签或用其他语言和/或在其他位置使用该应用程序时,才需要向资源包中添加条目。
After the resource bundle and utility are ready, you notify the application regarding what language should be used when it launches.
资源包和实用程序准备就绪后,要通知应用程序在启动时应该使用哪种语言。
For the sample application described above, the new bundle manifest would look like Listing 6.
对于上述样例应用程序,新捆绑包清单如清单6所示。
The application will initialize the resource bundle using the system locale.
应用程序将使用系统位置初始化资源包。
As a result, the application space is reduced, because it leverages the single copies of common libraries managed by the bundle repository.
结果,应用程序空间减少了,因为它使用了引用附件管理的库的单独拷贝。
RAD introduces new project types for OSGi Bundle projects and OSGi application projects, with automated generation of manifests and forms-based editors to modify them.
RAD为OSGiBundle项目和OSGi应用项目引入了新的项目类型,可以自动生成Manifest信息,并提供了格式化的编辑器。
You need to move the application logic that uses the JPA services from theWeb module to the persistence bundle.
您需要将使用JPA服务的应用程序逻辑从Web模块迁移到持久性捆绑包。
This header defines the logical contents of the application; in this case, the Web bundles and the persistence bundle.
该头定义应用程序的逻辑内容;在本例中是Web捆绑包和持久性捆绑包。
First, you will convert the Web module into a proper bundle, which is a prerequisite to authoring a complete application manifest.
首先,您要将Web模块转化成一个合适的捆绑包,这是创建一个完整应用程序清单的先决条件。
With these changes, the persistence bundle and core application logic is in good (OSGi) shape.
有了这些变更,持久性捆绑包和核心应用程序逻辑就安排妥当了(osgi)。
Bundle-Version becomes particularly important if an OSGi application becomes complex and many versions exist of a specific bundle.
如果OSGi应用程序很复杂且一个特定捆绑包存在许多版本时,Bundle - Version将更加重要。
For instance, if you bundle your custom binder within your EJB jar or web application war file, the custom binder will be available only to that particular module.
例如,如果您在EJBjar或web应用程序war文件中绑定了您的自定义绑定器,则该自定义绑定器将仅在特定的模块中可用。
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应用程序客户机调用服务的详细方法。
How do you know which Web application contains the resource bundle for a particular message key?
您如何知道哪个Web应用程序包含针对特定消息键的资源包?
You can now choose the 1.1.0 version of the persistence bundle and select the Preview button to re-resolve the application and check for any inconsistencies.
您现在可以选择这个持久性bundle的1.1.0版并选择P review按钮来重新解算应用程序,并检查任何不一致。
Another area of active development in Aries is the "application" concept, which is a way of grouping bundles into a single application or Enterprise bundle Archive (EBA).
Aries积极开发的另一个领域是“应用程序”概念,这是将bundle分组为单个应用程序或EnterprisebundleArchive (EBA)的一种方式。
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服务。
应用推荐