[8.5.5.6 or later]
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.

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_setup_multi_client
File name: twlp_setup_multi_client.html