JBoss AS 6.0 Milestone 2 released

desktop_freeyourcode_thumbnail.jpg

The JBoss AS team moved to a more rapid and incremental release cycle with the 6.x family and the second milestone was released today (release notes, download, repo.). The release was lead by Brian Stansberry and new features include :

  • Servlet 3.0 / JBoss Web 3.0
  • JPA 2.0 / Hibernate 3.5
  • JAX-RS 1.0 / RESTEasy 2.0
  • Microcontainer 2.2

More detail in blogs from Ales, Brian, Steve and Rémy. Congratulations to Brian on another on-time release and good luck to Jason and team for the next milestone release in a couple of months time.

Running Part 3

Here’s part 3 of my running log – my 10 week journey to train for a half marathon – something I haven’t attempted for over a decade. The log is mostly for my own reference but if you’re interested you can read Part 1 and  Part 2 as well.

Yesterday I completed my fourth full week of training. It’s going pretty well – I’m still slightly ahead of plan in terms of distance and with yesterday’s 7-miler I made some good progress on pace as well. I’ve mostly been running on the hamster wheel in the gym due to cold weather and travel – but that has allowed me to get a better sense of my pace. Over the next 5 weeks I start to up the mileage and hopefully I can increase my speed sufficiently to maintain a constant time-investment as time is something I don’t have a surplus of. Yet again, I’ll be working my running schedule around my travel this week so will have to cram a lot of miles in at the weekend. I’ve also notice that I’m losing about 1lb a week – that cumulative advantage should help as I start on the longer runs.

Immortality of Code / Life beyond Snoracle

One of the benefits we talk about with Open Source is that the license and collaborative nature can offer some protection for users should the main supporter disappear. Rarely has this been put to test but here’s an example that came across in my feeds today. OpenSSO was a Sun project that Oracle seemingly killed last week as part of their assimilation / refactoring process. In less than a week, it seems there’s already a commercial organization twilling support the code-base. From ForgeRock’s web page :

ForgeRock OpenAM is the market leading open source Authentication, Authorization, Entitlement and Federation product. ForgeRock is providing the community with a new home for Sun Microsystems’ OpenSSO product.

Good luck to ForgeRock – I recognize quite a few of the names as fellow Sun / iPlanet / Netscape Alumni. It will be interesting to see how this plays out – it got ugly the last time something like this happened.

Oracle and the Java Opportunity

I guess there’s a chance that we’ll know more tomorrow but regarding the future of Java under Oracle’s control – I’m still neutral to optimistic and sticking to what I said 6 months ago :

DZone: With Oracle’s acquisition of Sun, are you concerned at all about some of the potential changes that will come as a result, to the governance and licensing options to the OpenJDK?

Rich: I’m really not that concerned. There are all sorts of scenarios that people are suggesting. I still believe Oracle will do the right thing. They have far too much to lose, by either accidently or purposely sabotaging OpenJDK. They have a very healthy business based around Java. Creating unrest, creating any kind of distrust or fragmentation of the Java community really isn’t going to help Oracle. So I think they’ll do the right thing. I also think they probably have the ability to invest in Java more than Sun had over the last five years at least. Sun kind of had some fairly pressing financial issues. I think that, above all else, probably hindered some of the progress of Java over the last five years.

So overall, I’m coming in neutral to slightly optimistic. If things do go awry, I’m sure Red Hat the rest of the Java community will step up and help Oracle to get back on track. So, yeah, I’m pretty comfortable with it.

My only real concerns is that Oracle understands products and monetization much better than they understand community and collaboration so I think a misstep or two are more likely to occur than Oracle purposefully sabotaging Java. Harming Java will devalue their investment and their chances of getting a decent return.

On the positive side – I think there’s still huge growth potential for the Java platform – I see no reason why it can’t become the dominant standard for the enterprise – I personally think we’re at the start of the decline of Microsoft and Java is the only viable alternative to Microsoft’s enterprise foothold. Microsoft’s enterprise presence is not insignificant but neither is it guaranteed – it’s largely based on an historically well adopted OS and Microsoft’s missteps in that area are pretty well known by now .

Java needs some strong leadership, investment and a open, vibrant and growing community.

I raising my mug of tea to The Next Decade of Java !

JBoss Application Platform Q&A

Yesterday we started a series of Web Casts covering JBoss Application Platforms (Recording, Slides). We didn’t manage to cover all the questions in the Q&A so as promised here they are :

Q: When using your Apache & Tomcat bundled software, do you provide any additional security patches above and beyond what the Apache & Tomcat communities provide ?

A: Red Hat has a dedicated Security Response Team who’s role is to track alerts and security vulnerabilities in the community which may affect users of Red Hat products and services. They work with Open Source communities to identify, classify, diagnose and coordinate fixes. If Red Hat discovered a vulnerability in any Open Source project we would work with the community to coordinate a fix, we wouldn’t keep it secret.Where we might differ from the upstream project is in how we communicate the presence of vulnerabilities and deliver fixes to our customers.


