REST services using JavaFX Tutorial

This tutorial shows how to invoke REST services using JavaFX API. For the purpose of it, we will use the KitchenSink basic REST serviceand engineer a JavaFX client for it. A pre-requisite of this tutorial is that you have deployed the Kitchensink basic demo application which allows you to create a compliant Java EE 6 … Read more

SwitchYard JSF Integration tutorial

In this tutorial we will discuss about JSF integration with SwitchYard using the Order example contained in the distribution. The Bean Component is the core SwitchYard component. Built as an extension to Weld component it allows you to use the same programming model of CDI beans, with a few extra annotations. By adding Switchyard annotations … Read more

Manage JBoss AS 7 with Jython

The JBoss AS7 uses the CLI (Command Line Interface) as main management instrument. You can write complex management script using its own shell public API. However since the release 7.2 of JBoss AS you can also use many other languages to manage the application server. This tutorial shows how to use Jython to manage JBoss … Read more

Categories CLI

Maven JBoss AS 7 plugin tutorial

The Maven JBoss plugin can be used to perform some common tasks like deploy/undeploy or add resources as part of your Maven goal. In the latest release of this plugin there is even the ability to perform the execution of Command Line Interface commands using it. This tutorial shows how to do all these things. … Read more

WildFly Virtual Host configuration

Virtual hosting is a mechanism whereby one web server process can serve multiple domain names, giving each domain the appearance of having its own server. In this tutorial we will show how to create and use a virtual host address for a JBoss web application. Name-based virtual hosting is created on any web server by … Read more

Create a JBoss AS 7 appliance with VirtualBox

In this tutorial we will demonstrate how to create in a matter of minutes a JBoss AS 7.1.1 appliance designed around a Linux distribution. The software we will use for this purpose is Oracle’s Virtual Box. VirtualBox is a cross-platform virtualization application. What does that mean? For one thing, it installs on your existing Intel … Read more

Maven and JPA tutorial

This tutorial shows how to create a JPA project using a Maven archetype and how to modify it in order to use Hibernate 4 JPA Provider and MySQL.   Maven and JPA tutorial By using the mvn archetype:generate command you are able to generate a quickstart project from an archetype. Lots of archetypes are available … Read more

WildFly / JBoss EAP classloading explained

JBoss EAP / WildFly classloading explained As mandated by Java EE specifications, an application server should ideally give its deployed applications the freedom to use whatever utility library and whatever version of it, regardless of the presence of concurrent applications that want to use the same library. This is also known as namespace isolation. However, … Read more

Using Table per subclass strategy

Hibernate Table per subclass strategy When using this strategy, the superclass has a table and each subclass has a table that contains only un-inherited properties: the subclass tables have a primary key that is a foreign key of the superclass. Example: package com.sample public class Vehicle {     // Constructors and Getter/Setter methods,     long … Read more

Configuring a Resource Adapter for JBoss AS7: OpenMQ

This tutorial shows how to configure a Resource Adapter on JBoss AS 7. The purpose of it, is connecting your MDB on another JMS provider (OpenMQ). What is a Resource Adapter ? to keep it simple, imagine a resource adapter something analogous to a JDBC driver. Both provide a standard API through which an application … Read more