Java Reference
In-Depth Information
All fields of the employees table are required with the primary key being the employee
number. The employees data record can be represented by Employee class in Java. This
class is defined as follows:
4.1.6.1 Employee.java
We create an Employee data object that contains an employee record. Employee is a
Java class that uses Java Architecture for XML Binding (JAXB) annotations to assist
the marshalling process. JAXB allows Java developer to use Java API to read and write
objects to and from an XML document. It eases the process of reading and writing XML
documents in Java. In particular, the annotation provides a simpler mechanism for the
SOAP engine to transform Java objects into XML and vice versa.
Search WWH ::




Custom Search