Q: can you guys point out to any benchmarks on jboss as in comparison to the other j2ee containers available (ideally updated every once in a while) online for the people who look into jboss AS evaluation to come and compare it easily with the other AS and

We don’t currently have any public benchmarks comparing JBoss to other vendors. All proprietary vendors have specific restrictions in their EULA forbidding use in benchmarks, so the only viable way to provide a comparison is by comparing vendors submissions for some thing like SPECjAppServer2004. JBoss has long argued that SPECjAppServer2004 does not represent contemporary use of modern app. servers (a position that IBM now agree with) as such we’ve never paid much attention to SPECjAppServer2004 and we’ve never made a public submission. JBoss has been working with SPEC on a new benchmark which we think does better represent modern application server usage and we will, in time, provide our own public submissions.

Meanwhile, many customers who have moved large deployments from our proprietary competitors to JBoss typically cite overall cost saving as the main reason. Performance and overall cost are tightly linked.


Q: what is the official release date of EWP ?

A: Right now the best date I can give you is that it will be released sometime in this Calendar Quarter.


Q: why isn’t seam part of the web toolkit ?

A. That’s the long-term goal. ie. to separate the frameworks from the run-tmes as they typically evolve at different rates. We also want all the frameworks to be certified on all the run-times. This is a form of Pace Layering and I think it provides the greatest flexibility / agility.


Q: What is the level of support you give spring as part of the web toolkit ?

A. With the first version of the Web Framework Kit – Spring is a Technical Preview and not recommended for production use. The intention is to promote Spring to fully supported in the next minor release.


Q: why do you think glassfish managed to have jee5 server so soon ?

A. Because Sun is the spec. lead for Java EE – they have to deliver the Spec., the Reference Implementation and the TCK. It’s impractical for anyone to deliver an implementation before Sun. Just as it is impractical for anyone to deliver an implementation of Java CDI before Red Hat (the spec. lead).


Q: Are these versions (EWS, EWP, EAP) available in the community version, or only the enterprise version ?

A : The community version for EWS is Tomcat, mod_jk and Apache HTTP – you can see the exact versions included in EWS here. JBoss EWP only exists as a ‘profile’ in AS 5.1. You can see the exact component versions for the platforms on their respective web pages, eg. component page for JBoss EAP.


Q: When will EAP 5.0 be Java EE 6 certified ?

A. There is no plan to certify EAP 5.0 with the EE 6 TCK. EAP 5.0 supports Java EE 5, though it does include some features of Java EE 6 – specifically JAX-RS (RestEasy) and the Web Profile. If you want to see ho were progressing with Java EE 6 then take a look at JBoss AS 6.


Q: I would like easier upgrade path in RH Jboss vs jboss.org when you have your customized apps.. or is this a no problem ?

A : As long as you’re using the same base versions – portability should not be a problem. You can use this page to see what version level of components are included in EAP.


Q: What type of improvements are you looking at in order to support Cloud environments ?

A. Here are some of my thoughts :

  • Larger managed domains, possibly shared across BUs, requiring delegated administration and isolation.
  • More automated – everything needs to be easily automated or autonomous by design
  • Automation is just as likely driven by pre-defined policy as by a human sys. admin.
  • Better support for virtualized environments
  • Lower resource utilization
  • More dynamic – eg. to deal with elasticity – grow and shrink environments depending on pre-defined policies

Bob McWhirter and Marek Goldmann have been experimenting and prototyping some of these areas as part of the StormGrind project – take a look.


Q: Would web application developed in Jboss work on tomcat ?

A: JBoss EWP / EAP is a superset of Tomcat – as long as you limit your app. to use just the Web Container (ie. Servlet, JSP) – your app. will be portable. The web-container in JBoss EWP / EAP is based on Tomcat 6.0.18 so obviously supports the same versions of the Servlet (2.5) and JSP (2.1) specs. Tomcat 6.0.18 is also what we include in JBoss EWS.


Q: are there any limitations in the number or requests handled by using mod_jk ?

A. Good one – let me find out. Check this space for an update.
A. I checked with Jean-Frederic Clere, his response is :
“Apart from the OS limitations and httpd limitations (configuration in
httpd.conf, MaxClients for example) there aren’t any limits in the
number of requests mod_jk could handle.”


Q. where can I get the slides ?A. At some point they’ll appear along with the recorded sessions here.

Running Part 2

Just finished week 2 of my 10 week half-marathon training. Despite being away from home most of the week – I managed to exceed my mileage goal again – but didn’t make much progress on my pace. I have goal of finishing under 1hr 50m so need to be aiming for 8 minute miles; currently I’m barely hitting 10 min. miles consistently. With the warmer weather in the Triangle It was great to be running outside for the last couple of days (I find the treadmill desperately boring) and good to hit some small hills which should help bring my pace up.

