Skip navigation
2013

Ceylon in the browser

Last week, we met the Ceylon HTTP server, which we can use to serve dynamic (or even static) content over HTTP. But what about the client side? Well, today we're going to write a little HTTP client that runs in the browser, mainly as a way of showing off Ceylon's new dynamic blocks.


The Attack of Oracle Guest

Last October Shane published a post that identified the features that both JBoss Data Grid and Oracle Coherence provide (link). His goal was to establish a baseline for the features that a data grid should provide. It was not to state that one data grid was better than the other. Little did he know an Oracle employee would respond by attacking Red Hat, its engineers, and himself. - See more at: http://planet.jboss.org/post/the_attack_of_oracle_guest#sthash.5JHIqCwm.dpuf


Arquillian GWT Testing extension 1.0.0.Alpha1 Released · Arquillian Blog

The Arquillian team is proud to announce the 1.0.0.Alpha1 release of the Arquillian GWT Testing extension component!. This means that GWT integration tests can break free and execute in the actual runtime container instead of being tied to GWT’s embedded Jetty server.


Setting up OAuth 2 with Google Java APIs

For all of you who are trying to figure out how to integrate with Google’s single sign-on functionality, this article might be for you.


Integrate OData Source Using Teiid

Teiid 8.3.x release has a new translator "odata", that supports consuming of OData sources. Using this translator a user can integrate data from a OData source with other sources in Teiid.  If you like to know what OData is and Teiid support for it, please read this previous post http://teiid.blogspot.com/2013/02/odata-support-in-teiid.html


RHQ 4.6 released

  • The internal app server is now JBossAS 7.1.1
  • GWT has been upgraded to version 2.5
  • There is a new installer (this has also changed since the 4.6 alpha release)
  • The REST-Api has been enhanced Korean translations have been added
  • Webservices have been removed
  • Building RHQ now requires Java7, but it will still run on Java6


ModeShape 3.1.3.Final is available

3.1.3.Final provides a fast, elastic, distributed hierarchical database that clients work with via the standard JCR 2.0 (JSR-283) API. ModeShape 3 is a major upgrade over 2.x and offers significant improvements in performance and scalability, while retaining all of ModeShape 2's JCR-related features. ModeShape 3 has complete integration with JBoss AS 7.1, allowing deployed components to simply lookup and use repositories managed by ModeShape's service


Bean Validation TCK 1.1.0.CR1 and Hibernate Validator 5.0.0.CR1 Released

It's a pleasure to announce the availability of Bean Validation TCK 1.1.0.CR1 and Hibernate Validator 5.0.0.CR1.

Screenshot.png

Welcome to another week of JBoss activities and news! There is a lot of organizing going on behind the scenes to bring you great content at the JUDCon events coming your way, so hold on to your hats, here we go!

 

Events

 

JUDCon Boston from 9-11 June was announced, so get over to the Call for Papers and submit your sessions.

 

The agenda is live now for JUDCon Brazil from 19-20 April so get on over there and register.

 

DevCon 2013 will be taking place in Brno with a much touted Arquillian Hackfest, join them from 23-25 Feb.

 

Blogs / Articles

 

Shane takes us on a walk through how to abstract the framework of Apache Hadoop to provide Big Data services.

 

Gavin shows off a new feature in Ceylon in his post covering Reification, got to check that out to find out what it means!

 

The JavaOne Errai talk has been posted on YouTube, so no reason not to go take a look at what Christian says is 'Taming the Spaghetti' of rich web application development.

 

Ramesh shares his views on accessing Teiid VDB's from node.js in his latest article.

 

Heiko teaches us about the best practices when paging in RestFUL API's, always good to slow down and learn from the masters.

 

This week Emannuel and his team turned over the Bean Validation 1.1 CR1 Proposed Draft Final to the JCP, check it out as he takes you on a tour in his article.

 

Finally, Bryan Che laminates on the value of running your Big Data on an Open Hybrid Cloud infrastructure. This is a bit off topic for the Java / JBoss developer, but I think you will enjoy broadening your coverage of topic when you are hanging at the coffee machine next time. This article will put you in the center of the next IaaS discussion involving cloud technologies, so give it a spin.

 

Releases

A list of new project releases, enjoy!

 

 

Thinking of getting involved in a JBoss User Group (JBUG)?

Setting up or running a JBoss User Group? Follow @JBossNews on twitter and catch the next event online especially for you and your group.

 

JBoss AS project renaming vote closed!

Are you as curious as I am? The word on the street is that they will be announcing it real soon...

 

Until next time... keep it real, open and in the code.

Modularity is a hot topic today and, while Java EE modularity isn't something that we focus on this week (except for a bit of news about Enterprise OSGi JPA), our editorial will be modular too : a collection of small stories about the latest developments in the JBoss eco-system. And what's the unifying thread? Focus on innovation and dedicated community work.

 

Can you guess my data structure if I tell you my storage medium?

 

Shane Johnson provides a comparative overview of various storage media, mirrored with data structure types. As it turns out, each of them have their own advantages and disadvantages, depending on your use case, something that you need to remember in order to get your Big Data right. Moreover, certain media types are suited better than others when it comes to storing specific data structures, something that Shane does a great job highlighting.

 

What is Testable Architecture and how can Savara help?

 

