Providing EL Access for Beans

There are a lot of good ideas in JEE but there are also some sharp corners that the unwary developer could hurt themselves on. Over the next few articles I’m going to point out a few of these less than brilliant pieces of design so that hopefully you’ll be able to avoid them. This article is about providing Expression Language (EL) access to managed beans.Continue reading

Getting Started with JEE 6 – CDI Qualifiers

In the last article we developed an application that had two alternative implementations of an EJB based QuoteService which unfortunately ran aground because CDI couldn’t choose which of our implementation to use. In this article I’ll discuss how to let the system know which implementation to use by using CDI qualifiers.Continue reading

Getting Started with JEE 6 – First Code

Now that we have created the project it’s time to throw caution to the wind and just start writing some code! Right click on the example.simpleproject node under Source Packages and select new… then Java Class. Call the class QuoteBean or some such – it has been common to call classes such as this SomethingBean but that practice seems to be falling by the wayside as so many classed now follow bean patterns.Continue reading