Client components

The client components work in the CLIENT runtime. They are registered by the client, so they must not be configured in the getClasses() of the application. If we use a remote client to connect to the REST service, we need this component to be inside the remote client package. They will not interact with the container. Here's how to register client components:

Client client = newClient();
client.register(ClientFirstReaderInterceptor.class);

As for the container component, we have two types of client components; we will discuss these further now.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.104.120