Accelerated Development and Management

Building JBoss Projects with PatternFly and AngularJS

Recently I’ve been looking into different UI tech in use for apps built onPatternFly Logo top of Red Hat middleware, and I’ve discovered that many of Red Hat’s products use PatternFly (in differing capacities) for their administrative UIs. PatternFly is “A community of designers and developers collaborating to build a UI framework for enterprise web applications.” (from the website). There are also components, directives, etc, for AngularJS projects (which I really like).

This sounds awesome, particularly because I’m a terrible designer, so I thought I’d take a crack at converting an existing demo to use PatternFly, and along the way learn more about the framework and its best practices. These are concepts you can use in your own projects when building JS-heavy projects using Maven (which has about a billion ways to do things).

You can find the demo on jbossdemocentral, along with instructions for building it. In this article, I will describe some of the highlights of what I learned.

Continue reading “Building JBoss Projects with PatternFly and AngularJS”

Share

“Don’t cross the streams”: Thread safety and memory accesses at the speed of light

The classic 1984 movie Ghostbusters offered an important safety tip for all of us:


Don’t cross the streams.” – “Why not?” – “It would be bad.” – “I’m fuzzy on the whole good/bad thing. What do you mean, ‘bad’?” – “Try to imagine all life as you know it stopping instantaneously and every molecule in your body exploding at the speed of light.” – “Right. That’s bad. Okay. All right. Important safety tip. Thanks…”


Similarly, in computing, there are also cases where data crossing through memory between different instruction streams would cause a similar effect to a software application – “all execution as we know it stopping instantaneously”.

This is due to the performance optimizations that both hardware and software implement to reorder and eliminate memory accesses. Ignoring these “memory access reordering” issues can result in extremely problematic debugging scenarios.

The bug from hell was a scenario where Java’s OpenJDK runtime parallel garbage collector very occasionally crashed because one thread’s write would signal that the data structure had been updated. This signal occurred before the actual update writes (to the same data structure), and the result was that other threads would end up reading invalid values. We’re going to take a deeper look into this scenario to understand exactly what went on in this notorious issue.

Continue reading ““Don’t cross the streams”: Thread safety and memory accesses at the speed of light”

Share
JBoss participates in Google Summer of Code 2016

JBoss participates in Google Summer of Code 2016

Google Summer of Code (GSoC), for those who are not familiar, is an initiative led by Google to encourage students to participate in Open Source projects during their summer break. Projects like JBoss Community or Fedora apply to be a mentoring organization and if selected by Google, are paired with students who they are expected to mentor. Selected and successful students receive a stipend from Google for their participation.

JBoss has been participating in GSoC for the past several years, with outstanding success, and I am happy to announce that the JBoss community has once again been selected as a mentoring organization for GSoC 2016.

Continue reading “JBoss participates in Google Summer of Code 2016”

Share

What’s new with JPA 2.1 and Hibernate 5 in JBoss EAP 7

Background

The Java Persistence API (JPA) provides Java developers with an object/relational mapping facility for managing relational data in Java applications. The latest version of the JPA standard is 2.1 and is part of Java EE 7.

JBoss Enterprise Application Platform is a fully certified Java EE application server and JBoss EAP 7 which is currently in Beta is certified according to the most recent Java EE 7 specification.

Hibernate is one of the most popular JPA implementations and is known for it’s High Performance, Scalability and Reliability.

For more details about JPA and Hibernate I recommend reading Java Persistence with Hibernate, Second Edition.

Continue reading “What’s new with JPA 2.1 and Hibernate 5 in JBoss EAP 7”

Share
Run your first Java EE application with JBoss EAP 7 Beta

Run your first Java EE application with JBoss EAP 7 Beta

This article describes how efficient development is on JBoss EAP 7. It will also give example of different build tools  and Integrated Development Environments (IDEs) to use for application development on JBoss EAP 7. Additionally it will briefly explain how dependency management[1] works for Java EE 7 and JBoss EAP specific artifacts.

Finally there is a step-by-step guide that demonstrates how fast and efficient it is to develop on JBoss EAP 7.

Continue reading “Run your first Java EE application with JBoss EAP 7 Beta”

Share
JBoss EAP 7 Beta is now available!

JBoss EAP 7 Beta is now available!

JBoss EAP 7 Beta is now available! Here’s a preview of what’s to come…

Today, we officially announced the availability of Red Hat JBoss Enterprise Application Platform 7 beta. We truly believe this release will shift the way the enterprise Java community thinks about application servers and builds Java applications.

But, before we get into the details of how you can use JBoss EAP 7 to accomplish this, I want to bring attention and recognition to the community who made this monumental release possible.

JBoss EAP 7 Beta was the result of years of hard work and dedication by a broad team of people throughout the JBoss EAP / WildFly community. With ingenuity, persistence, and passion, this team built and delivered a product that developers will love from the first time they download the bits until they push their application to production. Building software that fits the promise of JBoss Middleware – lightweight, high performance, enterprise quality, and enables high productivity – is a huge challenge. And this team has done an amazing job in meeting and exceeding these goals with this release. Thank you to all of you who worked so hard to make this beta release possible!

Continue reading “JBoss EAP 7 Beta is now available!”

Share
2015 Year in Review – oh what a year.

2015 Year in Review – oh what a year.

2015 is coming to a close and it’s always fun to reflect on all that has changed, grown, and news that almost make you wonder if pigs can now fly.  Our team has greatly expanded, the community is growing, we are now accepting content contributors from around the world…so much to pick from.

As you can tell it’s been a busy year and here are just some of top highlights.  Here we go and in no particular order:

 

1) A New Developer Program for you!  Red Hat Developers launches
This is one we are most proud of.  Red Hat has always had great resources and places for developers to get information but we now have an official group for all of Red Hat.  If you’re reading this blog, you’ve likely found our community – so welcome!  If you’ve not joined yet you can join here.

Continue reading “2015 Year in Review – oh what a year.”

Share
Devoxx is coming…

Devoxx is coming…

It’s been a busy October and we are looking forward to an even busier November.  And with that comes Devoxx 2015 and we will be there.  Red Hatters will be holding 14 presentations.  That’s right – 14!  Markus Eisele, author of the new O’Reilly book, Modern Java EE Design Patterns, will be in the booth handing out complimentary copies* and answering your questions.  

Continue reading Devoxx is coming…

Share