I been looking at the
j2ee client application.
Several strange things have been identified.
An ear file need not be a file. TechnologySamples.ear is in fact a directory.
The documentation states that one should run the client application via the following command.
<install_root>\bin\launchClient
<install_root>\installedApps\<cell name>\TechnologySamples.ear add 1 2
Now somehow the server knows to send
add 1 2 to the following module
<module id="JavaClientModule_1">
<java>BasicCalculatorClient.jar</java>
</module>
BasicCalculatorClient.jar happens to be the only <java> module in the ear. Is this just a coincidence or is only one <java> module alllowed in an ear? If two <java> modules are allowed in the ear how does the system know which <java> module gets passed the command line arguements,
add 1 2.