1 2 Previous Next

Weekly Editorial

26 Posts authored by: Kevin Conner

Rapid Java EE Development Using Forge 2

 

Arun Gupta has spent time this week putting together a screen cast to show how easy it is to create a Java EE application using the Forge 2 Command Line Interface.  Arun demonstrates how to easily create JPA entities, add Bean Validation, include JSF scaffolding and REST endpoints and finally how to deploy the working application to JBoss EAP running on OpenShift.

 

Immutant 2 in the Works

 

The Immutant team are starting their development efforts on Immutant 2 with their main aim being the provision of a set of libraries, one for each of the commodity services, that are independent of the application server. This will allow you to embed those libraries in your application without requiring a "container" to be fully functional.  For those looking to take advantage of some of the container's facilities, such as as security, monitoring, clustering and more, it will also be possible to deploy your application into a stock WildFly or EAP container without the need to modify your application code.

 

Cleaning up Old JIRAs

 

Managing an Open Source project that has been going on for over 10 years presents a number of unique problems, one of which is how to deal with any old JIRAs that have been created.  This is a problem currently being faced by the Hibernate ORM team who find themselves with over 3000 outstanding issues, most of which they believe are no longer relevant to the current codebase.  The team has recently given some thought on this problem and have come up with a proposal.  If this topic is of interest to you then be sure to check out their post and add your thoughts to the discussion.

 

On the Road

 

San Francisco is going to be a very busy place over the next few weeks with the arrival of DevNation, April 13th-17th, and Red Hat Summit, April 14th-17th.  DevNation will have a very strong focus on the developer community with presentations on technologies such as Camel, SwitchYard, Drools, jBPM and many more.  The majority of the presentations will be given by those who are experts in technologies, providing a fantastic opportunity to discuss, in person, any topics that may be of interest.  Friday 11th of April will also see Mark Proctor giving a presentation at Square, discussing what is currently happening within the Drools projects.

 

The Red Hat offices in Amsterdam will be hosting a series of Hackathons over the next few months, providing an opportunity for some hands-on experience with various technologies.   The first Hackathon takes place next Thursday, April 10th, however spaces are limited so be sure to register before they run out.

 

Eric recently spent some time in Toronto, Canada, where he had the honour of giving a presentation on JBoss Rules and BPM at the Toronto Java Users Group.  He was joined on stage by Jonathan Feurth who was giving a presentation on Thread Safety.  Eric was also in Toronto for a partner workshop where he gave presentations based on his series of online workshop posts, the latest instalment of which covers the steps necessary for creating a Domain Specific Language.

 

New Releases

 

JBoss in the Wild

 

If you are interested in meeting with, and talking to, some of the JBoss developers then you have two fantastic opportunities coming up over the next couple of months.

 

The first opportunity will be during EclipseCon 2014, being held in San Francisco from March 17th to 20th.  This event sees a number of sessions being given by Red Hat employees such as Fred Bricon, Gorken Ercan, Bob Brodt and David Bosschaert.  In addition to these session there is also an opportunity to spend a full day learning about Vert.x with presentations being given by many of the leading experts, including Tim Fox.  If you are interested in any of these technologies then book your place for what promises to be a very informative  and worthwhile event.

 

The second opportunity will be during DevNation and Red Hat Summit, taking place in San Francisco from April 13th to 17th.  DevNation consists of numerous developer focussed presentations covering technologies such as Camel, OpenShift, AeroGear, SwitchYard, jBPM, Drools and many more.  With most of the presentations being given by the leading experts in these technologies this event provides another informative, developer focussed opportunity for learning, meeting the experts and debating any topic that may interest you.  There may even be a few beers to be had

 

Examining Mobile Development with Cordova

 

Mobile development is something that is on the radar of most developers, whether this be the development of native applications or those created using hybrid technologies such as Apache Cordova.  Another choice that we often make is whether to develop from the command line or through integrated support within an IDE; luckily we have both avenues covered.  Arun Gupta has taken some time to show how easy it is to create a Cordova application from the command line with Gorkem Ercan demonstrating similar capabilities within JBoss Tools 4.2.0 Beta 1.

 

Infinispan and Parallel Execution of Map/Reduce Tasks

 

Infinispan has long supported the fully distributed execution of both Map and Reduce phases of the tasks however the downside was that each node executed these tasks within a single thread.  With the community release of Infinispan 7.0.0.Alpha1 this has now changed as this release introduces the ability to execute these tasks in parallel.

 

REST versus WebSockets

 

Arun Gupta, while travelling the world to give his Java EE7 presentations, has many conversations with those who turn up to learn.  One of the most common questions asked during these conversations is on how REST compares to WebSockets.  Arun has recently tackled this question in a post that discusses the pros and cons of each approach, including examining the performance of each through a micro benchmark, all with the intention of providing you with sufficient information to spur discussions.

 

RHQ source moves to GitHub

 

If you are interested in, or indeed already following, the work of the RHQ team then you should be aware that they have recently moved their source code repository over to GitHub.  This move should make it easier for everyone to obtain the source and contribute changes through pull requests.

 

Webinars

 

Kris Verlaenen and Prakash Aradhya will be presenting a webinar demonstrating how quickly you can get started building powerful workflow automation solutions.  The webinar takes place on Wednesday March 12th.

 

The end of March brings three opportunities to join an interesting webinar discussing rules execution with a focus on how decision tables.  If you are interested in these technologies, and are available on Thursday March 27th or Friday March 28th, then register and learn.

 

New Releases

 

Brett has announced two releases from the Hibernate ORM team, Hibernate ORM 4.2.9.Final and Hibernate ORM 4.3.2.Final.  Both releases contain numerous bug fixes and have been heavily focussed on improving performance.

 

Thomas has announced the release of the Arquillian OSGi 2.1.0.CR12 component

 

Barry has announced the release of Teiid Designer 8.4 Beta1, focussing primarily on upgrading the Teiid client compatibility to include support for Teiid 8.6.

 

