Implementing a real-life application using ZK with cdi.
使用ZK和CDI实现实际应用程序。
To leverage the ZK CDI extension, copy the zkcdi.jar file (in the binary distribution of the ZK CDI extension) into the WEB-INF/lib folder of your Web application project.
要利用ZKCDI扩展,就要复制 zkcdi.jar文件(位于 ZK CDI 扩展的二进制发行版中)到Web应用程序项目下的 WEB-INF/lib文件夹。
Some of the CDI annotations are as follows.
CDI提供的一些注解列举如下。
CDI unifies and simplifies the EJB and JSF programming models.
CDI统一并简化了EJB与JSF的编程模型。
The advent of CDI and JSF2 represents a new direction for Seam.
CDI和JSF 2的出现预示了Seam的新方向。
Results: 59cases were idiopathic CDI, 46cases were secondary CDI.
结果:原发性尿崩症59例,继发性尿崩症46例。
These features are not included in standard EJB or CDI implementations.
这些特性并没有包含在标准的EJB或者CDI实现中。
CDI now USES the annotations defined by JSR-330 to declare injection points.
CDI现在使用JSR- 330所定义的注解来声明注入点。
Seam International, providing localized services to your CDI-based application.
SeamInternational,为基于CDI的应用提供了本地化服务。
This section explores more CDI features by implementing a real-life application.
这一章通过实现实际应用程序来探索更多CDI特性。
The following simple example shows how to access a CDI managed bean from a ZUL file.
下面的这个简单例子演示了如何从ZUL文件访问托管CDIbean。
The ZK CDI extension has features that let you use CDI within the ZK programming model.
ZKCDI扩展具有特性,可让您使用ZK编程模型中的CDI。
Add an empty beans.xml file under the WEB-INF folder to enable dependency injection by CDI.
添加空的beans . xml文件到WEB - INF文件夹下,以启用CDI的依赖注入。
Seam Remoting, an Ajax-based framework for invoking your CDI beans directly from a web page.
SeamRemoting,这是一个基于Ajax的框架,用于从网页中直接调用CDIBean。
After creating the CDI event, the EventManager notifies all interested listeners that a state change has occurred.
创建CDI事件后,EventManager告诉所有相关的侦听器状态发生了改变。
The paper presents the working principle of the digital CDI ignition module and its software and hardware structure.
介绍了摩托车用数字式CDI的工作原理及软、硬件结构。
The CDebugTarget is the root of this wrapper-model hierarchy, and it listens for events fired by the CDI EventManager.
CDebugTarget是这个包装器模型层次结构的根,它侦听由CDIEventManager触发的事件。
According to the CDI specification, having a no-arg default constructor makes this class eligible to be a managed bean.
根据CDI规范,有一个no - arg默认构造函数使得这个类能成为托管bean。
Each changeable aspect of the target is represented by an ICDIObject, and these objects form a hierarchy called the CDI Model.
目标的每个可修改的方面都使用一个ICDIObject表示,并且这些对象组成了一个称为CDI Model的层次结构。
CDI 1.1 aims to address these rough spots, as well as to standardize a few of the most popular extensions the community has built.
CDI 1.1旨在解决这些瑕疵,同时标准化社区所开发的大多数流行的扩展。
This particular system is different from the conventional magnetic inductive system and is called Capacitor Discharge Ignition (CDI).
这种点火方式与传统的通过电磁感应产生高电压点火方式不同,被称为电容放电点火(CDI)。
The MISession object manages communication to the GDB, and the session object connects the GDB session to the CDI described in Part 1.
MISession对象管理与gdb的通信,Session对象把gdb会话连接到第1部分中描述的CDI。
The CDebugTarget responds to CDI events by creating DebugEvents, which are generally related to stepping, breaking, and resuming execution.
CDebugTarget通过创建DebugEvents来响应CDI事件,这个过程通常涉及单步调试、中断、重新执行。
CDI and its pharmaceutical collaborators have begun validating such assays in order to incorporate them into their routine discovery programs.
CDI与其医药合作伙伴已经开始验证这些试剂盒的有效性,以使其结合到常规的药物发现项目中。
Objective:To evaluate the clinical value of the B scan ultrasound and color doppler imaging (CDI) in the diagnosis of orbital vascular disorders.
目的:探讨B型超声和彩色多普勒超声技术在眼眶血管性病变诊断中的临床价值。
If you're a framework developer, you now know exactly what you need to do to integrate your framework with CDI and, by extension, with the EE environment.
如果你是一位框架开发员,那现在就会确切地知道需要做什么来将框架与CDI 集成,进而与EE环境集成。
I will be leading the EG for CDI 1.1 - in fact I've just finished the first draft of the JSR proposal and am collecting feedback before it is made public.
我将担任CDI 1.1的专家组领导——事实上,我刚刚完成该J SR提案的首个草案,正打算在公布前收集一些反馈信息。
Most importantly, CDI now provides a core "engine" which is portable between all ee 6 application servers and is even available for Tomcat, Jetty and Resin.
最重要的是,CDI现在提供了一个核心“引擎”,可以在所有的EE6应用服务器之间移植,甚至还可以用在Tomcat、Jetty和Resin上。
Most importantly, CDI now provides a core "engine" which is portable between all ee 6 application servers and is even available for Tomcat, Jetty and Resin.
最重要的是,CDI现在提供了一个核心“引擎”,可以在所有的EE6应用服务器之间移植,甚至还可以用在Tomcat、Jetty和Resin上。
应用推荐