Now that JBoss AS 6.0 has been released with full support for the Java EE 6 Web Profile, lets take a quick look at some of the new features of EJB 3.1 that are available. Three of the main features of EJB 3.1 are: EJB’s can be deployed as part of a WAR file and do not need to be is a separate EJB JAR file. EJB’s can be developed with no business interface. EJB’s can be deployed as Singletons. Let’s take a look at each of these in turn. 1. EJB’s can be deployed as part of a WAR file. Not much to look at here I’m afraid! The thing to notice is that now with NetBeans (I’m using NB 7 Beta), you can create a simple Java EE 6 Web Project and create EJB’s within the web project. If you are developing a web project, there is no longer any need for an additional JAR to deploy any EJB’s that you use. 2. EJB’s can be developed with no Business Interface Creating an EJB without a Business Interface is as simple as creating a POJO, which in fact the EJB is! In it’s simplest form,...
... real developers use subtitles