Every now and then, it is good to learn about projects, that, while active, do not always get a lot of exposure. So, this week, I had the chance to learn more about Savara, a project that develops a set of tools around the concept of Testable Architecture - a methodology for developing software that posits that any artifacts defined during the development lifecycle should be developed in such a way that they can be validated against other artifacts in preceding and subsequent phases. This is especially useful for design-intensive projects, especially for SOA, EAI and BPM. So, if you're developing a project in one of these areas, try Savara! Gary Brown has published two articles, a very interesting use case that shows Savara at work for implementing the ZDLC and one describing the new features of Savara 2.1.0.Final, especially BPMN2 support and SwitchYard integration.

 

Complex example of SOA and BRMS with JBoss technologies

 

Staying on the topic of SOA and BRMS, Eric Schabell has blogged about the Home Mortgage Demo project that uses JBoss SOA-P and JBoss BRMS to integrate rules, services, ESB, and BPEL orchestration to pre-qualify home loan requests.

 

Additonally, Eric has provided an update on creating Maven artifacts from JBoss BRMS.

 

What is new in Drools?

 

Geoffrey De Smet has provided an overview of the automatic solution cloning feature provided by Drools 6.0.0.Beta1 (to be available in the final release). Mark Proctor has announced the intent of dropping JSR94 and the reasons for it, inviting the community to provide feedback.

 

What is OData and how does Teiid support it?

 

OData is a web protocol for querying and updating data, that provides a standard way for describing CRUD operations (such as RESTful) web services and modeling your data. It prevents application developers from spending unneeded time designing their web services and data model, with the added benefit that adopting the standard improves interoperability out of the box.

In his post, Rajesh Reddy makes a good case for adopting the OData standard, but more than that, describes how Teiid supports it and integrates with it, which is a natural fit, given it's mission statement around data integration.

 

Will you be in Brno at the JHackFest?

 

Developer Conference, held in Brno is an annual conference for Linux and JBoss developers, organized by Red Hat Czech Republic, Fedora and the JBoss community, on February 23rd & 24th, 2013. Part of the conference - and you'll love this - a hackfest! Read Lukas Fryc's post for more details about the event, as well as a very detailed account of Arquillian's team plans.

 

What does Errai 3 bring new?

 

Errai team members have published a couple of new articles, focusing on the new additions in version 3.0 of the framework.

  • Mike Brock describes the new style bindings annotations that allows to address style changes in a cross-cutting, declarative style;
  • Christian Sadilek introduces RPC batching,  a features that allows to execute RPC server calls in a batch from Errai client code, thus greatly increasing the efficiency of the client-server communication.

 

What is new in Ceylon since M4?

 

Gavin King has published an extensive article about the current state of Ceylon M5, the new features that have been implemented so far, the ones that have been considered since M4 but haven't made it, for various reasons, and of course, the ones that remain to be implemented. Additionally, Gavin discusses the notion of expressiveness in programming languages, focusing on the tradeoff of extensibility vs. understandabilty. So, if you take an interest in Ceylon, both will surely be an interesting read.

 

Nested transactions and timeouts

 

John Mazzitelli tries to answer an important question that arises with nested transactions: if a transaction is started within a thread that already has one, will the parent time out without taking the consideration the time while it was suspended, or will the transaction manager count the effective time while the transaction was active? Read the article and you'll understand what happens and why.

 

Advanced tooling for Web Services

 

Alessio Soldano has announced a new release of the JBossWS Maven plugin, as well as a new release of Wise, a tool for quick testing of Web Service endpoints, including a graphic UI.

 

A new Bean Validation Beta

 

If you are following the progress of the Bean Validation specification, Emmanuel Bernard has announced the release of the Bean Validation 1.1 Beta 4 proposed draft, that includes a number of very relevant enhancements.

 

Enterprise OSGi JPA support

 

Brett Meyer has published a blog entry showcasing a container-managed Enterprise OSGi JPA example based on Apache Karaf and Hibernate. 

 

Releases

A new JavaChampion

Charles Nutter has been given the title of Java Champion. Congrats!

 

Work those cores!

A brand new feature to find it into the 3.0 branch these past few days is our new generator parallelization system. That's right; all the code generating magic of Errai can now be split across those idle cores of your computer to greatly increase compile and development mode speed.

 

Rule Design Patterns in Production Systems

Many thanks to Wolfgang Laun for making his extensive work available for all of us to benefit from.

 

Supercharge Your Web Applications Using JBoss Data Grid

A few weeks ago, on January 16, Divya Mehra and I have delivered a webinar on using the JBoss Data Grid for improving the scalability and performance of web applications. As expected, the webinar has elicited a lot of questions, not all of which could be answered in the allotted time. As they were really interesting though we are trying to answer them here, also for the benefit of a larger audience.

 

JavaScript with JBoss Portal Platform 6 – Avoid Conflicts, Promote Re-usability

One of the first issues and most difficult issue we face in any portal implementation is – what are the best practices to use JavaScripts in a portal platform?

 

ModeShape Tools for Eclipse

ModeShape Tools is a set of Eclipse plugins for working with ModeShape and JCR repositories. The plugins have been available for a little while, but we wanted to make sure you knew about them.

 

Bean Validation: Java Spotlight Podcast on Bean Validation 1.1

Roger Brinkle from Java Spotlight Podcast has interviewed Emanuel on the status of Bean Validation 1.1

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.