Max has announced the release of JBoss Tools 4.2.0 Alpha2, the first working alpha release that focusses on integration with Eclipse Luna.  This release comes with a host of new features including improvements for Cordova, Arquillian, BrowserSim, OpenShift and many more.

 

Dan has announced the release of Infinispan 7.0.0.Alpha1.  This release includes support for several new features including support for clustered listeners, the ability to execute Map/Reduce tasks on multiple threads, the building blocks of cache security and improved support for OSGi in the HotRod java client.

 

The Forge team have announced the release of JBoss Forge 2.1.1.Final, following quickly on the heels of their 2.1.0.Final release.  This release addresses 51 issues making this the fastest and most reliable release of all.

 

That's all for this week, join us again next week to discover more from the world of JBoss

PANO_20140131_150001.jpg

 

We begin this week's Editorial by asking for help from everyone who is using Presentation Tier Technologies in their applications.  Brian has prepared a simple, three question survey to help us to get a better understanding of the direction in which your applications are headed, ensuring that we can continue to provide you with the best tools and capabilities to support you in your development efforts.  Please take a minute to look at the survey and help shape the direction we will take going forward and remember, the lists are not exhaustive so please use the 'Other' box to let us know of additional combinations that you are using.

 

Bayesian Belief Network in Drools

Mark has been very busy developing and integrating a bayesian network subsystem for the Drools pluggable belief system.  In his post he describes the initial work that has been done, references the papers that have been driving the development and briefly discusses the next steps in the development.

 

Deploying processes in jBPM 6

If you have been trying the recent jBPM 6.0 release then you will already realise that the mechanism for deploying processes has changed, with the packaging moving from a proprietary packaging model to using an extension of a jar file.  Maciej has written a great post explaining the changes that have occurred, highlighting the specific additions that need to be made and walking you through the choices for deploying the new artifacts into your system.

 

Integration Tooling for JBoss Developer Studio and JBoss Tools

Tooling plays a major part in all projects that contribute to the integration platforms and this week's release of the integration platforms is accompanied by an update to the tooling available through JBoss Developer Studio and JBoss Tools.  For those of you wishing to try out the new tooling, Paul walks you through what is included, provides a step-by-step guide to installation and describes the new components that are now included.

 

JBoss out and About

As part of the Developer Conference taking place in Brno this weekend, JHackFest will be providing an opportunity for anyone interested in Open Source to join with others and hack on any ideas that may be of interest.  JHackFest takes place on Saturday, February 8th in Masaryk University in Brno.

 

The Ceylon team have recently held their annual face-to-face meeting in Paris and, with everyone in the same location, took the opportunity to hold their first Ceylon Tour conference.  There were numerous presentation during the day covering topics such as the SDK, Ceylon Idioms, Vert.x, testing, module repositories and Java interoperability.  Stéphane has provided his thoughts on the face-to-face and conference, including slide decks from all the presentations.

 

If you were at the recent Boston JUG meeting then you would have seen Eric Schabell give a presentation entitled "Zero to Hero with JBoss Business Rules".  Eric has now made his slide deck available for those who are interested in seeing what was covered.

 

New Releases

The Hibernate Search team have released Hibernate Search 4.5.0.Final, focussing primarily on compatibility with Hibernate ORM 4.3 and WildFly 8.  This version of Hibernate Search will also now be included in the WildFly 8 distribution making it even easier to get started.

 

The Arquillian team have released 2.0.1.Final of their Graphene component, focussing primarily on browser interoperability and addressing bugs.

 

That's all the news we have for you this week, join us next week for the next installment from JBoss.

This time of year affords many of us an opportunity to step away from work, enjoy time with our families, relax and even the chance of spending time on those projects that are on our todo list.  If you are still looking for some interesting projects then hopefully you may be enticed by some of this week's goodies.

 

WildFly and Java EE

 

Arun Gupta has been prolific this week, writing no less than four posts covering WildFly and/or Java EE!

 

In two of his posts he demonstrates how simple it is to run his Java EE samples on WildFly, all within two popular IDEs.  The first post walks us through the steps that are necessary to enable the integration within JBoss Tools, the second showing similar capabilities within NetBeans.


Arun has also taken time to go through the recently published Devoxx 2-13 Parleys Channel and compile a list of no fewer than twenty videos covering various Java EE topics, including the Java EE7 session he presented with Antonio Goncalves, an interview he gave during the conference and all the presentations that were given by the Red Hat projects.

 

If you are interested in finding out more information on WildFly and EAP, including how they compare with GlassFish and WebLogic, then register for Arun's webcast on January 8th 2014.

 

Drools and jBPM

 

The drools and jBPM teams recently held a workshop in the fabulous city of Barcelona.  Mauricio Salatino has written up a report of the event, including some photographs, details of the workshop and links to the accompanying slide deck.

 

Eric Schabell, having previously provided a set of demo projects to demonstrate the capabilities of the BPM platform, has now enhanced each of the projects so that they will create 1000 mock instances on deployment.  His reasons for doing so were simple, to provide an easy way of demonstrating the graphical capabilities of the Process and Task Dashboard.  Eric has also created some new demos to give you a taste of the upcoming Business Optimizer capabilities.

 

Design Time Governance with Overlord

 

Continuing his serious of articles covering Design Time Governance Kurt Stam, of the Overlord team, has added another article showing how easy it is to extend your Design Time Governance release workflow to include provisioning your application by deploying it into an application server's domain.

 

Testing with Ceylon

 

The 1.0 release of Ceylon introduced a completely rewritten test module, including support for annotations.  For more information check out Tomáš Hradec's article where he introduces the current test capabilities of the language.

 

Apache Camel Developer's cookbook

 

Jakub Korab and Scott Cranton have recently finished their upcoming book, the Apache Camel Developer's Cookbook.  Their book includes a wealth of information using over 100 how-to recipes to show you how to Get Stuff Done.  The book should be published by Packt later this month and is available for pre-order.

 

