Download FAQ History |  | API Search Feedback

> ## Register the Component

> After writing your component classes, you need to register them with the application using the application configuration file (see Application Configuration)

> Here are the declarations that register the `UIMap` and `UIArea` components:

>     <component>
>       <component-type>Area</component-type>
>       <component-class>
>         components.components.UIArea
>       </component-class>
>     </component>
>     <component>
>       <component-type>Map</component-type>
>       <component-class>
>         components.components.UIMap
>       </component-class>
>     </component>

> The `component-type` element indicates the name under which the component should be registered. Other objects referring to this component use this name. The `component-class` element indicates the fully-qualified class name of the component.

Download FAQ History |  | API Search Feedback

All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.