在 英语 中使用 Java objects 的示例及其翻译为 中文
{-}
-
Political
-
Ecclesiastic
-
Programming
Cayenne binds one or more database schemas directly to Java objects, managing atomic commit and rollbacks, SQL generation, joins, sequences, and more.
EJB 3.0 shows an influence from Spring in its use of plain Java objects, and its support for dependency injection to simplify configuration and integration of heterogeneous systems.
That's why, while preparing for a talk in 2000, Rebecca Parsons, Josh Mackenzie, and I gave them one: POJOs(plain old Java objects).
As we just discussed, every Java object has a lock.
Out-of-box support for Java object storage.
Every Java Object has a lock.
Any Java object can be used as a lock.
The second parameter is the Java object that this function is a part of.
Every Java Object has a monitor associated with it.
Each Java object can be used as a synchronization lock, the lock is called the built-in lock or monitor lock.
Each Java object can be used as a synchronization lock, the lock is called the built-in lock or monitor lock.
Having every Java object support hashCode() allows for efficient storage and retrieval using hash-based collections.
The HTTP session is capable of storing any Java object, while a cookie can only store String objects. .
Other languages have addressed this with traits or full-blown multiple inheritance, but we did not want to fundamentally change the Java object model.
Using JNDI, a J2EE application can store and retrieve any type of named Java object.
H2o can export the model in one of the two formats: POJO(Plain Old Java Object) or MOJO(Model Object, Optimized).
It allows you to transform the data contained in a java object model into/from an XML document.
Or your container can hold interface{} types(apparently a bit like a Java Object or a C++ void*), giving up(static) type safety.
Previously, the values from an object had to be copied into a POJO(Plain Old Java Object) and then copied back to accomplish this.
These plain Java objects are called entity beans.