[CT414]: WK03 notes + materials
This commit is contained in:
BIN
year4/semester2/CT414/materials/04. EJB-Examples.pdf
Normal file
BIN
year4/semester2/CT414/materials/04. EJB-Examples.pdf
Normal file
Binary file not shown.
Binary file not shown.
@ -479,5 +479,17 @@ The \textbf{Java Naming \& Directory Interface} is used to find an object.
|
||||
The resource (e.g., a bean) is associated with a nickname when deploying; clients of this bean can then use this nickname to look up the resource across a deployment.
|
||||
The client code looks up the reference in JNDI and calls business methods on the EJB object.
|
||||
|
||||
\subsubsection{Entity EJBs}
|
||||
\textbf{Entity EJBs} are object-based representations of information-tier data such as data stored in a relational database.
|
||||
They represent a particular unit of data, e.g., a record in a database.
|
||||
There are two types of entity EJB:
|
||||
\begin{itemize}
|
||||
\item Bean-managed persistence;
|
||||
\item Container-managed persistence.
|
||||
\end{itemize}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
\end{document}
|
||||
|
Reference in New Issue
Block a user