Skip to main content

Posts

Showing posts from 2010

JBoss 6.0.0.M4 released – Good News for Weld/CDI Developers

The latest milestone release, M4 of JBoss AS 6 has been released and can be downloaded from the usual place . This new release adds some important Java EE 6 functionality and fixes a very important bug, JBAS-8024 , which effectively stops you from deploying Weld applications to the server. Weld deployments worked in M2, but stopped working in M3 meaning you had to either use a development snapshot or revert back to M2. Full release notes for this version are available here .

Upgrading RichFaces 4.0.0.A2 to 4.0.0.M1

Last week RichFaces 4.0.0.M1 was released.  If you are using Maven, then its relatively easy to upgrade from Alpha2 to M1. If you’ve not started using RichFaces 4 yet in your applications, then full details of how to install RichFaces in a Maven application are provided on the JBoss Wiki . To upgrade from A2 to M1, should just be a matter of upgrading the version number in your pom.xml file, cleaning and building your project.  The main thing to note however is that the version number is “4.0.0.20100715-M1″ rather than simply “4.0.0.M1″ as would have been expected. An upgraded version property would therefore read as: <properties>   <org.richfaces.ui.version>4.0.0.20100715-M1</org.richfaces.ui.version> </properties> After upgrading the version of RichFaces however, I found a problem in that dependencies on org.w3c.css.sac and net.sourceforge.cssparser.cssparser are not properly discovered. Without these additional Jars, the following exception...

Running JBoss Tools in Eclipse 3.6, Helios

With the release of a new version of Eclipse, its natural to download it and start using it straight away. One of the main problems doing this however, is that plugins aren’t always guaranteed to work with the new version of Eclipse. This is the case with JBoss Tools. Fortunately however, you can install the JBoss Tools nightly builds as these are now compatible with Eclipse Helios. The easiest way to install JBoss Tools Nightly on Helios is via the update center at: http://downloads.jboss.org/jbosstools/nightly/trunk/ When I first attempted to install JBoss Tools on Helios though I got the following error: An error occurred while installing the items session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null –> [R]org.mozilla.xpcom 1.9.1.2a, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction). The artifact file for osgi.bundle,org.mozilla.xpcom,1.9.1.2a was not found. Eclipse...

Developing SOA Composite Applications using POJOs

I’ve just had an article published on the Packt Article Network entitled Developing SOA Applications Using POJOs. In the article I discuss how to use the POJO Service Engine in GlassFish ESB / OpenESB when creating Composite Applications in NetBeans . "PoJos – Plain Old Java Objects, are, as the name describes, simple, ordinary Java objects. They do not have to be derived from a specific class, nor do they have to implement any specific interfaces. In the modern world of Java EE development where the latest frameworks have made enterprise development easier, wouldn’t it be good if we could develop SOA based applications using PoJos? Fortunately, GlassFish ESB (OpenESB) allows us to do this using the PoJo Service Engine." In the article I discuss: GlassFish ESB Creating a PoJo and Deploying to GlassFish ESB Creating A SOAP Binding for PoJos Testing the Composite Application

Book Review: Apache MyFaces Trinidad 1.2

I posted a review of Apache MyFaces Trinidad 1.2 over on developinjava.com a few days ago. I liked this book, in particular how it describes how you can use Trinidad with Seam applications. I summarized the book as: "This book is a good introduction to Apache MyFaces Trinidad 1.2. Packt Publishing describe the book as being written for “Java Developers who are beginners at JSF and experienced web developers who are looking for an introduction into the world of open source JSF technology”. I would agree with this sentiment, but would also recommend prospective readers have at least a basic knowledge of Facelets and Seam before enjoying the book." You can read the whole review here.

EJB 3.1 Support in JBoss 6.0M2 – Building JBoss

JBoss recently announced that initial support for EJB 3.1 will be available in the upcoming JBoss 6.0 M2 application server. At present, the EJB 3.1 functionality supported is: developing EJBs without declaring interfaces; and deploying EJBs in WAR files Since JBoss AS 6.0 M2 isn’t currently available, the best way to get it to try out this new finctionality is to check the source out from the JBoss Subversion repository and build the application server. Building JBoss AS 6.0 from the trunk is very straightforward to build. To checkout and build the code, you need to have Subversion and Maven installed on your development system. The code can be checked out from the anonymous JBoss Subversion repository: svn co http://anonsvn.jboss.org/repos/jbossas/trunk After checking out (which may take up to an hour or more), the source can be built using the build/build.bat (build/build.sh) command or by using Maven. > cd trunk\build > mvn clean install After about 10 minute...