AddressBook QBeans JDO Sample Application Tour
Previous | Next
This simple application (download it here) illustrates the few lines of application code that, in conjunction with the QBeans infrastructure components, produce a fully functioning desktop application  that can be enhanced with virtually any business logic.  In fact, you will find that nearly 50% of the code in the sample application is related to creating the visual presentation!

The structure of the AddressBook Application is a reflection of the coding that remains for the QBeans application developer, that is to create the overall structure of the application, compose the visual presentation, and most importantly, code the business logic .

The Addressbook Application consists of:
  • a class with a main method, and associated QBeans configuration files to launch the main window of the application
  • GUI controllers for Business Objects (datanodes) to find and manage lists of Persons, related Address (and other) business objects for the application
  • a number of views (along with related image files) that express the visual layout of the windows used to implement the use cases
  • a number of validation controllers (validators) containing business logic to verify that data entered by the user is correct and conforms to the business rules
  •  
  • static factory classes to keep the creation of datanodes and validators organized for the application
  • one wizard controller that guides the user through the process of adding a new person, and related addresses to the addressbook


Previous | Next