New Releases

 

If all the above goodness wasn't enough to keep you busy during the holiday period then here are some new releases that you can also play with

 


That's all for another week at JBoss, keep checking the feed for more updates over the coming weeks.  If you are lucky enough to be taking some time away from work then, from all of us at JBoss, have a great time over the coming weeks and into the New Year.

Record JGroups Cluster Size

 

Bela has recently announced a large jump in the size of the biggest JGroups cluster known to have been created.  The previous record stood at an astounding 536 nodes but this has now been surpassed in style, raising the record to an incredible 1538 nodes.

 

Transactions Returning to Big Data

 

Mark Little recently attended the HPTS 2013 Workshop where he presented a paper on Transactions Returning to Big Data.  In his paper he covers a number of the issues that have lead many organisations to reconsider the use of transactions in NoSQL/Big Data deployments.

 

Project Job Scheduling the OptoPlanner way

 

Geoffrey has followed up on last week's OptaPlanner video with a new video that demonstrates how OptaPlanner can be used to schedule project related tasks, making use of the available resources in an efficient manner.

 

Scala Interceptors

 

Adam Warski has recently written a post describing how easy it is to add interceptors into a Scala application.  While this may sound like a daunting task, Adam introduces us to the MacWire ProxyingInterceptor class which can be used as the foundation for this functionality.

 

GOTO Aarhus 2013

 

Eric Schabell was fortunate enough to have attended GOTO 2013, being given an opportunity to present a session on his OpenShift Primer Book.  Eric has now posted the slides of his session online, entitled "OpenShift Primer: Cloud development has never been easier".

 

jBPM in Magnolia CMS

 

Kris recently attended the Magnolia conference in Basel, Switzerland, where he co-presented a session with Espen from the Magnolia team.  Their session covered jBPM, versions 5 and 6, and provided details of how Magnolia uses jBPM to drive Magnolia Workflow.

 

New Releases

 

That is all for this week, please check back next week for more updates from the JBoss Communities.

Introducing xPaaS

 

For a number of years we, at JBoss, have been discussing PaaS in various forms including Enterprise PaaS, Integration PaaS and BPM as a Service.  We have been discussing each of these as independent components although each has obvious relationships with the others.  As a result we have recently announced an update to our PaaS strategy, a unified offering that we are calling xPaas.  Following the announcement, Mark Little has taken some time to present his thoughts on the topic and what can be expected over the coming weeks and months.

 

Embedded and Remote queries in Infinispan

 

The Infinispan team have recently introduced a new querying capability within their 6.0.0 codebase, intended to provide a way of running queries against cached entities using a simple filtering DSL and allowing the possibility of alternative query engines to be used while using the same query language/API.

 

Dynamic Index Sharding in Hibernate Search

 

Index Sharding has been a core capability of Hibernate Search for years however, until now, it has been necessary for the number of shards to be specified explicitly within the Hibernate Search configuration.  The 4.4.0.Beta1 release of HIbernate Search changes this by introducing a new feature, Dynamic Sharding, an introduction to which can be found in Sanne's post.

 

SwitchYard on OpenShift

 

Have you ever wanted to deploy SwitchYard applications in the cloud?  If so then Keith Babo has the answer for you.  In his latest video recording within the SwitchYard Video Series Keith shows how simple it is to create a new SwitchYard on OpenShift, how quickly an Application can be developed and how easy this application can be deployed into the OpenShift environment.

 

OptaPlanner and Vehicle Routing problems

 

Geoffrey has created a new video demonstrating how OptaPlanner can be used to optimise the planning of Vehicle Routes while delivery times are being constrained by specific time windows.

 

Presentations in the Cloud

 

Eric Schabell is well known for his presentations, many of which cover how best to use OpenShift.  In his latest post, Eric has decided to marry the two topics and demonstrate how easy it is to use OpenShift to publish presentations in the cloud, describing each of the steps that are necessary for deploying an example Awestruct presentation.

 

New Releases

 

 

That is all for this week, please check back next week for more updates from the JBoss Communities.

Jave EE in the Cloud

 

Over the next two months Shane Johnson will be writing a series of articles describing how Java EE applications can be developed and deployed into the Cloud.  In his first article Shane focusses on the OpenShift architecture, discusses the different communication requirements of application servers in the OpenShift environment compared to those within a traditional middleware configuration, introduces the concept of Gears and how they relate to the virtualisation employed by OpenShift and finally lists some of the components and topologies that can be used within OpenShift deployments.

 

Audit Logging with WildFly

 

Kabir Khan has written two very interesting articles describing how to configure audit logging for WildFly 8.0.0.Alpha4.

 

In his first article, Kabir describes how to set up secure Audit Logging to a remote rsyslog daemon.  While this is an advanced configuration for the WildFly audit logging, Kabir takes us through the process step by step and covers the creation of the Certificate Authority which is used to self sign the certificates for TLS, how to configure the WildFly Audit Logging to use TLS as its transport and finally how to configure rsyslogd to recognise the client certificates issued by your new Certificate Authority.  If this article sounds too daunting then you may also want to check out his second article where he describes a simpler example, showing how to enable the WildFly Audit Logging to log entries into a file before going on to show how to add the syslog handler to enable logging to a local syslog daemon.

 

Upcoming Events

 

On Wednesday 28th August there will be two BRMS events taking place in Dublin, one in the morning and the second in the evening.  These events are free however spaces are limited.  If you are interested in attending either event then make sure to check Mark's post for details of how to register.

 

Eric Schabell will be presenting once again at this year's GOTO Aarhus conference.  His session will be taking place on Monday 30th September, from 13:20 to 14:10, and is entitled OpenShift Primer - Cloud development has never been easier.

 

New Releases

 

 

That is all for this week, please check back next week for more updates from the JBoss Communities.

