I'm pleased to announce the release of Web Beans (the reference implementation of JSR-299) 1.0.0.PREVIEW. This is our first feature complete milestone of the Java Contexts and Dependency Injection specification!JSR-299 specifies a set of services for the Java EE environment that makes applications much easier to develop. JSR-299 layers an enhanced lifecycle and interaction model over existing Java component types including JavaBeans and Enterprise Java Beans.

New in this release is support for servlet containers (no EJB) such as Tomcat or Jetty, support for Apache Wicket as a view layer and support for using Web Beans with Java SE. This release is also bundled in the upcoming JBoss AS 5.1.0.CR1 release, and GlassFish V3 build 46 (no EJB support), so you can just download the examples and deploy them!

The Web Beans reference guide has been now been translated into German, Korean, Traditional Chinese, Simplified Chinese, Spanish, Portugese, and Italian.

The release also includes six examples: for JSF there is a full EE example, with enterprise beans, a war example with simple beans and the login example from the reference docs; there is also a clone of the war example for Wicket, Tomcat and servlet containers. To learn more about JSR-299 and the Web Beans project, I suggest you read the reference guide or browse

This release wouldn't have been possible without the work of a number of people. Thanks go to: Clint Popetz (Wicket support), David Allen (logging), Ales Justin (JBoss integration), Takeshi Kondo (bug reports), Pete Royle (Java SE support), Andrew Lee Rubinger (EJB integration), João Paulo Viragine (Portugese translation), Sean Wu (Simplified Chinese translation) and Sanjeeb Sahoo (OSGi support).

In detail, this release adds support for:

  • Servlet containers such as Tomcat or Jetty
  • Java SE
  • Apache Wicket
  • disposal methods
  • Child activities
  • Injection of Java EE resources via beans.xml aliasing
  • OSGi support
  • An injectable logger
  • The ability to gracefully disable services depending on envrionment

and, previously released in BETA1, provides support for:

  • simple beans
  • enterprise beans
  • typesafe and name based resolution
  • producer methods
  • producer fields
  • the dependent context
  • support for JBoss 5
  • the servlet contexts: application, session and request
  • Conversations, including propagation in JSF
  • field and constructor injection
  • @Initializer methods
  • dynamic lookup through @Obtains
  • Event support (firing and observing events)
  • definition of observer methods through annotations
  • injection of event producers
  • conditional events
  • Transactional observers
  • Asynchronous Observers
  • stereotypes
  • support for lifecycle callbacks (@PostConstruct and @PostDestroy)
  • an SPI to integrate with other containers
  • Injection of new instances via @New
  • Support for passivating scope
  • Updates to metadata inheritance rules
  • specialization
  • realization
  • injection point metadata
  • injection via @Resource, @EJB and @PersistenceContext into simple beans

We'll be moving fast over the next few weeks to deliver another preview (including a Seam bridge and a Spring bridge). Watch this space! If you are interested in learning more about JSR-299 / Web Beans, keep 11am (Pacific) on the 30th April free - I'm doing a webinar that will take you through the basics of JSR-299 and allow you to ask some questions.

[Download] [Reference Documentation | API Javadoc | German | Korean | Traditional Chinese | Simplified Chinese | Spanish | Portugese | Italian] [JIRA] [Release Notes]

25. Apr 2009, 16:25 CET | Link

Greet job to everyone involved in Web Beans development!

Just keep on! :-)

Greets Benjamin

26. Apr 2009, 00:22 CET | Link
Tio Malandra
Injection of new instances via @New

Please, add these annotations in the next release: @While, @For, @If, @Switch Thanks.

26. Apr 2009, 03:38 CET | Link

Well, the source is there so if you e.g. want to rename @Current to @Old, go ahead

01. May 2009, 05:01 CET | Link
Jamie Swain
Very cool! I'm excited about the Wicket Support! :) Can't wait to dig in!
08. Sep 2014, 11:00 CET | Link

Are you aware that you are able to damage your hair for good if you use the incorrect hair care methods? This should be important advice if you have not received expert tips before now and are currently maintaining your own hair. Read the tips in this article to make sure that you are using the correct procedures. revitol hair removal cream

08. Sep 2014, 11:36 CET | Link

Building up strong, healthy muscles could be the sole focus of your somanabolic muscle maximizer exercise routine or just part of a wider overall fitness strategy. Whatever your goals are, hopefully the advice above has given you some ideas about new ways to reach them. If you work out with diligence and intelligence, making your muscles healthier and more attractive is easy to do.