The code in bold in Listing 1 shows how the portlet deployment descriptor code is modified by the event wizard.
列表1所示的代码,显示了事件向导是怎样编辑portlet部署描述器代码的。
Since the request for the container can be put in the code, the overhead cost of synchronizing the deployment descriptor with the code is minimized.
因为可以将对容器的请求放入到代码中,所以使得对部署描述符与代码进行同步的开销减到最小。
Listing 2 illustrates the code for the deployment descriptor.
清单2举例说明部署描述符的代码。
These descriptions can be provided through annotations in the code or in an XML descriptor file (the entity schema descriptor).
这些描述可通过代码中的注释或XML描述符文件(实体模式描述符)提供。
In the code show in Listing 6, the default value is derived from an EJB environment variable set in the deployment descriptor of the EJB module containing the MDB.
在清单6所示的代码中,缺省值派生自一个EJB环境变量,该变量是在包含MDB的EJB模块的部署描述符中设置的。
The following code sample from the EJB deployment descriptor, shown in Listing 9, can serve as an example.
下列代码示例来自EJB部署描述符,如清单9所示。
Our example MBean code and WebSphere XML MBean Descriptor file are stored in the JAR file located at /build/newmbean/newmbean.jar .
我们的示例MBean代码和WebSphereXMLMBean描述符文件被存储在位于 /build/newmbean/newmbean.jar 的 JAR 文件中。
Click the Source TAB in Web Deployment Descriptor view to see the code added in Web.xml, as shown in Listing 13.
点击WebDeploymentDescriptor视图内的source项,以查看在Web . xml中添加的代码,如列表13所示。
A plugin.xml file that contains the plugin descriptor for the sample code.
一个包含样本代码所需的plugin描述符的plugin . xml文件。
Entity beans are designed to be self-contained components that are configured with a deployment descriptor and can be deployed into any J2EE application server without any code changes.
实体bean被设计成自包含组件,这些组件配置有部署描述符,无需更改任何代码就可以将它们部署到任何J2EE应用程序服务器。
Generate code skeletons along with deployment descriptor information directly into JSR116 projects.
除了将描述符信息直接部署到JSR116项目之外,还产生代码框架。
If you run this code and then browse the queue using WebSphere MQ Explorer, you will see that the message descriptor properties have been set as before.
如果运行此代码,然后使用WebSphereMQExplorer浏览结果,将会看到消息部署描述符属性已像前面一样进行了设置。
Finally, notice that the branch target for the function call is not the code that starts it, but the.opd entry point descriptor.
最后,请注意函数调用的分支目标并不是启动它的代码,而是.opd入点描述符。
Instead, we inline the code into the deployment descriptor, as shown in the e4xstock.wsdd file in the samples for this article.
相反,我们将代码放到部署描述符中,如本文中的一个例子e4xstock. wsdd所示。
To deploy the code as a web service hosted by Axis, you need to create a deployment descriptor, as shown in Listing 2.
要把代码部署为Axis托管的Web服务,您需要创建一个部署描述符,如清单2所示。
Include the XML code shown below in Listing 7 in the web.xml deployment descriptor.
包括以web . xml部署描述符形式显示在列表7中的xml代码。
To read the bytes using the file descriptor obtained in the previous function call, I use the following code. It reads the indicated number of bytes from the file parameter passed.
使用文件描述符读取在之前的功能函数中获得的字节,我使用以下代码。
Listing 14 shows the code change needed in the descriptor, CustomerEJB-openejb.xml.
清单14显示了描述符CustomerEJB - openejb . xml中所需的代码更改。
Some required Settings need to be provided with the portlet's deployment descriptor, and since these items are also supplied by a portlet developer, they are therefore considered custom code.
需要使用Portlet的部署描述符提供一些必须的设置,而且,由于这些项也是由Portlet开发人员提供的,因此被认为是自定义代码。
The client deployment descriptor, in a file called application-client.xml, contains references to the JNDI names of the JMS connection factory and queue that are used in the above code.
客户端部署描述符,在一个称为application-client.xml的文件中,包含对用于上述代码中JMS连接工厂和队列中JNDI名称的引用。
Transformations and transformation extensions: Generating SIP servlet code and deployment descriptor entries.
转变和转变扩展:产生SIP服务小程序和部署描述符实体。
Therefore, you need to declare a local service reference in the client's deployment descriptor. The following code snippet shows how to get a reference to a J2EE-based Web service using JNDI lookup.
因此,您需要在客户端的部署描述符中声明一个本地服务引用。
The BPEL file and the deployment descriptor for the merged production workflow are included in this article's source code (see Download).
合并的生产工作流程的BPEL文件和部署描述符都包含在本文的源代码中(参见下载)。
Writing the source code and deployment descriptor files in a J2EE application can be tedious.
编写J2EE应用程序中的源代码和部署描述符文件可能十分冗长乏味。
Passing the XML file through the EJBMaker generates source code, XML deployment descriptor, and database scripts.
向 EJBMaker传递XML文件将生成源代码、XML部署描述符和数据库脚本。
Along with each implementation class, Castor also generates a descriptor class that contains the binding and validation code.
除了每个实现类,Castor还生成描述符(descriptor)类,该类包含绑定和验证代码。
Category I CPT codes describe a procedure or service identified with a five-digit CPT code and descriptor nomenclature.
类CPT编码由一个五位数cpt编码和描述性术语描述一项程序或者服务。
Objective to analyze the correlation between the phenotype and genotype of tooth agenesis using the tooth agenesis code (TAC) and the traditional descriptor for missing teeth.
目的用先天性缺牙编码(TAC)及传统缺失牙位方式比较先天缺牙表型及基因型的相关性。
Objective to analyze the correlation between the phenotype and genotype of tooth agenesis using the tooth agenesis code (TAC) and the traditional descriptor for missing teeth.
目的用先天性缺牙编码(TAC)及传统缺失牙位方式比较先天缺牙表型及基因型的相关性。
应用推荐