Unit 07 Flashcards
annotation
A Java language construct that provides additional information about the class, method, variable, etc. that is being annotated. The information can be used at compile time or at runtime, typically to generate code, enforce additional constraints, or provide extra documentation. Each annotation has zero or more elements, each being a name–value pair.
application-managed entity manager
An entity manager that has to be explicitly created and closed by the application.
bidirectional relation
This kind of relation can be navigated in either direction – both tables/classes in the relation point to each other.
binding
The association between a name (that must be unique within a certain context) and a resource (file, service, IP address, etc.). Name services store a set of bindings and allow users to create, change and remove bindings.
business interface
An interface with the session bean methods that a client may call.
container-managed entity manager
An entity manager that is implicitly created and closed by the Java EE infrastructure. By default, the entity manager automatically creates and commits transactions on method calls and returns.
dependency injection
A technique whereby an object automatically obtains a reference to a resource it depends on. An example is the dependency injection of entity managers into session beans by the EJB container.
directionality (of a relation)
The attribute of a relation that states whether it is unidirectional or bidirectional.
directory service
An extension to a name service that allows resources to have attributes and to find resources that match given attribute values. LDAP is a widely used directory service protocol.
Domain Name Service (DNS)
An example of a name service: it looks up internet domain names and returns the corresponding IP addresses.
Enterprise JavaBeans (EJB)
The component model used by Java EE. There are three kinds of component: session beans and message-driven beans encapsulate business logic, servicing requests from clients; entities encapsulate the business data.
Enterprise JavaBeans (EJB) container
The runtime infrastructure, usually part of a web server, that supports execution of EJBs.
entity
An object that corresponds to persistent data in a relational database.
entity class
A class that just holds data and may provide business logic, although the latter is usually delegated to session beans. Entity classes must be annotated with @Entity.
entity manager
A runtime object that manages the lifecycle of entities, allowing them to enter or leave the persistence context, to be stored in or removed from the database.
export (a remote object)
To make the remote object available so that it can accept incoming calls from clients.
extended persistence context
A persistence context that has the same lifetime as an entity manager. This is the only possible setting for application-managed entity managers.
foreign key
A column that uniquely refers to a record in another table.
inverse side
In a bidirectional relation between entity classes, the class that is not the owning side.
Java Naming and Directory Interface (JNDI)
An API to facilitate the uniform use of a variety of name and directory services from within Java programs.