Solving the @Resource lookup compilation issue

One common issue that Java EE 6 developers meet is the use of the @Resource annotation which conflicts with the JDK built-in  @javax.annotation.Resource. Here we will show how to solve the compilation issue in Eclipse and Maven. If you have a look at the @Resource annotation included in Java EE 6, it includes  the lookup … Read more

Java EE 6 CDI example application

In this tutorial we will show how to upgrade our Java EE 6 EJB based application into a CDI based application using Eclipse and Eclipse Maven plugin. Contexts and Dependency Injection(CDI) is a new addition to the Java EE specification as of Java EE 6. It provides several benefits that were missing to Java EE … Read more

Categories cdi

Maven for Eclipse Users Tutorials

In this article we will try to provide a kickstart guide for Maven newbies, using the familiar concepts inherited from the Eclipse IDE such as Build Path, Deployment Assembly and so on. Kind of Rosetta Stone for Eclipse users ! How to create a new Project ? For Eclipse users creating a new project is … Read more

GateIn tutorial: how to create a Portlet

This tutorial will show you how to develop some basic portlets using GateIn portal along with some basic background for those that are new to Portlets. A portlet is a pluggable user interface component that provides specific content, which could be a service or information from existing systems. Portlets provide the user interface of the … Read more

Gatein introduction: installation

GateIn is a portal framework dedicated to implementing highly customizable portal solutions with a powerful set of components based on well-known and adopted open source technologies and standards based on the Java web technologies.   This article is an excerpt from Chapter 1 of Gatein CookBook published by Packt publishing. More information about this book … Read more

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

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

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

Quartz 2 tutorial on JBoss EAP and WildFly

It’s time to learn new Quartz 2 API using JBoss EAP or WildFly. This tutorial shows how to create a simple Web application which will be deployed on the application server, triggering a Quartz Job. In the second part of it, we will show how to add an advanced configuration which includes a JDBC Job … Read more

JBoss Maven example: building a Java EE 6 application

In this tutorial we will show how to create a basic Java EE 6 application which will run on JBoss AS 7 using Maven. Apache Maven can provide benefits for your jave ee projects by employing standard conventions and practices to accelerate your development cycle while at the same time helping you achieve a higher … Read more