Next week sees the return of JUDCon to Boston, co-located with Red Hat Developer Exchange Day and, for the first time, CamelOne.  The events kick off on Sunday evening with the JUDCon, CamelOne and Red Hat Developer Exchange reception, followed on Monday and Tuesday with full days of sessions and workshops.  The excitement does not end there as the week then continues with Red Hat Summit, taking us through until Friday afternoon.

 

Many of the core developers will be in Boston for the week, presenting on numerous subjects, and this will provide a fantastic opportunity for those attending any of the conferences to meet up and discuss topics that might be of interest to them.

 

If you are dropping in on JUDCon then you may be interested in Paul's presentation on compensation based transactions.  If you are more interested in Camel then you may be interested in Rob's talk on Connecting Applications with ActiveMQ or Claus' presentation, aimed at introducing Camel to beginners.

 

The Drools team have also organised a walk in clinic on Thursday 13th, from 9:30am to 5:00pm, and anyone is welcome to visit.  You do not require a conference pass and are welcome to stay as long as you like.

 

EE7 in the news

 

On June 12th there will be a virtual launch event for Java EE 7, during which development leads will provide overviews of their new JSRs.  This will include our own Pete Muir, providing an overview of CDI 1.1 (JSR 346), and Emmanuel Bernard, who will talk about Bean Validation 1.1 (JSR 349).  Pete has also written a post covering the new features that have been added as part of the CDI 1.1 specification.

 

JBoss EAP and WildFly

 

The decision to rename JBoss Application Server to WildFly was taken in order to reduce the confusion that existed between the project (JBossAS), the community and the product (JBoss EAP).  The decision was not taken lightly and is intended to strengthen the existing relationships.

 

While we have made every attempt to be open during this process, including holding a poll for the new name, I'm sure that many of you will still have a number of questions about the decision and how the WildFly project now relates to the JBoss EAP product.  If so, take a look at Dimitris' and Jaikiran's posts on the subject as they try and provide some context and answers to those questions.

 

BPMN2 Process Designer in the Cloud

 

Eric Schabell has been working with the jBPM Designer project team to create a demo installation of the designer running on OpenShift.  Eric has also provided an initial OpenShift project allowing you to experiment with this by simply importing the project as you create the OpenShift application.

 

Introducing Drools Workbench

 

The Drools 6.0 release bring many changes, one with an obvious impact to users being the replacement of the Guvnor application with Drools Workbench.  The workbench has been rearchitected, now using the UberFire framework as the basis of the application.

 

MongoDB as an Infinispan Cache Store

 

The 5.3 release of Infinispan includes a new feature which enables the use of the MongoDB NoSQL database  as a cache store.  Guillaume has more information about how the cache store can be enabled, either through configuration or programmatically, and includes a reference to where you can find more information.

 

New Releases

 

 

That's all for this week.  If you are attending any of next week's conferences then I look forward to seeing you there.

We start this week with a couple of topics that have been receiving some controversial cover in various communities.

 

Banks don't use ACID transactions, at least that is what some people are now saying after reading a blog post which comes to that conclusion.  The reality, however, is not as simple as that post would suggest as the solution employed will depend on the particular requirements of the problem being solved; there are occasions when the solution requires ACID semantics and others where these semantics can be relaxed.  Mark Little has written two blog posts on this topic, the first as a response to the reaction created by the original post and a second on some of the possibilities that are available when your requirements call for ACID semantics but, for whatever reason, this is unachievable.

 

XACML has also been getting a bit of attention of late, thanks to a blog post by Andras Csar of Forrester who has declared it to be dead, but is this the opinion of the industry?  The situation, as I am sure you can imagine, is more complicated than that post would suggest and the answer depends on who you ask and what it is that they are trying to achieve.  Anil Saldhana, who participated in the creation of the OASIS XACML v3 specification and is co-chair on the OASIS Cloud Authorization TC, has written a post discussing Andras' views and providing his opinions on the future of XACML and alternatives.

 

Have you ever wondered what goes on within a conference Program Committee?  How do they go about choosing presentations?  Do you want some advice on how to get your abstract noticed?  If so then Michael Istria may be able to help.  Michael was recently invited to play a part in the Program Committee for EclipseCon France, an experience which he enjoyed, and has written about his experience, how the PC worked and how you can improve your chances of success in the submission process.

 

If you have ever had to use an HTTPS connection within java then you are likely to be aware of the need to set the trustStore system property.  This solution, however, forces you to use the same trust store for all your connections but what can you do if you need to use different trust stores per connection?  If this is one of your requirements then John Mazzitelli has a solution for you, allowing you to ignore the system property and specify the trust store on each connection.

 

Eric Schabell has written a post introducing a demo project, written by Red Hat UK Solutions Architects to pull together six of the Red Hat JBoss products.  Eric, as you would expect, has taken this a step further and extracted the Car Insurance Demo into a standalone demo framework so that it will be easy for you to run locally.

 

JBoss on the Road

Randall Hauch has had a busy few weeks travelling to South America, where he presented at JUDCon Brazil, followed by a trip to Cologne, Germany, where he presented at NoSQL Matters, Grenoble, France, where he presented at Alpes JUG and finally Geneva, Switzerland, where he presented at Geneva JUG.

 

Two others who were present at JUDCon Brazil were Gabriel Cardoso, who gave an interesting presentation on what is required when Designing a New User Interface for Open Source Projects, and Galder Zamarreño, who gave presentations on Infinispan's implementation of the JCache API and how Infinispan can be used as Hibernate's second level cache.

 

Claus Ibson has recently travelled to Århus, Denmark where he gave a presentation, in Danish naturally, on Apache Camel.

 

Finally Gunnar Morling attended Berlin Expert Days where he gave a presentation entitled "Bean Validation 1.1 - What's Cooking?"


Upcoming Events

Next week sees Marek Goldman giving his first ever presentation at GeeCON, hosted in Kraków, starting at 11:40am on Wednesday 15th.

 

The following week will see Mark Proctor deliver a presentation to the London JBUG covering "What's new in Drools 6.0".  If you are in London, and free on May 22nd, then head along to what promises to be a very interesting presentation.

 