Next week I’m hoping to squeeze in 16-18 miles and it looks like it will be warm enough to do most of those outside.

For what its worth, here’s my 10 week plan, it’s a variation of one I found here.

running.jpg

5 Reasons to submit a paper for JBoss World 2010

Screen shot 2010-01-13 at 3.56.35 PM.png

There are only 9 days left to submit your talks for JBoss World 2010, in case you need them, here are some good reasons :

  1. It’s in Boston, In June. It’s a great city and the snow and ice will probably be mostly gone by June.
  2. You get a free conference pass, good for all Red Hat Summit / JBoss World sessions, keynotes, events, meals and parties
  3. You get one free night accommodation (in a hotel)
  4. It’s very likely IMHO that there won’t be a Java One this year – if you are looking for an opportunity to talk about what you’re doing with JBoss technology then this is *the* best place to do it.
  5. If you want to get into the weeds with highly technical content – then there’s a new track for that.

Call for Papers end in just 9 days !

Running

I’ve never been much of a runner but always found running to be a pretty decent way to keep fit. It requires very little in the way of skill or technique; you don’t need any equipment; there’s nothing to set up and you can do it pretty much anywhere. If you’re busy with kids and travel and a job then you’ll find it pretty decent from a time investment point of view.

The only time I’ve really done any regular running was over a decade ago (notably before kids) – I ran the Bristol (UK) Half Marathon 3 times (98, 99 and 2000) as well as a few other shorter runs here and there (most recently the Los Gatos Dammit Run). But I’ve really never been much of a runner and find it pretty boring (more so on a treadmill) – I find cycling much more engaging and a much easier way to ‘turn off’; but cycling needs a lot more investment.

Over the Christmas break I signed up for the Tobacco Road Half Marathon and put together a 10 week training plan. I finished the first week this morning and am slightly ahead of my target. That’s fortunate because my plan (and the time available) has absolutely no contingency for injury or travel. And you guessed it – next week I’m traveling – the hotel has a small poorly equipped gym with exactly one running machine and the temperature in Boston isn’t going to be above freezing until August. If I was a runner – I’d be a fair-weather runner at that.

The Best and Worst of 2009

s_full-moon

On the eve of the last day of the penultimate year of the first decade of the third millennium and continuing a tradition I started in 2005, here’s a quick summary of 2009 – ignoring everything between the peaks and troughs.

Best Moment

Aside from every 3 months when Red Hat announces another knockout quarter 😉

My eight-year old daughter is absolutely racing through the Harry Potter books. She’s finished the first three and is just over half way through the forth (Harry Potter and the Goblet of Fire). After she’s finished with each book we watch the movie version. I’ve always been a big Sci-fi and Fantasy fan and it’s good to have an excuse to watch the Harry Potter movies and fantastic to see my daughter see the magic of books despite the lure of on-demand cable, movies, video games, the internet, etc.

Biggest Disappointment

This is a tough one – it’s a toss up between the right wing nut cases who maintain that this country’s problems only started the day Obama took office; and the TSA who are still punishing millions of innocent travelers every day with their ill-conceived knee-jerk reactions because they have consistently failed to improve air travel security. I can easily ignore the right wing nut cases – but I have to travel and comply with the TSA’s pointless and ineffective rules. So the TSA wins.

Best Application

My utilitarian ThinkPad semi-failed me over the summer so I used that as an excuse to flip back to using a Mac. I still use the ThinkPad as a desktop in my home office running Fedora but it is no longer portable. I’ve been using multiple machines for years (typically running OS/X and one or more flavours of Linux) and never found a nice simple way to share files until I found Dropbox. I use it all the time and now find it invaluable. [note to self – I should probably post some tips and ideas of how I use it at some point]. So Dropbox gets the top-spot. Runners up are MindNode (mind mapping) and Evernote (lists, notes, etc.). Note to personal productivity software developers – it’s no accident that all these apps. integrate with my iPhone.

I should also add; or repeat, as I’ve said it before – AR is going to be *big* – maybe this year enough people will be carrying a powerful smartphone to make 2010 the year of AR.

Best Book

I had high hopes for “And Another Thing”, Eoin Colfer – Book 6 of the HHGTTG “trilogy” but I think it was a mistake to try and replicate Douglas Adam’s style – that’s too high a bar for any author in my opinion. I’m currently wading through “Too Big to Fail”, Andrew Sorkin – an epic and well researched saga of the financial grey goo but I can’t count that as I won’t be finished with it this year. So I’d have to choose the “Omnivore’s Dilemma : A Natural History of Four Meals by Michael Pollan. The book didn’t change my life in a major way but it has made me a bit more selective about what I am wiling to put in my stomach.

