Class AppClientServerApplication

  • All Implemented Interfaces:
    ApplicationContainer<ApplicationClientDescriptor>

    @Service
    @PerLookup
    public class AppClientServerApplication
    extends Object
    implements ApplicationContainer<ApplicationClientDescriptor>
    Represents an app client module, either stand-alone or nested inside an EAR, loaded on the server.

    The primary purpose of this class is to implement Java Web Start support for launches of this app client. Other than in that sense, app clients do not run in the server. To support a client for Java Web Start launches, this class figures out what static content (JAR files) and dynamic content (JNLP documents) are needed by the client. It then generates the required dynamic content templates and submits them and the static content to a Grizzly adapter which actually serves the data in response to requests.

    Author:
    tjquinn