June 9th to June 14th will see a number of conferences taking place at the Hynes Convention Center in Boston, USA.  The excitement kicks off with JUDCon 2013: UnitedStates (June 9th - June 11th) followed by CamelOne 2013 (June 10th - June 11th), Red Hat Developer Exchange (June 11th) and finally Red Hat Summit (June 11th - June 14th).  Each of these conferences will be well attended by many of the core JBoss developers and provides one of the best opportunities to meet, talk and work with some of the best in the business.  If you are unsure what will be covered by these conferences then Ray Ploski and Mike Brock can help, both posting their thoughts on what you can expect to see and learn at JUDCon, Camel One and Red Hat Developer Exchange.  Stéphane Épardaud also provides some information on a 4 hour, hands-on lab that he, Gavin King and Emmanuel Bernard will be presenting on Ceylon.


New Releases

This week sees a multitude of releases from a diverse set of projects.

 

We start the list with two projects that have each announced two releases

 

In addition to this we have a number of projects announcing final releases

 

and a number that are announcing beta releases

 

With this amount of activity there must be something that piques your interest!

It is during weeks like this that I realise how much work is happening within the JBoss communities, with posts covering diverse topics such as supporting Software Transactional Memory on a Raspberry Pi to the nuances of handling nulls when invoking Java from Ceylon.  Many of these tasks are the result of the developer's interest in the technologies they use on a regular basis, experimenting and pushing the boundaries of what has previously been achieved.  Here is an introduction to some of these posts; I hope you manage to find something that is of interest.

 

STM on a Raspberry Pi

 

The raspberry pi is a very versatile, small footprint computing device which, although not very fast, is still capable of executing complex software.  As part of an ongoing task to introduce STM into vert.x, Mark Little shows us how easy it is to build the latest Narayana release on the Pi before walking us through an example which highlights the existing STM capabilities that are already present in Narayana's TXOJ codebase.

 

Ceylon, Null and Java Interoperability

 

One of the interesting features of Ceylon is its support for typed null values, a capability which can cause some confusion when it comes to invoking Java methods from within the language.  The Ceylon team have put a lot of thought into how they should handle this issue, implementing what they believe to be the best solution, but the behaviour is still proving to be a surprise to many.  Gavin has taken some time to describe the issue, some of the reasons which lead to the current implementation, and how this affects the Ceylon code.

 

Framework-less Dependency Injection within Scala

 

The use of dependency injection in any language usually implies that a DI framework is also a necessity, handling the injection at runtime, but this does not always have to be the solution.  Adam Warski has been putting a lot of thought into this problem and has come up with a different approach for solving this issue within Scala, making use of Scala Macros to handle the DI at compile time.

 

Faster and Easier Planning within OptaPlanner

 

Geoffrey has recently replaced the ConstraintOccurrence in OptaPlanner with the much more concise ConstraintMatch system.  The result of this change is faster execution of the scoring and a more concise syntax for the DRL files.  Check out Geoffrey's post for more details on this change, including a performance comparison with the previous system.

 

Callable Statement support in Hibernate

 

The JPA 2.1 specification adds a number of very useful features to the specification, one of which is support for invoking stored procedures.  For simple invocations, for example the invocation of stored procedures which return a single result, this is a straight forward task however it is only when you consider stored procedures that can return multiple results, and/or update counts, that you realise that the code begins to look unfriendly.  In order to address this issue Steve Ebersole recently implemented an alternative mechanism, specific to hibernate, which results in simpler, more concise code.

 

Handling JDBC drivers within an OSGi Container

 

Handling JDBC drivers within OSGi can be a challenge when a bundle attempts to load the driver dynamically, requiring the bundle to have visibility of the driver within its ClassLoader.  If the package name of the driver is known before hand then this can easily be addressed through the use of the Import-Package metadata however there are many occasions when the driver is not known until runtime.  Freeman Fangs has come across this situation on a number of occasions and shares his advice on how this issue can be solved.

 

Upcoming Events

 

Claus Ibsen will be presenting at an Apache Camel event in Copenhagen on April 11th and may also be presenting at the Gothenburg JUG on April 23rd.

 

New Releases

 

The HornetQ team have announced the release of HornetQ 2.3.0.CR2, their last candidate release before going final.

 

The Hibernate team have announced the release of HIbernate ORM 4.3.0.Beta1, now targeting version 2.1 of the JPA specification.

 

The Teiid team have announced the first alpha of Teiid 8.4, now based on the productised version of the application server, EAP 6.1 Alpha.

 

That's all for another week, please drop by next week for some more updates from the JBoss Community.

We are now a month into the New Year and it is amazing to see the amount of development that is occurring within the JBoss Community.  It would be fair to say that we are no longer ramping back up from a long vacation but are now going full steam ahead.  Sit back and let us take you through all the developments of the last week.

 

AeroGear Next Steps

 

The AeroGear team have been very busy preparing for the next milestone release of the AeroGear project by releasing milestones of their JavaScript, Android and iOS libraries.  Kris Borchers has recently written an article discussing the major changes that are coming in the JavaScript library, including how paged resources can be handled by the pipeline and how you can tailor the version of AeroGear.js being used by your application.  Summers Pittman has written an article on the changes coming to the Android lib, including an API on handling paged data from REST endpoints and the new persistent SQL Store.  Finally Christos Vasilakis has written an article covering the iOS lib changes, including support for pagination and property list based storage.

 

Bean Validation Specification reaches 1.1 Beta 3

 

With less than three weeks to go before the proposed final draft of the specification is released, the JSR 349 Expert Group have released the third beta of their specification.  If you have any interest in this specification then now is the ideal time to provide feedback to the group.  You can find details of the specification, reference implementation, API and TCK on the beanvalidation site.


Thoughts on Big Data

 

