I have seen many implementations of JAXB where we can convert java primitive to XML element using `@XmlElement` annotation.

But, I want to convert following POJO to XML (Note there is an address **object** inside employee class and not just primitives):

```
public class Employee {
    private Address address;
    private int employeeId;

    // constructors + setters + getters
}

```

How to use these JAXB annotations to marshall an employee object to XML?

Thanks.