pojo

  • 网络对象(Plain Old Java Object);持久化类

pojopojo

pojo

对象(Plain Old Java Object)

POJOPlain Old Java Object)这种叫法是Martin Fowler、Rebecca Parsons和Josh MacKenzie在2000年的一次演讲的时候提 …

持久化类

4、定义可持久化类(POJO)-- Cat.javapublic class Cat { private String id; private String name; private char sex; private float...

1
The data to be passed on to the service provider might be in language-specific objects -- POJOs in the case of Java technology. 传递给服务提供商的数据可能是用语言专用的对象,对于Java技术就是POJO。
2
All that having been said, the domain objects still retain a lot of their POJO nature. 虽然有上述各种情况,域对象依然保留许多POJO特性。
3
Next time you take a POJO and slap on an annotation to turn it into an EJB, you can give a little thanks to the OpenEJB team. 下次当您给POJO加上一些注释将其转换成EJB时,您应对OpenEJB团队所作的贡献表示感谢。
4
Not surprisingly, the annotations are also interpreted during the deserialization process when an XML document is translated into a POJO. 无足为奇,在XML文档被转换成POJO的反序列化过程中,注解也会被解释。
5
You imbed the implementation details in the code, which makes the object even less like the simple POJO that you seemed to crave. 您将实现细节嵌入到代码中,这使得对象更不像您所渴望的简单POJO。
6
It is straightforward, easy to use, and POJOs are much easier to comprehend than the notion of an "entity. " 它很简单且易使用,而且POJO比“实体”概念更易于理解。
7
Some even make it possible to start with the bean implementation, like a POJO, and promote methods to the interface and home as desired. 一些供应商甚至能够从Bean实现开始(例如POJO),根据所期望的将方法升级到接口和Home。
8
With a simple triathlon JDO POJO defined and a PersistenceMgr object handy, I'm good to go. 利用定义好的简单triathlonJDOPOJO和方便的PersistenceMgr对象,我已经有了很好的起点。
9
Since all Seam components are just annotated POJOs, they are very easy to unit test. 因为所有的Seam组件都是注解过的POJO,它们易于进行单元测试。
10
The Book class is just a POJO (plain old Java object) that has a single field: name. Book类仅是一个POJO(Java原生类对象),拥有一个单一字段:name。
11
All of this means that you can immediately begin using POGOs as a replacement for your POJOs. 所有这些意味着您可以立即开始使用POGO作为POJO的替代选择。
12
If part of the POJO state wasn't loaded when it was detached, it can appear to be changed when it is merged back in. 在分离时,如果部分POJO状态没有加载,则在合并回去时可能显示为已更改。
13
Resource Class: Notice the resource class is a plain old java object (POJO) and is not restricted from implementing any interface. 资源类(ResourceClass):注意,资源类是一个简单的Java对象(POJO),可以实现任何接口。
14
Seam wires POJO components together using a popular design pattern known as "dependency injection" (DI). Seam通过使用一个流行的、被称作依赖注入(DI)的设计模式联结所有POJO组件。
15
In this article we did not use any of the cxf-dosgi API classes in our pojo service bundle. 在本文中,我没有使用pojo服务包中的任何cxf-dosgiAPI类。
16
The interface extension feature of XMLBeans allows you to add methods with custom implementation for the generated POJOs. XMLBeans的接口扩展特性允许在生成的POJO中添加具有定制实现的方法。
17
By specifying special annotations, developers can create POJO classes that are EJB components, as an alternative to XML. 通过指定特殊的标注,开发人员可以创建EJB组件的POJO类,并将其作为XML的备选方案。
18
The injection facilities in JEE 5 do not apply to any plain old Java objects (POJOs). JEE5中的注入部分并不适用于任何普通的旧Java对象(POJO)。
19
Flux's API will change to a POJO model to replace the original factory design pattern that it has had since 2000. Flux的API也将由从2000年开始一直采用的工厂设计模式转为POJO模型。
20
The middle tier configuration is shown below along with a simple implemention of the POJO message handler. 使用一个简单的POJO消息处理器实现时,中间层的配置如下
21
The Task POJO methods are not stateful, as you show in the sequence diagram. TaskPOJO方法不是有状态的,正如您在程序表中展示的那样。
22
And by the way, under certain circumstances, a Service POJO method will new up a BD to another Service POJO directly. 还有,在一定的环境下,ServicePOJO方法将直接为另一个ServicePOJO新建一个BD。
23
In JAX-RX, resources are implemented by a POJO, with an @Path annotation to compose its identifier. 在JAX-RX中,资源通过POJO实现,使用@Path注释组成其标识符。
24
Coupling is dramatically reduced and manageable POJOs (plain old Java objects) do not need to implement specific interfaces. 它极大地降低了耦合性,可管理的POJO(纯粹的老式Java对象)不需要实现特定的接口。
25
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。
26
To a certain extent, the ESB Proxy Service shields the COBOL client from changes that might affect the target POJO. 在某种程度上,ESB代理服务使COBOL客户端不受那些可能会导致目标POJO改变的变更的影响。
27
Using interceptors, you can effectively add custom services like security, declarative transactions, and remoting to methods on your POJOs. 通过使用拦截,您可以更加高效地添加类似安全、声明性事务和远程控制这些自定义服务到POJO方法。
28
Any POJO that implements the resource is known as the resource class. 实现资源的POJO被称为资源类。
29
Recall that deserialization is the process of translating an XML document into a POJO. 回想一下,反序列化是将XML文档转换成POJO的过程。
30
You've essentially got declarative transactions on a POJO, an extremely useful capability for enterprise applications. 您现在已经得到了关于POJO的声明性事务,这对企业应用程序非常有用。