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: Saturday, 3 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twlp_setup_multi_client
File name: twlp_setup_multi_client.html