Help

How do you follow the fantastic news of the week with the Java EE6 platform and CDI getting final approval ? How about a JBoss AS release that includes support for three key EE6 features: CDI, Bean Validation, and JSF 2?

Done!

For those that aren't familiar with these technologies, each offers significant improvements to EE application development.

CDI (or Contexts and Dependency Injection) brings real context management and DI to the EE platform, and simplifies the integration of EE services with your application. Not only does it have innovative features that make life easier, but everything it does is completely type-safe, and easily extensible. Check out Gavin's interview with DZone for more information. Also check out the Weld page (our implementation and also the RI for CDI).

Bean Validation solves one of the biggest problems developers face daily, ensuring their data model is validated consistently and correctly as it progresses through each layer of an application. Instead of the common current cut-and-paste practice that is difficult to maintain and error prone, Bean Validation allows you to put all of your validation rules where they belong, the data model itself. Since JSF 2 and JPA 2 integrate with Bean Validation, all layers of your application will enforce those rules. This reduces errors, simplifies development, and saves time (and your C and V keys). For more information see Emmanuel's blog on Hibernate Validator 4 (our implementation of Bean Validation). Stay tuned for more info on how to integrate Bean Validation in your EE applications.

For those of you running in high availability environments, we have also included a brand new intelligent load balancing module called mod_cluster. You can read all about that in Brian's blog.

Note that in this release we are switching to a milestone based versioning scheme. The primary reason for this change is to provide a way to get completed features to the community as soon as they are ready. This is quite a bit different from a normal Alpha/Beta scheme which typically results in many incomplete capabilities in raw fashion, that slowly become complete towards the end of the release lifespan. The milestone model instead focuses on time constrained releases that each provide a small set of completed features. As an example, the M1 release actually includes Weld 1.0.0, which is a stable final release of Weld. If you are thinking of targeting your application on AS 6.0.0, you will be able to start with M1, and progress to future milestones as we add features and improvements.

You can find the full release notes for the release here, and the official download location is here.

As always, have a great open source day!

21 comments:
 
03. Dec 2009, 03:48 CET | Link

Congrats on the release! BTW, when are you planning to go Servlet 3 in AS 6?

ReplyQuote
 
03. Dec 2009, 03:56 CET | Link
Drew Arrigoni

Time to see if my little app runs flawlessly from 5.1 :)

 
03. Dec 2009, 03:58 CET | Link

Thanks!

Servlet 3 will be in M2. It's mostly implemented in trunk right now.

 
03. Dec 2009, 04:41 CET | Link

Cool. Which implementation (version) are you using? I recalled checking a few days ago and I thought I saw some asynch-methods missing from SerlvetRequest...

 
03. Dec 2009, 06:00 CET | Link
Remm

Servlet 3.0 is fully implemented in AS trunk (note that the specification did change significantly in its final weeks, which could explain the discrepancies you are seeing), but obviously with a limited amount of testing. It is not in AS 6.0 M1. AS 6.0 M2 will include Servlet 3.0, but in the meantime there could be a web centric release soon (as JBoss Web 3).

The Servlet container implementation is based on JBoss Web 2.1, which itself was based on Tomcat 6.0.15.

 
03. Dec 2009, 06:14 CET | Link
Flavio Costa

Does this means that the 5.x series is being discontinued?

 
03. Dec 2009, 06:50 CET | Link

Fantastic! :-)

 
03. Dec 2009, 07:15 CET | Link
Arbi Sookazian

This is good news!

1) which APIs are targeted for which milestones? (already know about Weld 1.0.0 and Servlet 3.0)

2) AS 6 aims to be a 100% EE6 TCK certified app server, correct? What about AS 5.x? What is that, a stepping stone app server from EE5 to EE6?

3) isn't there a SP1 for Weld 1.0 that's currently available? Didn't make it into M1?

 
03. Dec 2009, 13:32 CET | Link

I'm looking at the PFD and comparing the the Servlet API in the latest GF and I can't find e.g. the ServletRequest.startAsynch

 
03. Dec 2009, 14:44 CET | Link

1) So far it looks more like, JPA2, Servlet 3.0 2) AS6 is EE6 and 5.x is discontinued. If you need 5.x support, hope onto EAP 5 3) I believe it is 1.0.

PS Congrats to the whole AS team!

 
03. Dec 2009, 15:11 CET | Link

Yeah!

Congratulations to all, Now people no longer have to trust me when I demo Bean Validation in EE 6 :)

03. Dec 2009, 16:48 CET | Link

Is anyone writing a book about JBoss 6 and JEE6? If so, when will it be available?

 
03. Dec 2009, 19:15 CET | Link
Arbi Sookazian wrote on Dec 03, 2009 01:15:
3) isn't there a SP1 for Weld 1.0 that's currently available? Didn't make it into M1?

Weld 1.0.0.SP{1,2,3} just contain OSGi/GlassFish related fixes which were omitted from 1.0.0 (due to last minute changes in the GF schedule). I didn't upgrade JBoss AS to use these releases, as it doesn't use OSGi.

 
03. Dec 2009, 21:12 CET | Link
Arbi Sookazian

Thanks for the replies guys. Congrats again!

 
04. Dec 2009, 22:43 CET | Link
Mark Little | mlittle(AT)redhat.com

Congratulations Jason. This is fantastic news!

 
05. Dec 2009, 18:57 CET | Link

Another library version question: the manifest in the hibernate core states it as 3.5.0-beta2 but I didn't find Envers in it (which is in the same version downloaded from hibernate.org). Missing for a reason or is it safe to do a drop-in-replacement?

 
08. Dec 2009, 03:25 CET | Link
Mike Johnson

Great to hear! Do you have anywhere a projected timeline until the GA release of AS 6.0?

Thanks in advance, Mike Johnson

 
11. Dec 2009, 12:59 CET | Link
Arbi Sookazian

I'm having problems downloading the zip from here: http://sourceforge.net/projects/jboss/files/JBoss/JBoss-6.0.0.M1/jboss-6.0.0.M1.zip/download. Seems to hang halfway thru the download.

Any other way to get the zip??

btw, get rid of the Captcha on this website. It's annoying as shit and unnecessary. What's going to happen, the Spring zealots are going to bomb this site with requests? I think not.

 
12. Dec 2009, 01:27 CET | Link
btw, get rid of the Captcha on this website. It's annoying as shit and unnecessary.

You've never heard of blog comment spam, Arbi?

FYI, this blog gets almost as much traffic as news sites like InfoQ, and lately, more comments than either InfoQ or TSS. So we have a comment spam problem, which the captcha keeps very effectively under control.

12. Dec 2009, 17:47 CET | Link
Alexander Bell | Alexander.Bell(AT)j4fry.org

There's already a JEE6 book called Beginning Java EE 6 Platform with GlassFish 3: From Novice to Professional. There's also a nice Webinar from Sun about new JEE6 features.

@Topic Congrats, very good news.

Cheers Alex

 
17. Dec 2009, 01:06 CET | Link

Is there a time frame for the JBoss AS 6 release and for the full EAP 6? I'm considering using Weld on a current project, but it doesn't support AS 5.x, and I don't know if we can wait for AS 6.

Also, if an EAP client uses JBoss AS 6, how does that affect the subscription support?

Post Comment