Skip to main content

Announcing BeanView 1.0

Posted by wiverson on June 7, 2006 at 9:21 AM PDT

I've been working on an open source framework for some time now, which I have now released as BeanView 1.0. It can be downloaded from:

Briefly, BeanView allows you to create forms from your POJO + JDK 1.5 Annotations models. It supports generating forms for both Swing and Echo 2 user interfaces. No code generation is required - the form is generated entirely via reflection.

For example, let's say that you want a form for an Order, which is based on a com.example.Order JavaBean ("POJO"). Simply add the BeanView Swing panel to your app, pass in an instance of the Order, and you will automatically get a user interface form (complete with validation) based on the Order class properties and annotations.

Supported features include:
* Per visual widget error reporting
* Support for validation (both a variety of built-in validation types and an easy customization system)
* Support for a wide range of built-in data types
* Support for complex data models, such a mapping a collection to multiple selection list box, with custom factory methods via annotations
* Automatic configuration based on JavaBean meta-data (for example, if a JavaBean declares a get/setFoo(int input) method, will by default generate a text field with integer validation).

BeanView is intended to serve as a natural complement to the EJB 3.0 Persistence model and/or Hibernate or other "POJO"-based persistence frameworks.

The release notes include the following information:

1.0 What Is Beanview?
2.0 Requirements
3.0 Trying Beanview Out
4.0 Getting Started Programming With Beanview
5.0 For More Information
6.0 License

This release includes the source, built javadoc, and binaries (JAR files). You can drop pre-built WAR files into your application server to try out the Echo 2 implementation, or quickly launch the Swing demos.

I'd be very curious to get feedback from folks. I have experimented by dropping the Swing implementation into the NetBeans form designer as well as the Eclipse form designer, and it seems to work well. What other features would you need? I've looked at JSF + Creator support, but so far I've been happy with Echo 2.

In any event, take a look, play around with the demos, let me know what you think.


Related Topics >>