Web Beans Public Review Draft Released
Join the DZone community and get the full member experience.Join For Free
The Web Beans (JSR-299) specification is now available for public review.
Web Beans defines a set of services for the Java EE environment that makes applications much easier to develop. Web Beans layers an enhanced lifecycle and interaction model over existing Java component types including JavaBeans and Enterprise Java Beans. As a complement to the traditional Java EE programming model, the Web Beans services provide:
- an improved lifecycle for stateful components, bound to well-defined contexts,
- a typesafe approach to dependency injection,
- interaction via an event notification facility, and
- a better approach to binding interceptors to components, along with a new kind of interceptor, called a decorator, that is more appropriate for use in solving business problems.
Web Beans is especially useful in the context of web applications, but is applicable to many different kinds of applications and may even be used in the Java SE context, in conjunction with an embeddable EJB Lite container, as defined in the EJB 3.1 specification.
The Web Beans public draft is available in PDF or HTML format at:
Please send feedback on the public draft to:
An even easier way to learn about Web Beans is the Introduction to Web Beans guide available in PDF or HTML format here:
The Web Beans Reference Implementation and Compatibility Test Suite are being developed at:
This is a great time to get involved!
Opinions expressed by DZone contributors are their own.