Shane Johnson has recently written a couple of articles describing his thoughts on Big Data.  In his first article, Big Data and the Flying V, Shane discusses Doug Laney's "3V's" framework for understanding Big Data and how this is reflected in practice.  In his second article, The Structure of Big Data, Shane discusses how the structure of data can be classified, a topic which prompted a response from the ModeShape team, Structured, unstructured and everything between.


Message Batching in JGroups

 

Bela Ban has been doing some very interesting work to enable message batching within JGroups 3.3.  In his article, Buy one, get many for free, Bela covers the changes that have been introduced, how they will change the behaviour and what can be enabled through this change.  It will be very interesting to see the impact this will have on performance.


WS-BA Participant Completion Race Condition

 

Paul Robinson has recently posted his second article discussing a race condition which exists within the WS-BA protocol.  His first article concentrated on a high level description of the events and how it affects an application and he now delves into the technical details to show that the outcome of the completion will always be consistent.  This is a must-read if you are using, or considering, WS-BA within an application.


OpenShift Enterprise Reference Architecture for High Availability

 

If you are interested in running OpenShift Enterprise on premise, or as part of a hybrid PaaS solution, then you should take a look at Eric Schabell's introduction for a high availability architecture.  If this whets your appetite then be sure to read through the complete reference architecture.


Enabling HTTPOnly in JAX-RS

 

Have you ever wanted to enable support for HTTPOnly in your JAX-RS application?  Do you need this behaviour before it is officially supported in the JAX-RS specification?  If so then Anil Saldhana has a solution to your problem.

Dynamic Panels and Custom Error Pages in JSF

 

Brian Leathem has a great article discussing how to dynamically create togglePanels, accordions and tabPanels using the RichFaces <a4j:repeat> tag.  While it has always been possible to handle this using JSTL, this addition allows these components to be created during the render phase of the JSF lifecycle.

 

Jaikiran Pai was recently following an interesting topic on the coderanch forums, involving JBoss, customer error pages, CDI and JSF.  Intrigued by this topic he began investigating the problem under discussion and came up with an elegant solution to the issue of creating a custom error page for expired conversations involving CDI and JSF.

JAX-WS tools and the Java Compiler API

 

Apache CXF has been, for the most part, well integrated into JBoss AS 7.  One integration problem that remained to be solved was the issue of executing the wsdl-to-java and java-to-wsdl tooling without having to use the endorsed feature of Java to override the version of the JAX-WS api.  Alessio Soldano recently tackled this issue head-on and, through collaboration with the Apache CXF community, has proposed a solution which will allow the JBossWS integration to rely on the modularity of JBoss Modules in order to specify the correct API version.

Annotation Processors Failing Silently

 

Have you ever had a problem whereby and annotation processor you have written has mysteriously stopped working?  Heiko Rupp recently came across that exact problem and, through some interesting detective work, managed to discover what was occurring and how it could be fixed.


Projects Requiring Help

 

The Hibernate team have started discussing requirements for using Hibernate ORM within an OSGi environment.  Do you use ORM?  Are you interested in having it work within an OSGi environment?  If so take a look at their proposal and make sure that your use cases are covered.

 

The Errai team are also asking for your help with the development of Errai 3.0.  Do you have any features that you would like to have considered for this release?  If so head over to their forum and let them know the details.

 

News from Recent Events

 

Heiko Rupp recently attended the London Java Community's first "Meet a project" event.  The event involved representatives from six projects, each of which were given 15 minutes to introduce their project to the attendees, explain about open source and discuss how the attendees could get involved and help out.  It sounds like a very interesting format.

 

Sanne Grinovero was recently in India giving five presentations during JUDCon India 2013.  Read his thoughts on the conference and his amusing description of an unlikely conversation he had with an expert Hibernate Search user.

 

New Releases for the Week

 

In keeping with the subject, Full Steam Ahead, we have lots of new releases to share with you this week.

 

 

Thanks very much for reading this far, I hope you have enjoyed this week's Editorial.  Drop back next week for more updates from the JBoss Community.

If you have been a regular reader of this Editorial then you will know that this has been another great year for the JBoss Community and, with so many active projects under the JBoss Community umbrella, there has never been a better time for those who wish to jump in and contribute.  Contributing is easy, just choose a project you are interested in (there must be one!), look at the outstanding tasks, talk with the team to see how you can help and next year you will see the fruits of your labour in the Editorial (and many other places!).

 

AeroGear from a Different "Angle"

 

The AeroGear team have been having a number of 'watercooler' discussions about Angular.js, a JavaScript application framework from Google.  As a result of these discussions Kris Borcher decided that he would spend time creating an application using both AeroGear.js and Angular.js, an experiment which has been very successful.  Kris chose to develop a mobile information site for the upcoming DevNexus conference and has now posted his thoughts on the experiment.

 

ModeShape and Concurrent Writes

 

The ModeShape team have written a great article explaining how concurrent access to your data will work within your application and what you can do to reduce any remaining contention within your data access patterns.  This is a must-read for anyone using ModeShape.

 

Invoking EJBs from a Remote AS7 Instance

 

Have you ever wondered what needs to be done to invoke EJBs from another JBoss AS7 instance?  Francesco Marchioni, of mastertheboss.com, has written a very nice tutorial demonstrating the necessary steps and showing just how easy it can be done.

 

AS7 Console - Future Direction

 

The AS7 team recently held a developer meeting to discuss the future direction of the app server, during which Heiko Braun gave an interesting talk on the ideas being considered for AS7 Console 2.0.  Heiko has now made his slidedeck available, some of the highlight of which are a focus on extensibility, task repository and a model based user interface.

 

Bean Validation in the press

 

The German journal Javamagazin has recently published an article on the work which has gone into the Bean Validation 1.1 specification.  If you are interested in this article, and can speak German, then check out Gunnar's article where you can find a PDF version of the article generously provided by the authors.

 

Drools 6.0 - Annotation Driven Development

 

The Drools team are getting ready to release the first Alpha of Drools & jBPM 6.0.  If you are a user of Drools then you may already realise that there are some major changing coming in 6.0, such as the move toward a convention based style of project and  support for annotation driven development.  If you are interested in seeing what the annotation style of development looks like then check out Mark Proctor's taster.

 

