![[8.5.5.6 or later]](../ng_v8556.gif)
This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.
Creating a Liberty application client with multiple client modules
You can create a Liberty application client with multiple client modules in the same EAR file.
About this task
You can specify more than one client application (packaged in a client module) in your application EAR file. If you would like to package multiple client applications in the same EAR file, you must use the defaultClientModule attribute in <enterpriseApplication/>.
Procedure
Specify the client that you want to run by updating the defaultClientModule attribute
in both the client.xml and server.xml files.
<client>
<featureManager>
<feature>javaeeClient-7.0</feature>
<featureManager>
<enterpriseApplication id="MultipleAppClientModules" name="MultipleAppClientModules" type="ear"
defaultClientModule="HelloAppClient.jar" location="MultipleAppClientModules.ear"/>
</client>
Important: You can run one application
at a time.