Search

jdf News

Introducing the JBoss BOMs

An element of JBoss Developer Framework that we haven't explored so deeply is the JBoss BOMs project. The JBoss BOMs project is where we define the recommended and tested stacks that you can use. For example, if you want to use Hibernate Search in your application, you would want to use the jboss-javaee-6.0-with-hibernate stack, which adds Hibernate to the base Java EE stack.

We define the stacks using Maven BOMs (or Bill of Materials), which you can easily import into your project, defining the versions of dependencies to use. For example, if you are using Maven:

<dependencyManagement>
    <dependencies>
    <dependency>
       <groupId>org.jboss.spec</groupId>
           <artifactId>jboss-javaee-web-6.0-with-hibernate</artifactId>
           <version>1.0.1.CR1</version>
           <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

Currently, we offer the base Java EE stack, add add to it Hibernate, Errai, JBoss Transactions, and tools (such as Arquillian).

You can combine the stacks. For example:

<dependencyManagement>
    <dependencies>
    <dependency>
       <groupId>org.jboss.spec</groupId>
           <artifactId>jboss-javaee-web-6.0-with-hibernate</artifactId>
           <version>1.0.1.CR1</version>
           <scope>import</scope>
        </dependency>
        <dependency>
       <groupId>org.jboss.spec</groupId>
           <artifactId>jboss-javaee-web-6.0-with-tools</artifactId>
           <version>1.0.1.CR1</version>
           <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

This should take most of the onus for managing dependencies away for you, and we plan to add more stacks. If you have a favourite stack we don't cover, then let us know!

Roadmap

Beyond expanding the range of stacks, we are working on a Forge plugin, allowing you to easily define the stack in use:

jdf --stack jboss-javaee-web-6.0-with-hibernate --version 1.0.1.CR1

We also plan to add runtime compatilbity information, which will tell you the recommended stack to use with each version of JBoss Enterprise Application Platform or JBoss AS.

Java EE stack

The base Java EE stack is defined by the JBoss Spec project. Each of the jdf stacks expands on the base Java EE stack.

Consolidated contributor guide available

I've just added a consolidated contributor guide. Check it out!

TicketMonster and tutorials update!

In the past two weeks we have been working to improve our demos and tutorials. As a result, I'm happy to announce that a new and improved version of TicketMonster is available. The changes include:

  • the service layer has been refactored for handling concurrent requests better;
  • various fixes in the HTML5 application;
  • added pagination to the 'Bookings' view;
  • improved installation instructions;
  • tutorials have been updated to match the new source code.

You can see the new version of the application running in the cloud or download it from GitHub.

Welcome to jdf

Welcome to JBoss Developer Framework!

JBoss Developer Framework exists to show you, the developer, how to make the most of JBoss and Java EE 6 technologies on JBoss Enterprise Application Platform and JBoss AS.

JBoss Enterprise Application Platform and JBoss AS

We have three ways to do this:

Quickstarts

We start small, with the quickstarts. Each quickstart is very focused, and shows you one API, or one use case. There are about 53 quickstarts today, ranging from JAX-RS CRUD to GWT to HTML5 to transactions.

If you can't find the quickstart you are looking for, then please tell us and, together, we'll see what we can do!

Examples

Quickstarts are great, but there comes a time in everyone's life when they want to write something other than a simple application! TicketMonster steps up to the plate at this point. Today, it's a full web-app written, with front-ends showing off the three approaches to view layers we like at JBoss - HTML5 + REST, Errai/GWT and RichFaces/JSF.

Over time, we plan to add much more to TicketMonster, as well as spin up other examples. Check out the Roadmap for more info on our plans!

Migrations

Fnally, we realise that there are lots of people still using older technologies such as Seam 2, Spring or Java EE 5. We've put together a comprehensive set of migration tutorials to show you how.

JBoss BOMs

To make all this possible, we've developed a set of BOMs. The BOMs start with Java EE 6, and build on that base API with JBoss extensions such as Hibernate (Search, Validator...), Errai and Arquillian. They're a great way to make sure you're using the same set of dependences that we test with!

Get Involved

If you want to ask questions, or help out, then visit our forums.

Enjoy!

Seam 2 Migration to Vanilla Java EE 6

Our first migration covered is the Open 18 application from Seam in Action by Dan Allen. Version 1.0.0.Final is a direct migration to Vanilla Java EE 6, with one CDI extension to create a replica of the JSF 2 ViewScope. It does not include any security (that's certainly a sore spot in Java EE) nor BPM integration. Look forward to other updates to the migration to include security and other features! Documentation of the migration has more information.