单词 | Java bean |
释义 | 例句释义: 爪哇豆,属性,的索引属性,组件 1. In fact, avoiding this style of coupling was one of the motivating factors behind the creation of Enterprise JavaBeans (EJB) technology. 实际上,避免这类耦合是创建企业JavaBean(EJB)技术背后的一个动机。 www.ibm.com 2. As you can see, the Channel class is nothing more than a straightforward JavaBean that describes information contained in the stanza. 如上所示,Channel类无非是一个直观的JavaBean,它描述包含在节中的信息。 www.ibm.com 3. To create Java Beans to handle the serialization and deserialization of a data-type bean's wire format, referred to as format handler. 为了创建JavaBean来处理数据类型bean有线格式的序列化和反序列化,也称为格式处理器。 www.ibm.com 4. The deployment descriptor provides the name of a JavaBean class that will provide the implementation of this object. 接口的对象。部署描述符提供了能提供这个对象实现的JavaBean类的名称。 www-128.ibm.com 5. These services can be implemented as remote Enterprise JavaBeans (EJB) method calls, web services, or CORBA calls, just to name only a few. 这些服务可以作为远程企业JavaBean(EJB)方法调用、Web服务或CORBA调用(这里只列出几个)来执行。 www.ibm.com 6. It is possible to put a more complex object here, such as a Java bean, however. 但是您可以在这里放置一个更复杂的目标,比如一个Javabean。 www.ibm.com 7. As to it's of the design and the business enterprise JavaBean distribute type carried out a method to carry on elucidation technically. 对其的设计以及企业JavaBean分布式技术的实现方法进行了说明。 zhidao.baidu.com 8. If all you're doing is providing a means of abstracting your file names from your JSP pages, then JavaBean classes are a great solution. 如果您只是要提供一种从JSP页面提取出文件名的方法,那么JavaBean类是最佳解决方案。 www.ibm.com 9. These JavaBeans will implement the operations necessary to carry out the use-cases identified in this document. 这些JavaBean将实现完成这篇文档中确定的用例所必需的各种操作。 www.ibm.com 10. Among the five features a JavaBean is expected to support is a set of properties and associated accessor methods. 一组属性,以及与这些属性相关的一些访问器方法,就是JavaBean所要支持的五大特性之一。 java.vkfz.com 1. The wizard creates an HTML input form, a JSP output page, a servlet, and a Java bean to hold the results data. 向导将创建一个HTML输入表单、一个JSP输出页、一个servlet和一个用来保存结果数据的Javabean。 www.ibm.com 2. In many cases, however, you want to call instance methods of the JavaBean objects. 但在多数情况下,您需要调用JavaBean对象的实例方法。 www.ibm.com 3. To create Java Beans for all XML Schema Definitions found in . wsdl and . xsd files, referred to as data-type beans. 为所有.wsdl和.xsd文件中发现的XML格式定义创建JavaBean,也称为数据类型bean。 www.ibm.com 4. One of the most often used scenarios involving Spring is to configure and drive business logic using simple Java bean classes. 涉及Spring的最常用场景之一是使用简单的JavaBean类配置并驱动业务逻辑。 www.ibm.com 5. Notice that the return value is no longer a primitive type but rather a collection of user-defined JavaBeans. 注意到返回值不再是原语类型,而是用户定义的JavaBean集。 www.ibm.com 6. I'll then demonstrate a couple of new techniques that are especially suitable for securing JavaBeans used in JSF applications. 然后演示两项新技术,这些新技术特别适合在JSF应用程序中保护JavaBean。 www.ibm.com 7. Identify or create JavaBeans that represent the data types of the input and output parameters of a service interface. 标识或创建JavaBean来代表服务接口输入和输出参数的数据类型。 www.ibm.com 8. These classes embodied business logic and ferried data, in the form of a JavaBean commonly called an ActionForm, to JSPs. 这些类包含业务逻辑,以JavaBean的形式(通常叫做ActionForm)把数据传送到JSP。 www.ibm.com 9. LineItem. java - JavaBeans used to hold values when data is transferred between the model and view of the application. java——当数据在应用程序的模型和视图之间传输时用于保存值的JavaBean。 www.ibm.com 10. Using Groovy beans in a Spring application is just as easy as using Java beans. 在Spring应用程序中使用Groovybean很容易,就像使用Javabean一样。 www.ibm.com 1. We grouped the JavaBean property with its corresponding getter and setter for convenience in this exercise. 在这个练习中,为了方便起见,我们根据JavaBean属性以及相应的getter和setter对其进行分组。 www.ibm.com 2. Model annotation identifies a Java bean as a model object in an Model-View-Controller (MVC) architecture. Model注解会在MVC架构下将某个JavaBean标识为一个模型对象。 www.infoq.com 3. The Enterprise JavaBeans (EJB) specification provides services for security, persistence, transactions, messaging, and remoting. 企业JavaBean(EJB)规范提供安全性、持久性、事务、消息和远程的服务。 www.ibm.com 4. Seam creates JavaScript structures to emulate any JavaBean classes that are used in the method signatures of the server-side components. Seam创建JavaScript结构来模仿服务器端组件的方法签名中所用的JavaBean类。 www.ibm.com 5. Components like form field components have a ValueBinding that must be bound to a JavaBean read-write property. 像表单字段组件这样的组件拥有一个ValueBinding,它必须绑定到JavaBean的读写属性。 www.ibm.com 6. Note that since the Java bean class already exists, the wizard's Bean Field page is omitted from being presented to the user. 注意,由于Javabean类已经存在,该向导的BeanField页面被省略,没有提供给用户。 www.ibm.com 7. For example, a JavaBean used in a JSP can represent the proxy settings and is shared across the project, as shown in Listing 10. 例如,JSP中使用的一个JavaBean可以表示代理设置,可以在整个项目中共享它,见清单10。 www.ibm.com 8. A HATS Integration Object is a JavaBean that encapsulates a programmed interaction with a host application. HATS集成对象是JavaBean,可封装与主机应用程序间交互代码。 www-128.ibm.com 9. As mentioned, this is just a standard Java bean: three fields with corresponding getters and setters. 如前所述,这只是一个标准的Javabean:三个字段带有相应的getters和setters。 www.ibm.com 10. An enterprise service can be offered to clients as a web service, a session EJB (Enterprise JavaBean) component, or a message-driven bean. 企业服务可以作为Web服务、会话EJB(EnterpriseJavaBean)组件、或消息驱动Bean提供给客户。 www.ibm.com 1. The Options class exists as a simple Java bean but without the getter and setter methods typically seen on Java beans. Options类作为简单JavaBean存在,但没有JavaBean上典型的getter和setter方法。 www.ibm.com 2. Match the JavaBean property names, and coding the bean first ensures that you set these parameter names properly when coding your JSP page. 与JavaBean特性名相匹配,先对bean进行编码确保了您在对JSP页面进行编码时能正确设置这些参数名。 www-128.ibm.com 3. Also, using the JSP and a Java Bean provides a clean separation between the display of content and the content itself. 同样,使用JSP和JavaBean清晰划分了内容显示和内容本身。 www-128.ibm.com 4. Use any JavaBean to capture form input or put properties directly on an Action class. Use both binary and String properties! 使用任何JavaBean去捕获表单输入或设置属性,包括二进制或者字符串形式的属性! www.javaeye.com 5. Spring AOP provides several aspects that make it possible to declare transaction policies for JavaBeans. SpringAOP提供了几个方面,可以为JavaBean声明事务。 www.ibm.com 6. Now assume the schema is modified, and the Java beans generated for the old schema can no longer use the new schema to process the XML. 现在假设模式被更改,为旧模式生成的Javabean再也不能使用新模式处理XML。 www.ibm.com 7. The POJO in Listing 6 is an example of a typical JavaBean that can be used to connect the data layer to the XML within the Spring framework. 清单6中的POJO是一个典型的JavaBean例子,它可用于在Spring框架内连接数据层与XML。 www.ibm.com 8. By default the Scala compiler does not generate getters and setters that comply with the JavaBeans convention. 默认情况下,Scala编译器并不会生成符合JavaBean约定的getter和setter方法。 www.infoq.com 9. This causes the Axis server engine to run the decompression filter before passing the request to the JavaBean. 这就促使Axis服务器引擎在将请求传递给JavaBean之前先运行解压缩过滤器。 www.ibm.com 10. It does not matter whether the remote call invokes Enterprise JavaBeans (EJBs), web services, or JDBC providers. 无论远程调用企业JavaBean(EJB)、Web服务或JDBC提供者,该理论都适用。 www.ibm.com 1. Like parameters, result objects can be a JavaBean, a Map, a primitive type wrapper, or XML. 与参数类似,结果对象可以是JavaBean、Map、原始类型包装器或XML。 www.ibm.com 2. For simpler operations, though, or cases where you're really just mapping constants to file names, JavaBean classes may be all you need. 对于比较简单的操作,或者确实希望为文件名映射常量时,JavaBean类正符合您的需求。 www.ibm.com 3. The JavaBeans and classes that define the model and implement controller logic are associated with the application components via bridges. 定义模型与实现控制器逻辑的JavaBean和类通过桥与应用程序组件相关联。 www.ibm.com 4. The same deployment descriptor file also contains the address of the JavaBean component that implements the interface. 同样的部署描述符文件还包含了实现接口的JavaBean组件的地址。 www.ibm.com 5. This means the framework must get the data from the JavaBean objects and include it into the HTML form when a Web page is requested. 这意味着当Web页面被请求时,框架必须从JavaBean对象获取数据并将其包含到HTML表单中。 www.ibm.com 6. This causes the Bus off-ramp to run the decompression filter before passing the request to the JavaBean. 这就促使总线出站在将请求传递给JavaBean之前要运行解压缩过滤器。 www.ibm.com 7. Let's create a simple example JavaBean that fulfills all the necessary requirements. 让我们创建一个简单的JavaBean示例,使它满足所有必需的要求。 www.ibm.com 8. The namespaces of the embedded schema types are typically generated from the Java package names of the server-side JavaBeans. 嵌入的模式类型的名称空间通常从服务器端JavaBean的Java包的名称生成。 www.ibm.com 9. Similar to Java Beans, an ActiveX control is a component and equivalent to an "OLE Object" and Component Object Model (COM) Object. 与JavaBean类似,ActiveX控件也是一个组件,并且与“OLE对象”和组件对象模型(COM)对象等效。 msdn2.microsoft.com 10. These components, or JavaBeans, then perform back-end business processing on behalf of the presentation tier. 这些组件或者JavaBean再代表表示层执行后端业务处理。 www.ibm.com 1. As with any volatile variable, there may be no invariants or constraints involving the properties of the JavaBean. 对于任何volatile变量,不变式或约束都不能包含JavaBean属性。 www.ibm.com 2. With this approach, see how the mapping between pureXML data and Java beans can be done in the application layer. 按照这种方式,pureXML数据和Javabean之间的映射可以在应用程序层执行。 www.ibm.com 3. The fully qualified class name of the JavaBean components representation of the XML schema type defined in the class-type element. 在class-type元素中定义的XMLSchema类型的JavaBean组件表现的合格类名。 www.ibm.com 4. Create enterprise services and generate service proxy JavaBean components that access the corresponding EISs. 创建企业服务并生成访问相应的EIS的服务代理JavaBean组件。 www.ibm.com 5. This is a fairly concise (as XML goes) language to specify a Java bean class in terms of its properties. 这是一种十分简明的(像XML一样)语言,可以指定Javabean类的属性。 www.ibm.com 6. Existing Java technologies, like JavaBeans technology, that deal with similar problems solve the problem by requiring a zeroary constructor. 处理类似问题的现有Java技术(象JavaBean技术)就是通过要求一个不带参数的构造函数来解决问题的。 www.ibm.com 7. Hibernate can persist any Java object as long as it conforms to JavaBean specifications. Hibernate可以持久存储任何Java对象,只要这个对象符合JavaBean规范。 www-128.ibm.com 8. The components may be PowerBuilder components, JavaBeans, or COM components. 这些组件可以是PowerBuilder组件、JavaBean,也可以是COM组件。 www.ianywhere.com 9. Data binding frameworks allow developers to easily "glue" JavaBean properties and GUI components together. 数据绑定框架使开发人员可以轻松地将JavaBean属性与GUI组件“粘”在一起。 www.ibm.com 10. Like JavaBeans technology, custom tags facilitate the separation of presentation logic and business logic. 像JavaBean技术一样,自定义标记有助于将表示逻辑与业务逻辑分离。 www.ibm.com 1. To get around this, you might use wrapper classes to add extra DWR-specific methods to your plain-old JavaBeans. 为了克服这个问题,可以使用包装器类把额外的特定于DWR的方法添加到普通JavaBean。 www.ibm.com 2. The underlining JavaBean is a simple Contact class with id, name, and address as its member fields. 下划线JavaBean是一个简单的Contact类,使用id、名称和地址作为成员字段。 www.ibm.com 3. The tools will use the namespaces defined in the WSDL to determine the package names of the generated JavaBeans (or DTOs). 这些工具将使用定义在WSDL中的名称空间来确定生成的JavaBean(或DTO)的包名。 www.ibm.com 4. The engine passes the modified request on to the actual service provider -- in this case, the JavaBean. 引擎将修改过的请求继续传递给实际的服务提供者(在本例中是JavaBean)。 www.ibm.com 5. Be aware that iBATIS expects the Java class to conform to the typical Java Bean pattern (attributes with setters and getters). 要认识到iBATIS期望Java类与典型的JavaBean模式(带有setters和getters的属性)趋于一致。 www.ibm.com 6. The BeanDemo. jss script (shown in Listing 23) imports the package containing the JavaBean with importPackage(Packages. jsee. demo). jss脚本(如清单23所示)用importPackage(Packages.jsee.demo)导入了包含此JavaBean的那个包。 www.ibm.com 7. The other view that the Visual Editor adds is the Properties view, which displays a JavaBeans' properties. VisualEditor所增加的另一个视图是Properties视图,它显示一个JavaBean的属性。 www.ibm.com 8. This object is used as a return value for the session bean's method, as well as the Java bean for the JSP page. 该对象用作会话Bean的方法的返回值以及JSP页面的JavaBean。 www.ibm.com 9. This Java bean contains data access and manipulation methods, for manipulating data in an XML column of the DB2 9 sample database. 这个Javabean包含的数据访问和操纵方法可以操纵DB29示例数据库的XML列中的数据。 www.ibm.com 10. Each of the Java beans implementing a single process takes its input and executes the process independently of the other beans. 每一个实现某一单一流程的Javabean都独立于其他bean来获得输入并执行该流程。 www.ibm.com 1. You can work with file names and conditionals in your JavaBean classes, keeping your JSP pages free to focus on the VXML of the page itself. 您可以在JavaBean类中处理文件名和条件,使JSP页面不必关注页面的VXML本身。 www.ibm.com 2. Now, suppose you have a Java bean with a special requirement for one of your getters. 现在,假设有一个Javabean对您的一个getter具有特殊要求。 www.ibm.com 3. page. This bean wraps the SDO packages and enables the SDO package usage as a Java bean in the page data. 这个bean包装了SDO包,并使得SDO包的用法如同页面数据中的Javabean。 www.ibm.com 4. Your JavaBean class acts as a repository for constants, which link to file names of JSP pages. JavaBean类扮演着常量存储库的角色,这些常量链接到JSP页面文件名。 www.ibm.com 5. An enterprise service definition can also be generated from a JavaBean component. 企业服务定义同样也可以从JavaBean组件中生成。 www-128.ibm.com 6. The servlet can then pass a reference to the Java bean to the JSP to provide access to the data for formatting and display. 然后,servlet可以向JSP传递一个对Javabean的引用,以便访问要格式化和显示的数据。 www.ibm.com 7. The core of Spring's design is the org. springframework. beans package, designed for use with JavaBean components. Spring设计的核心是org.springframework.beans包,它的设计目标是与JavaBean组件一起使用。 www.ibm.com 8. Provide an object as a parameter (either a JavaBean, Map, or primitive wrapper). 提供一个对象作为参数(这个对象是JavaBean、Map,或者是原始包装器)。 www.ibm.com 9. So a JavaBean component can be deployed as a Web service, as a session EJB component, and so on by becoming an enterprise service. 所以,JavaBean组件可以通过转变成企业服务而配置成Web服务、会话EJB组件等等。 www-128.ibm.com 10. For instance, the tested object may need to obtain a reference to an Enterprise JavaBean (EJB) component or remote object. 例如,测试对象可能需要获得对EnterpriseJavaBean(EJB)组件或远程对象的引用。 www.ibm.com 1. Tools support: CXF provides different tools for conversion between Java beans, Web services, and WSDL. 工具支持:CXF提供了用于在JavaBean、Web服务和WSDL之间进行转换的不同工具。 www.ibm.com 2. RDF binding tools must let you arbitrarily relate a JavaBean property to an RDF property URI (assuming they are type compatible). RDF绑定工具能让您将一个JavaBean属性与一个RDF属性URI随意关联(假设它们的类型兼容)。 www.ibm.com 3. Hibernate uses XML (*. hbm. xml) files to map Java classes to tables and JavaBeans properties to database tables. Hibernate使用XML(*.hbm.xml)文件把Java类映射到表,把JavaBean属性映射到数据库表。 www.ibm.com 4. To make our JavaBean template part of our pattern, we must add it to the control. pat. 要使JavaBean模板成为我们的模式中的一部分,必须将其添加到control.pat。 www.ibm.com 5. One example is an Integration Object JavaBean component. 一个示例是IntegrationObjectJavaBean组件。 www-128.ibm.com 6. Generate an enterprise service definition from the Facade JavaBean component. 从门面JavaBean组件生成企业服务定义。 www-128.ibm.com 7. First, I'll show you a simple JavaBean class named Bike, which represents a bicycle in stock. 首先,我将向您展示一个简单的名为Bike的JavaBean类,该类代表了一辆库存的自行车。 www.ibm.com 8. This is more than just a Java coding convention, it is a rule in the description of JavaBeans. 这不仅是一个Java编码惯例,而且是描述JavaBean的规则。 www.ibm.com 9. Alternatively, you can repeat the steps in the Generating the data access Java beans section to generate the Java beans. 作为变通方法,您可以重复生成数据访问Javabean一节中的步骤以生成Javabean。 www.ibm.com 10. The data access Java beans provide an easy alternative to directly use the JDBC interface for database access. 这些数据访问Javabean提供一种很轻松的变通方法来直接使用JDBC接口访问数据库。 www.ibm.com 1. This action reflects the Java bean with any data changes, provided for illustration purposes only. 该操作反映了带有任何数据改动的Javabean,在此仅作演示之用。 www.ibm.com 2. The PresenceListener implementation exposes a single method called notify which accepts an instance of the Event Java bean. PresenceListener实现公开了一个名为notify的方法,该方法接收事件Javabean的一个实例。 www.ibm.com 3. Interface, the class can support a number of properties via the JavaBean pattern. 接口,这个类可以通过JavaBean样式支持某些属性。 www-128.ibm.com 4. Lightweight containers accept any JavaBean, instead of specific types of components. 轻量级容器接受任何JavaBean,而不是只接受特定类型的组件。 blog.sina.com.cn 5. You can easily camel-case your Java bean and field names if your database objects contain spaces or underscores. 如果您的数据库对象包含空格或下划线,那么您可以对您的Javabean和字段名轻松采用“驼峰式”大小写格式。 www.ibm.com 6. Value models define a generic way to access a JavaBean property without requiring the specifics of its name. 值模型用于定义一种一般方法来访问JavaBean属性,而无需知道该属性名称的详细信息。 www.ibm.com 7. This listing contains a tag, which wraps a number of tags, each representing a Java bean. 该列表中含有一个标记,它包装了大量的子标记,每一个标记代表一个Javabean。 www.ibm.com 8. In this approach, you can create the methods yourself to implement the mapping from XML to other fields in the Java bean. 按照这种方式,可以自己创建这些方法,从而实现从XML到Javabean字段的映射。 www.ibm.com 9. We will now add our JavaBean to the page as an output control simply by dragging it from the Page Data view onto the JSP. 我们现在将把JavaBean加入到页面中作为一个输出控件,简单地将其从PageData视图中拖动到JSP。 www.ibm.com 10. The field command can be used to specify JavaBean validation-specific annotations with options such as --max and --min, etc. field命令可用于指定特定于JavaBean验证的注释,含有--max和--min等选项。 www.ibm.com 1. These classes are required by the Java bean class for input and output parameters. 这两个类是JavaBean类的输入和输出参数所需的。 www.ibm.com 2. In the Class section in the Add JavaBean dialog, enter com. ibm. devworks. typeaheadfilter. Root, as shown in Figure 6. 在AddJavaBean对话框中的Class部分,输入com.ibm.devworks.typeaheadfilter.Root,如图6所示。 www.ibm.com 3. Now the JavaBeans that implement the stock quote portType can be deployed in the Bus prototype. 现在可以把实现股票报价端口类型的JavaBean部署在总线端口原型中。 www.ibm.com 4. The structural design of a two-tier system, the future performance of the use of JSP, the background data using the logic package JAVABEAN. 系统采用两层结构设计,前台表现采用JSP,后台数据逻辑封装采用JAVABEAN。 zhidao.baidu.com 5. In the Target Java Container list, specify the project or folder to contain the generated Java beans. 在TargetJavaContainer列表中,指定用于包含生成的Javabean的项目或文件夹。 www.ibm.com 6. Note that there are many other methods to maintain your data model in Java besides JavaBeans. 注意,除了JavaBean之外,还有很多方法可以在Java中维护数据模型。 www.ibm.com 7. However, because the interface does define a corresponding JavaBean accessor method, Contract4J infers the existence of the field. 不过,因为接口定义了对应的JavaBean存取器方法,所以Contract4J推导出字段的存在。 www.ibm.com 8. The basis for the examples in this article is the ubiquitous stock quote JavaBean. 本文中示例的基础是普遍存在的股票报价JavaBean。 www.ibm.com 9. If you have a file that conforms to some XML schema, you can work with it using getters and setters as you would in a JavaBean. 如果具有符合某个XML模式的文件,则可以使用getter和setter操作该文件,正如在JavaBean中所做的一样。 www.ibm.com 10. Accept the default settings in the Web service skeleton Java bean configuration page. 接受Web服务框架Javabean配置页面的缺省设置。 www.ibm.com 1. After creating the JavaBeans, you should define Hibernate mappings between these objects and your persistent data store. 创建JavaBean之后,接下来要定义这些对象和持久数据存储之间的Hibernate映射。 www.ibm.com 2. You? ve now added an instance of this JavaBean to the page data. 你现在已经添加了一个JavaBean的实例到pagedata。 www.ibm.com 3. Listing 1 shows an example of an XML document defining a Java bean class in an XML-based language. 清单1显示了用基于XML的语言定义Javabean类的XML文档示例。 www.ibm.com 4. The data model we use is a simple JavaBean, and to aid this we introduce our first helper class: PCSBean. java. 我们使用的数据模型是一个简单的JavaBean,为了帮助实现它,我们引入了第一个helper类:PCSBean.java。 www.ibm.com 5. If your server does this, you can use a JavaBean as a business delegate. 如果您的服务器可以这样做,那么您可以使用JavaBean作为业务委派。 www-128.ibm.com 6. Heavyweight architectures, such as Enterprise JavaBeans, can be overkill for everyday problems. 重量级架构(比如企业级JavaBean)对于解决日常问题来说过于复杂。 www.ibm.com 7. The actual runtime proxies are then created and held in a Java Bean. 然后,创建实际的运行时代理并保存在JavaBean中。 www.ibm.com 8. In the aforementioned Java bean example, all of the getters, setters, and the three other methods are implied and included at compile time. 在前述的那个Javabean示例中,所有的getter、setter以及其他三个方法都是在编译时被暗示并包括进来的。 www.ibm.com 9. The members are specified using the JavaBean naming convention, so DWR will call the corresponding get methods. 成员的指定采用JavaBean命名规范,所以DWR会调用对应的get方法。 www.ibm.com 10. The beans generated by the drpcidl command follow the JavaBean specification. drpcidl方法按照JavaBean规范来生成该bean。 www.ibm.com 1. XML documents are treated as first-class data objects (meaning they can be used without restriction), accessed in a JavaBean-like manner. XML文档被当作一级数据对象对待(这意味着它们可以被无限制地使用),以类似JavaBean的方式被访问。 www.ibm.com 2. With GWT, this is as easy as creating a simple Java bean, as shown in Listing 1. 使用GWT可使该过程与创建一个简单的Javabean一样容易,如清单1所示。 www.ibm.com 3. I've shown you two different approaches to handling file paths: the first using JavaBean classes, and the second using servlets. 我已经为您展示了两种处理文件路径的方法:第一种使用JavaBean类,第二种使用servlet。 www.ibm.com 4. The most important -- and most time-consuming -- part is to write the mapping code for the Java bean and data object back and forth. 最重要和最耗时的一部分工作是反复编写JavaBean和数据对象的映射代码。 www.ibm.com 5. First, you code your JavaBeans as you usually would, including any behavior and whatever convenience methods you like. 首先,可以像通常一样编写JavaBean,包括任何行为以及任何自己喜欢的方便的方法。 www.ibm.com 6. Import the Java beans and additional resources required. 导入Javabean和所需的其它资源。 www.ibm.com 7. The wizard generates the Java bean wrapper for the content spot. 该向导为内容点生成Javabean包装器。 www-128.ibm.com 8. In this article, I'll show you how to create a JSP page that passes a feed to a Java bean for transformation. 本文中将说明如何创建一个JSP页面,让它把一个提示交给Javabean进行转换。 www.ibm.com 9. Next, generate the data access Java beans into the Web project. 接下来,在这个Web项目中生成数据访问Javabean。 www.ibm.com 10. A new package with three JavaBean classes will be imported into the project. 带有三个JavaBean类的新包将会导入到项目之中。 www.ibm.com 1. In the original Java class, the parameters are represented as Java beans. 而在原有Java类中,参数是以Javabean表示的。 www.ibm.com 2. A service proxy JavaBean component can also be generated from this definition. 服务代理JavaBean组件也可以从这个定义中生成。 www-128.ibm.com 3. Note that the WSDL imports the portType in Listing 2, and contains a Java binding required for deploying JavaBeans in the Bus using WSDL. 注意WSDL导入清单2中的端口类型,并且包含一个在总线中使用WSDL部署JavaBean所需的Java绑定。 www.ibm.com 4. JavaBean and drag it onto the page under the Input Form, as shown in Figure 42. JavaBean并将其拖动到页面上的Input表单下面,如图42中所示。 www-128.ibm.com 5. Go back to JavaBean. pat and modify the attr tags shown below to refer to our new data in the model. 如下所示,回到JavaBean.pat并修改attr标记,以引用模型中新的数据。 www.ibm.com 6. The POJO leverages simple getters and setters that bind the XML to the Java bean using the framework. POJO利用了简单的getter和setter,使用框架将XML绑定到Javabean。 www.ibm.com 7. Test Case #1 invokes an inline Java bean implementation of the JAX-WS web service logic. TestCase#1调用这个JAX-WSweb服务逻辑的一个内联Javabean实现。 www.ibm.com 8. You can use the first option, JavaBean, to insert a JavaBean, which is the traditional method of database interaction in JSP pages. 您可以使用第一个选项JavaBean插入一个JavaBean,这是一种在JSP页面中的数据库交互作用的传统方法。 www.ibm.com 9. In Listing 2, you can see how the types in Listing 1 map onto JavaBeans with getter and setter methods. 在清单2中,您可以看到清单1中的类型如何被映射为带有getter和setter方法的JavaBean。 www.ibm.com 10. You might create a JavaBean that returns a collection of Customer objects based on some search criteria. 您可以创建一个JavaBean,让它根据一些搜索标准返回Customer对象的集合。 www.ibm.com 1. Test cases look just like production code, and they can use the same Java beans that you use as a facade for your EJBs. 测试用例看起来就像产品代码,对于您的EJB,通过facade模式,它们可以使用相同的Javabean。 www.ibm.com 2. Double click on the appropriate Java bean. 双击合适的Javabean。 www.ibm.com 3. For example, in the case of this application, the source code for the Account JavaBean is not required because it already exists. 例如,在这个应用程序中,不需要AccountJavaBean的源代码,因为它已经存在了。 www-128.ibm.com 4. These are JavaBean-style collections of get and set methods for the data within the type. 对于类型内的数据,存在着JavaBean样式的get方法和set方法集合。 www.ibm.com 5. Using the input data stored in the form bean, it will call the AddABook data access Java bean to add a book to the database. 它将通过使用表单bean中存储的输入数据调用AddABook数据访问Javabean以向数据库添加一本书。 www.ibm.com 6. Access to JavaBeans that can provide dynamic data to the UI or be modified by UI code. 对JavaBean的访问方法,这可以向UI提供动态数据并允许UI代码修改数据。 www.ibm.com 7. The Web archive is next, and it references the session bean from a Java bean. 接下来是Web归档文件,该归档文件将从Javabean中引用会话bean。 www.ibm.com 8. Next, we need to generate the JavaBean properties. 接下来,我们需要生成JavaBean属性。 www.ibm.com 9. We will now use some Design Pattern Toolkit tags to build the JavaBean pattern template. 现在,我们将使用一些设计模式工具箱标记来构建JavaBean模式模板。 www.ibm.com 10. Jenabean helps you get started reading and writing RDF using the familiar JavaBean model. Jenabean帮助您开始使用熟悉的Jenabean模型读取和编写RDF。 www.ibm.com 1. This is a typical start to a simple Java bean. 以上是一个简单的Javabean的典型开始。 www.ibm.com 2. You've mapped controls that display data to the end-user to properties of JavaBean instances, and they will display data once executed. 你已经创建了控制器,它们为终端用户显示数据即实例化JavaBean特性,并且它们将再一次执行显示数据。 www.ibm.com 3. You can find all eight of the task layer's Java beans in Listing 1. 上述任务层的八个Javabean全部都可以在清单1中找得到。 www.ibm.com 4. It shows how to configure the task layer's eight Java beans from the preceding section. 它展示了如何配置前面部分提到的任务层的八个Javabean。 www.ibm.com 5. It can involve retrieving a Java bean (Model), or enterprise Java bean, to provide data access. 再由servlet来决定必须完成什么操作,它可能需要检索一个Javabean(模型)或EJB来提供数据访问。 www.ibm.com 6. A custom tag library provides an architecture that is more flexible than a Java bean at encapsulating a complex operation. 在封装复杂操作时,定制标记库提供了一种比Javabean更灵活的体系结构。 www-128.ibm.com 7. All Acegi components (that is, filters, managers, providers, etc. ) are actually JavaBeans. 所有的Acegi组件(即过滤器、管理器、提供者等)实际上都是JavaBean。 www.ibm.com 8. Now, you just need to access this JavaBean class in your JSP page. 现在就需要在JSP页面中访问这个JavaBean类。 www.ibm.com 9. Support for assignment operations that can, for example, use an EL expression to set a property on a JavaBean from within JSP code. 支持赋值操作,例如可以在JSP代码中用EL表达式设置JavaBean的属性。 www.ibm.com 10. For example, WebSphere Studio Application Developer provides tools to generate WSDL from Java bean and EJB definitions. 例如,WebSphereStudioApplicationDeveloper提供Javabean和EJB定义工具去生成WSDL。 www-128.ibm.com 1. By using the facade JavaBean component, you can also provide clients with interfaces (operations), each of which represents a unit of work. 通过使用门面JavaBean组件,您也可以给客户端提供接口(操作),其中每个都代表一个工作单元。 www.ibm.com 2. We will use the JavaBean data control to build a data grid. 我们将使用JavaBean数据控件来构建一个数据网格。 www.ibm.com 3. If you want to change localeCode property in the runtime, you have to use the API provided by the underlying java bean. 如果您想要更改运行库中的localeCode属性,您就必须使用底层javabean提供的API。 www.ibm.com 4. For example, you can create a Web Project in Eclipse and then build a simple Java Bean in the Project. 例如,您可以在Eclipse中创建Web项目,然后在这个项目中构建一个简单的JavaBean。 www-128.ibm.com 5. Since we preselected a Java bean, that is already selected. 因为我们预先选择了Javabean,所以它已被选择。 www.ibm.com 6. For example, if you're writing a Java Bean and want to implement Serializable, you can use this option to specify that. 比如,如果你正在写一个JavaBean并希望实现串行接口,你可以使用这个选项说明你的需求。 www.ibm.com 7. Consider, for example, a standard Java bean. 我们看这样一个例子,一个标准的Javabean。 www.ibm.com 8. In fact, the use of accessors is a practice that is enforced in Enterprise JavaBean (EJB) 2. 0 environments for all persistent fields. 实际上,访问器的使用是EnterpriseJavaBean(EJB)2.0环境中对所有持久字段强制执行的一种手段。 www.ibm.com 9. Primes the cursor ready to drop a new java bean node onto the FFS 使光标准备就绪以将新的javabean节点放到FFS上 www-128.ibm.com 10. Our portlet's doView method invokes methods from multiple JavaBeans to initiate data retrieval activities at each data source. portlet的doView方法调用来自多个JavaBean的方法,用它来启动每个数据源上的数据检索活动。 www.ibm.com 1. Invoke appropriate method(s) for each JavaBean that wrapped a data source. 为每个包装了一个数据源的JavaBean调用适当的方法。 www.ibm.com 2. With your JSP parameters and JavaBean properties coded, and data being passed into the 对JSP参数和JavaBean特性进行编码并且将数据传递给 www-128.ibm.com 3. To generate the Java beans for this example, you can run this application from your workspace with the following parameters 要想为此示例生成Javabean,可以从自己的工作空间用以下参数运行这个应用程序 www.ibm.com 4. Typically, each MAM Service (or JavaBean operation) will undertake the following generic activity 一般情况下,每一种MAM服务(或JavaBean操作)进行如下一般活动 www.ibm.com 5. Step 2: Create a Facade JavaBean component that invokes the service proxy bean for accessing the IMS PhoneBook application 步骤2:创建门面JavaBean组件来调用用于访问IMSPhoneBook应用程序的服务代理Bean www.ibm.com 6. Mapping of the Java bean attribute name to the table column name, but not mapping of entity relationship or inheritance Javabean属性名到表列名的映射,而不是实体关系或继承的映射 www.ibm.com 7. You created the service proxy JavaBean component, 服务项目中创建了服务代理JavaBean组件, www-128.ibm.com 8. TodoItem is the only entity Java bean in this sample. (See Figure 8. ) TodoItem是本例中的惟一一个实体Javabean(参见图8)。 www.ibm.com 9. Now, assume that we then create a JavaBean named EmployeeFactory to implement our Web service that has the following method 现在,假设我们创建一个名为EmployeeFactory的JavaBean来实现我们的Web服务,它具有以下方法 www-128.ibm.com 10. To generate JAX-WS web services from bottom up using the Java Bean artifacts, complete the following steps 要使用JavaBean工件自下而上生成JAX-WSweb服务,完成以下步骤 www.ibm.com 1. Creating the JSPs to build the Web pages that call the data access Java beans 创建JSP以构建调用数据访问Javabean的Web页面 www.ibm.com 2. A JavaBean component for storing data 用于存储数据的JavaBean组件 www-128.ibm.com 3. The article shows how to create a Java bean-style wrapper for JSON data 这篇文章展示了如何为JSON数据创建Javabean风格的包装器 www.infoq.com |
随便看 |
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。