Monitoring a JBoss Domain using JBoss Operations Network

As per definition, in a JBoss AS 7/WildFly Domain there can be at most one Domain Controller, which is in charge to manage the other Host Controllers and the Domain configuration. In this tutorial we will show how to check for the Domain Controller availability using JBoss Operations Network and get a notification in case … Read more

Extending PrimeFaces components

  The purpose of this post is to show how we can use PrimeFaces base classes to create new custom components. In a nutshell we will see how to extend PrimeFaces. We will do that by developing a simplified version of the PrimeFaces Extensions Analogclock. Let’s start with the component class: @FacesComponent(value = AnalogClock.COMPONENT_TYPE) @ResourceDependencies({ … Read more

Inheritance hibernate

Using Inheritance with Hibernate JPA. Featured articles: Mapping Table per Concrete Class Using Table per subclass strategy Using table per class hierarchy

Hibernate Query Articles

List of Hibernate Query Articles   How to see the SQL generated by Hibernate Hibernate and JPA named query example Hibernate Query by example How to open an online cursor with Hibernate? Using native Queries with Hibernate and JPA How to call a stored procedure with Hibernate ? How to paginate your Entity How to … Read more

Troubleshooting mod_cluster

So you are trying to come to grips with mod_cluster and JBoss/WildFly but your clustering still doesn’t work? in this article I’ll discuss about troubleshooting some common issues.  Mod_cluster Advice #1 The first thing you need obviously to check is that you are running a version of mod_cluster which is compatible with your machine and … Read more

Developing applications with MongoDB and PrimeFaces on WildFly

This tutorial shows how to build an application which exports/imports data contained in a PrimFaces datatable in MongoDB.  MongoDB is a popular noSQL database which can be freely obtained from: http://www.mongodb.org/downloadsOnce downloaded, create a script named for example startmongodb.cmd (or equivalent for Linux) which starts the Mongo database, selecting a location for the storage: mongod … Read more