Score flexibility in Planner

 

Geoffrey De Smet has created a screencast showing how easy the scoring function can be changed when trying to optimise resource usage in Drools Planner, demonstrated with an example on routing vehicles.

 

jBPM Console NG

 

Mauricio has written a fantastic article describing the updates which have been happening within the next generation of the jBPM Console.  The article discusses a demonstration that he gave recently at JBUG London and provides more information on some of the topics which were covered.  Mauricio has also included a screencast of the demo and a video of his presentation to JBUG London, the slides for which are also available.

 

News from Recent Events

 

Jeff Yu recently gave a presentation at JUDCon China entitled "Building your own service in SwitchYard".  In this presentation Jeff introduced SwitchYard, showing how easy services can be created before moving on to a more esoteric topic, how to integrate your own component into the SwitchYard runtime using the Riftsaw project as his example. 

 

Eric Schabell recently had the privilege of giving the first talk at the newly formed JBugNL, discussing OpenShift and development in the cloud.  Eric has now posted the slidedeck for those who attended, or missed, this well received talk.

 

JBoss in Book Form

 

This week sees the release of the book "jBPM5 Developer Guide", written by Mauricio and Esteban.  If you are interested in getting hold of a copy of this book, in either printed or electronic formats, then please check Kris' article where he includes details of some discount codes that have been generously provided by Packt Publishing.

 

Packt Publishing have also teamed up with Piergiorgio Lucidi, one of the authors of the book "GateIn Cookbook", to give away copies of the book to four lucky winners.  The competition closes soon, on the 25th December, so be quick if you want to win a copy.

 

New Releases for the Week

 

This week sees a number of exciting releases from the JBoss Communities

 

 

That's all for this week, tune in next week for the last Editorial of 2012.

JBoss Renaming Update

 

At the beginning of October we announced our intention to rename JBossAS and asked the Community's help in doing so.  Our original plan had the submission period running from October 1st to October 14th, followed by a voting period running from October 21st to November 1st and finally an announcement of the winner during next week's Devoxx conference.  The response we received from the Community was fantastic, with over over 1500 names being submitted, and we are only now completing the short list of names.  This short list will be announced at next week's Devoxx conference, after which we will have a voting period taking us up to the Christmas holiday season with the announcement of the winning submission being made in early 2013.

 

Keep your eyes open for the announcements and remember to vote for your favourite once voting commences.

 

Why should you consider using a Data Grid?

 

Have you ever thought about why you should use a Data Grid?  Perhaps you are wondering what advantages a Data Grid will have over a Clustered Cache?  If these are questions you have been thinking about then Shane Johnson has some answers for these and more.

 

From Requirements to Deployed Services

 

The Savara project, part of the Overlord Governance umbrella project, has the aim of developing tooling to support the concept of Testable Architectures.  As part of their recent milestone release, Gary has recorded a screencast which shows how you can get from requirements to deployed services in 15 minutes.  You can find more information about the screencast and demo over at the Savara blog.

 

Automating ATDD through integration of Thucydides and Arquillian

 

The Arquillian team have come up with a plan to integrate Acceptance Test Driven Development, the definition of automated acceptance criteria, with the powerful Arquillian test framework.  The integration of Thucydides with Arquillian will create a powerful framework that will enable the automated testing of human-readable test specifications, providing an environment through which Acceptance Testing can become agile.

 

In order to kickstart this work they will be hacking on this idea during the free-to-attend Devoxx Hackergarten.  If you are in the area and want to get involved then head along to Hackergarten on Tuesday 13th November to take part in the fun.

 

JBoss AS 7 Tutorials

 

This week sees two great tutorials from Master The Boss. The first tutorial walks you through the JBoss AS Maven plugin, showing how it can be used to deploy artifacts, undeploy artifacts and add resources into the application server.  The second tutorial walks you through the necessary steps to enable ActiveMQ as a message broken within JBoss AS 7.

 

GWT and Errai UI Quickstart

 

If you have ever wanted to do client side HTML5 templating within GWT then this screencast from Lincoln is just what you are looking for.  Lincoln has also provided the demo code so that you can make your own modifications and play around.

 

Turning packages into a module system

 

Adam Warski has put together a thought-provoking piece on what he believes would be needed if we decided to turn packages into a module system.  This is worth a read, whether you agree with him or not, so head over and add your thoughts into the discussion.

 

Scaladin quickstart for Escalante

 

Escalante, the JBoss application server for Scala, now has its first external contribution in the form of a quickstart demonstrating how to run Scaladin, a Scala wrapper for the Vaadin Framework.  If you are interested in working with Scala in an application server environment, or have an interest in the polyglot efforts at JBoss, then take the quickstart for a spin and see what you think.

 

JBoss Out and About

 

Next week will see many of the JBoss Core and Community developers hit Devoxx to teach, learn and hack with the wider Open Source communities.  Emmanuel has written about his expectations for Devoxx; Sarah has written about all the wonderful labs, workshops and BOFs covering the testing universe, and Geoffrey gives you some ideas for hacking Drools Planner during the Hackergarten.

 

The Infinispan team will be in force at JUDCon China, held on the 29th and 30th November, to give nine presentations on all things Infinispan.

 

Eric will be at JBugNL on 12th December to give an OpenShift Primer, followed by an appearance at Red Hat Developer Day in London on 14th December to present on Advanced Java & JBoss in the Cloud and finally the Open Source Conference 2012 in Amsterdam on where he will give a talk entitled "Demystifying the path to a JBoss Intelligent, Integrated Enterprise".

 

Eric has also submitted three sessions to the JAX 2013 conference in Mainz, Germany being held at the end of April 2013.  The sessions are "Advanced Java & JBoss in the Cloud", "Building highly scalable process & rule-driven applications" and "JBoss BPMS sneak peak".

 

New Releases for the Week

 

