Using Hibernate/JPA with MongoDB

Hibernate OGM is a framework that lets you use the power of JPA and Hibernate API with a NoSQL database like MongoDB. To make it fun, we will deploy the JPA MongoDB application on WildFly application server. First of all some basics. What is Hibernate OGM ? Hibernate Object/Grid Mapper (OGM) is a framework which … Read more

Creating a Datasource on WildFly using the Web Console

Creating a Datasource for WildFly 9 is a pretty simple task thanks to the templating wizard that is included on the Web console. First of all you need to download WildFly from http://wildfly.org/downloads/ Let’s see how to configure an Oracle 12c Connection using the ojdbc7.jar Driver. There are multiple strategies for configuring a Datasource, the faster one … Read more

A close look inside Infinispan Distribution mode

What you like to have a close look over the Infinispan distribution of data in your JBoss EAP 6 / WildFly cluster? I’ll tell you how to do it. The default algorithm used by WildFly application server for clustering is based on the Infinispan distribution. This means that cache entries are copied to a fixed … Read more

Useful CLI scripts in Domain mode

When running in Domain mode using the CLI can be tricky as you have to understand where your resources are located in the application server tree. Let’s see some practical examples: How to configure a resource in a Domain You have to reference the profile you are using. Example: /profile=full/subsystem=ejb3/thread-pool=default:write-attribute(name=max-threads,value=10) How to reach a resource available … Read more

Categories CLI

WildFly 8 corso di amministrazione

Siamo orgogliosi di presentare il primo corso in Italia di WildFly 8 Administration & Configuration! In 3 giorni intensi di corso potrete scoprire tutte le caratteristiche del più avanzato application server sul mercato Java Enterprise ed eseguire l’upgrade delle vostre applicazioni alla nuova release del server.     Vuoi pruomuovere l’evento sul tuo blog ? Contattaci … Read more

Custom pool configuration for your EJBs on JBoss AS 7/WildFly

Stateless session beans are held in a pool which can be configured at EJB Container level. You can define as many pool configuration as you want and then decide which one to use for your EJB container. One thing which if often requested is to apply some specific settings for a particular EJB. With JBoss … Read more

Dynamic PrimeFaces detail forms

In my last post – Dynamic PrimeFaces Datatables –     I have explained how to use Java Reflection to dynamically generate PrimeFaces DataTables. In this article we are going to use the same technique to create dynamic detail forms. In our following examples we will use the DynaForm component of the PrimeFacex Extensions project. As you … Read more

How to create a Custom JBoss Login Module

This tutorial is a simple walk through the creation of a custom Login module with JBoss EAP 6 / WildFly application server. Note: If you want to develop a custom login module on the latest security infrastructure (Elytron) we recommend checking also this tutorial: How to create a custom Elytron Realm Getting Started with PicketBox … Read more