Skip to content

Application Client

July 17, 2007

An Application Client is written according to the rules of the Application Client component defined by the Java EE specification — just like the Servlet spec defines how to write servlets and the EJB spec defines how to write EJB components. An Application Client can have an associated application-client.xml deployment descriptor. It is also packaged into an application client.jar, just like EJBs are packaged into an ejb-jar, and can be placed within an .ear as well. An Application Client can use Java EE environment annotations and injection. The Application Client container automatically performs authentication on behalf of the client. An Application Client is executed by running it within an Application Client container.

None of these steps apply to stand-alone java clients, but the tradeoff is that the Application Client is portable and the stand-alone client is not

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: