Java Reference
In-Depth Information
Now we simply need to add a call to the
echo()
method on the remote interface, and
our client will be complete.
Executing the Client
The easiest way to execute the client from inside NetBeans is to add the class in the
Enterprise Application Client project containing the
main()
method we wish to
execute as the
Main
class of the Enterprise Application project. In our example, the
fully qualified name of this class is
com.ensode.sessionbeanintro.Main
.