diff --git a/year4/semester2/CT414/materials/04. EJB-Examples.pdf b/year4/semester2/CT414/materials/04. EJB-Examples.pdf new file mode 100644 index 00000000..a8dd6d2b Binary files /dev/null and b/year4/semester2/CT414/materials/04. EJB-Examples.pdf differ diff --git a/year4/semester2/CT414/notes/CT414.pdf b/year4/semester2/CT414/notes/CT414.pdf index 5b39c3de..8f5be344 100644 Binary files a/year4/semester2/CT414/notes/CT414.pdf and b/year4/semester2/CT414/notes/CT414.pdf differ diff --git a/year4/semester2/CT414/notes/CT414.tex b/year4/semester2/CT414/notes/CT414.tex index ed436e6a..4bb633d5 100644 --- a/year4/semester2/CT414/notes/CT414.tex +++ b/year4/semester2/CT414/notes/CT414.tex @@ -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}