Anyway, enjoy the Blue Moon tonight and have a healthy, prosperous and happy New Year.

The Evolution of Enterprise Java

400px-Human_evolution_scheme.png

Zallinger’s “March of Progress” from wikipedia.

I’ve been part of the Java ecosystem for long enough to see and be part of every Java EE / J2EE release to date. I still have a Forte SynerJ box-set somewhere – we claimed it as the first fully integrated J2EE 1.2 App Server and IDE – that was around 1999 and I was part of Sun for every subsequent release up to Java EE 5.

With the final votes in for Java EE 6 and with the year and decade coming to an end – it seems a fitting time to look back and see how far the Java EE platform has evolved :

  • J2EE 1.2 (1999) – announced just short of 10 years ago was the first attempt to create an umberalla specification to cover some existing web-tier, messaging and data access technologies (JDBC, Servlets, JTA, etc.) as well as the new middle tier technology – EJBs.
  • J2EE 1.3 (2001) – was from my recollection the first broadly adopted and deployed version, it added Connectors (a standard way to connect to back-end ‘legacy’ systems), some rudimentary support for XML Web Services and a pluggable security layer. EJBs got a major overhaul.
  • J2EE 1.4 (2003) – added JMX, a gaggle of specs. to support Web Services (JAXR, JAX-RPC). I think around this time – everyone had written their first App. using EJB’s and had learned that combined with CMP (Container Managed Persistence) they weren’t exactly getting the productivity boost they were hoping for. I think J2EE 1.4 was the “Vista” of Enterprise Java – over-engineered and ultimately underwhelming.
  • Java EE 5 (2006) – A name change and some new hope – mandatory XML deployment descriptors gave way to annotations, persistence took a lesson from the de-facto ORM solution – Hibernate. There was an alternative to, ahem, RPC-style Web Services with the inclusion of JAX-WS.
  • Java EE 6 (2009) – It’s been a while in the making and had a bad start but after ten years I think we now really see the start of a cohesive platform with a common programming model via CDI (JSR-299) and many of the criticisms leveled at the platform have been answered.

Java EE 6 also defines the new Web Profile – this is essentially a slimmed-down EE focussed on web applications. I think it’s much more than that – I think it’s an opportunity to really redefine the Enterprise Java platform and shed some of the legacy APIs. While the backward compatibility that EE dictates has been good – it’s also contributed to some bloat in the platform.

It’s interesting to see how the size of the Java EE spec. has changed over the years (assuming size of the spec. is a reasonable indicator of complexity)

  • J2EE 1.2 weighed in at just 140 pages;
  • J2EE 1.3 added about another 25% (174 pages);
  • J2EE 1.4 increased it by almost 40% (246 pages)
  • Java EE 5 actually bought the page count down by 10%;
  • and the last draft of the Java EE 6 spec. I read only added about 6% (236 pages) – despite some pretty major enhancements.

Despite several rounds of consolidation and various acquisitions – vendor support has remained impressive. There were 18 J2EE 1.2 certified servers, and even seven years later there were still 13 (for Java EE 5). I’d be surprised if there weren’t at least 10 vendors supporting Java EE 6 at some point – even after Oracle has assimilated BEA and Sun.

Despite its huge adoption, Java EE and the process by which it is defined (the JCP) has drawn a lot of criticism. Releases have often fallen short of expectations, been perceived as overly complex or taken too long to deliver; but despite the criticisms nobody can deny that Java EE has been a huge success. Java EE is not just a specification – its grown into an entire category of the software industry. I can think of no other technology that has bought so many competing vendors together to define such a broad and widely use platform.

I’m sure the JCP isn’t perfect and I’m sure vendor politics gets in the way of progress from time to time and Sun’s stewardship of Java hasn’t been flawless but step back and try to imagine what our industry would be like without an open and collaborative Java ecosystem. It will be interesting to see whether Oracle take a different approach (as they’ve suggested in the past) when they become the new stewards of Java. Let’s hope hey continue to encourage collaboration and diversity.

The various expert groups that define the Java platform is not, as many suggest, completely controlled by big vendors. My own company Red Hat is not an industry behemoth, there are divisions and offices within companies like IBM and Oracle that are bigger than Red Hat and JBoss, the middleware business unit of Red Hat is only a part of the entire company. Despite that – Red Hat has demonstrated yet again it’s willingness to punch way above it’s weight and has had an influence on Java EE disproportionate to it’s size. Congratulations to Gavin King, Pete Muir, Sacha Labourey. Emmanuel Bernard, etc for tirelessly pushing for simplicity in the EE platform.

JBoss AS 6 Milestone 1 is out and includes some of the key Java EE 6 features. Releases seem to be coming pretty frequently so you’ll see more EE 6 feature appearing over time.