This week has seen numerous releases from across the JBoss ecosystem

 

 

This has been a very productive week for many teams across the JBoss Community, writing many blog posts, publishing screencasts and announcing numerous releases.  Next week promises to be just as productive, especially for all those attending Devoxx.

 

Join us again next week to find out what happens during Devoxx!

Thirteen years ago saw the launch of the first JBoss Application Server (JBoss AS); since then the project has grown from its original goal of implementing the EJB 1.0 specification to include other enterprise technologies and all the specifications which fall under Java EE.  The current version of JBoss AS, which we call AS7, is not only an implementation of the full profile for Java EE6 but also executes with a very small and fast footprint.  It continues to innovate quickly, introducing new ideas and technologies into the JBoss mix.  But the JBoss name is no longer associated with just the application server and its community. The use of the JBoss name has expanded greatly to cover nearly 100 projects and platforms including JBoss SOA, rules management (JBoss BRMS), Portal (GateIn), IDE tooling (JBoss Developer Studio), mobile (AeroGear), big data (JBoss Data Grid), polyglot and many more.

 

We now believe that the time is right for making some big changes, as was officially announced earlier today and covered by Mark Little. Some of these include the decision to rename JBoss AS through an open election and also provide better access to the JBoss Enterprise Application Platform product.  We believe the decision to rename JBoss AS will not only reflect better the aim of the project and its community but also its spirit and future direction.  As with all things JBoss related, we believe that the community should play a major role in this process and, to that end, we have created an election process through which you can submit new names for the project and then vote for your favorite.

 

The submission period starts from today, October 1st, and will continue until October 14th.  The top suggestions will then be presented to the community from October 21st until November 1st, during which time you will be able to vote for your favorite.  The winning name will be announced during the Devoxx conference, held in Antwerp, Belgium between November 12th and November 16th.

 

So get your thinking caps on and submit your ideas for names.  Remember this is your choice and your voice.

JavaOne 2012

 

This year's JavaOne conference will be starting in just a few days and we will have many presenters in attendance.  There will twenty six (26) talks covering a diverse selection of areas such as Ceylon, polyglot, CDI, cloud, mobile and many more.  If you are still trying to decide which sessions you would like to attend then take a look at our Speaking Engagements page to find something that interests you.

 

In addition to the main conference sessions we will be presenting mini-theater sessions at the JBoss booth (Booth #5201).  These sessions will also cover a mixture of topics and will be running on Monday, Tuesday and Wednesday from 10:00am until 4:30pm.

 

For relaxation there is nothing better than attending the infamous JBoss Party.  This year's party will be held on Tuesday evening at the San Francisco MOMA (from 8:00pm until 11:00pm) and promises to be bigger and better than before.  Stop by the JBoss booth to pick up your ticket, it will be needed to gain entrance, or ask one of the presenters at their sessions.

 

Tracing, Debugging and Testing the Byteman way

 

Have you ever had the need to introduce adhoc tracing on a running system, to debug a complex scenario or aid in testing by orchestrating and injecting hard to reproduce scenarios and all of these without modifying your code?  If so then Byteman is the tool you are looking for.

 

The team at Master the Boss have created a series of articles introducing Byteman and its capabilities.  In their first article, Introduction to Byteman, they walk you through how to obtain Byteman and how to get a simple test running; in their second article, Byteman administration, they discuss how to dynamically change the rules being executed within a running system, and in their final article, Byteman advanced tutorial, they will walk you through another example which highlights some of the more advanced capabilities of Byteman.

 

Byteman should always be a part of your arsenal, don't leave home without it

 

Arquillian web UI testing

 

Arquillian is a very powerful suite of testing tools covering many diverse areas of development including that of automated testing of web based UIs.  Arquillian Graphene provides a solution for testing web UIs, strengthened recently with the introduction of page fragments.  Juraj Húska's has taken some time to cover this interesting, and very powerful, concept in his comprehensive article on page fragments.

 

Road Trips

 

Many JBoss colleagues will be on the road over the next couple of months to attend and present at many of the developer conferences across the world, includng Marius Bogoevici who will be at both JavaOne and SpringOne.  Marius will be giving talks at both conferences and will be covering many of the best practices for using Spring in a Java EE environment.

 

Past Events

 

Last week saw the fifth Open Blend conference, this year being held at the beautiful Jable Castle near Trzin (north of Ljubljana).  Many of our Slovenian colleagues helped to organise the event and managed to arrange for a number of JBoss developers to attend, including Gavin King and Keith Babo.  If you didn't get a chance to attend, but want to see what you have missed, then take a look at the photographs of the event.


Upcoming Events

 

October 10th sees the third one day conference organised by the Munich JBoss User Group.  The conference consists of three tracks covering topics such as Java EE, gradle, OSGi, OpenShift, BRMS, Drools, Infinispan and AeroGear.

 

October 15th sees the start of the Red Hat Integration and BPM week, a virtual event where you will learn about Red Hat's integration and BPM road map, find out how recent acquisitions will be integrated into the portfolio, and gain practical knowledge from the engineering leaders that are driving the most popular integration, messaging and rules, and BPM technologies and standards.  Registration for the event gives you access to all seventeen (17) webinar sessions, well worth the money (it's free)!

 

October 22nd sees the start of IntelliFest, kicking off with two days of free sessions.  Monday's track is entitled Healthcare focus for Rules, Workflow, Ontologies and Events with Tuesday's track focusing on a General Drools & jBPM workshop.  In you are in, or near, San Diego on those dates then take the opportunity to register and learn from the experts.

 

New Releases for the week

 

- Seam 2.3.0.Final has been announced by Marek

- TorqueBox 2.1.2 has been announced by the TorqueBox team

- RHQ 4.5.0 has been released

- Forge 1.1.0 has been announced by the Forge team

 

That's all for this week.  Stay tuned to find out what will happen at next week's JavaOne as I'm certain there will be lots of interesting announcements.

Filter Blog

By date:
By tag: