Java Reference
In-Depth Information
<workingDirectory>${project.build.directory}/
exec-working-directory</workingDirectory>
<arguments>
<argument>-classpath</argument>
<classpath>
</classpath>
<argument>com.packtpub.wflydevelopment.chapter11.client.TicketAgencyClient</argument>
</arguments>
</configuration>
</plugin>
You can run it using the following command:
mvn exec:exec
The first part of the client will show the evidence that we have successfully completed the
first transaction. On the client console, you will see the return value of the booking trans-
action and the Seat list, as shown in the following screenshot:
The following screenshot shows the server node where our EJB client landed:
Now shut down the preceding server node ( Ctrl + C would suffice if you are starting it as
a foreground process) and press Enter (or Return on a Mac) on the client application.
Search WWH ::




Custom Search