JaVa
   

When to Use JAXB

In , we hypothesized that developers would rarely deal with XML constructs directly in their app code when developing Web services, as a result of other JAX APIs. In s 10 , 11, and 12, we looked how different APIs (such as JAX-RPC, JAXM, and JAXR, respectively) provide some of this abstraction. JAXB is intended to be used in cases where XML must be handled directly in app code. Some of the scenarios where JAXB would be appropriate typically involve apps that:

The preceding is meant to be only an illustration of scenarios where JAXB may be appropriate and is not an exhaustive list.


JaVa
   
Comments