tell me more icon Generate a main() Method

Unlike a session facade, a Java service facade does not run inside the container, so you do not need to create another sample client to call methods. You can use the Java service facade as its own client by adding a main() method in the Java service class.

If you want to use a Java service facade as its own client, be sure to select the Generate a main() method with sample client code checkbox. Sample code will also be generated for each method you select on the Java Service Facade Methods page of the wizard.

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,