< Previous

Summary: Build a rich Java client that uses a Web service

Congratulations! You learned how to use the Java visual editor to build the My Company Directory application, a rich Java client that connects to a sample Web service to maintain an employee directory.

Lessons learned

You used the visual editor to complete the graphical user interface, using GridBagLayout to arrange the employees table. Then you bound the table, fields, and buttons to appropriate data objects and data source to make the application work with a Web service Java proxy that you generated. You also did some complex coding to make the application behave properly to make it easy to use and intuitive. And, you learned how to install an enterprise application on WebSphere Application Server v6.0 and deploy a Web service.

Most importantly, you learned all about the powerful binder class provided by the Java visual editor for working with data. Now you are ready to begin experimenting on your own and putting the binders to new and exciting uses.

You should now be able to do the following tasks:
  • Use the Java visual editor to layout components in a GridBagLayout.
  • Run a visual class as a Java bean.
  • Bind a Java application's visual components to methods and data objects returned by a Web service.
  • Add events to visual components.

Additional resources

Import a finished version of the My Directory application

This project includes the finished application, the jve.generated package with binder classes, and the Web service Java client configured for WebSphere Application Server v6.1. If you import this finished project without working through the tutorial, you may need to configure your Java build path variable. It needs to point to your WebSphere v6.1 Web services thin client JAR file.

Tip: Unless you specify a different project name during import, this will overwrite your MyDirectory project contents.
< Previous