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

EJB invocations from a remote WildFly server

In this tutorial we will show how you can perform EJB to EJB invocations between two WildFly server instances. Calling EJB which are located on a remote EJB server is done differentely depending if the remote client is a standalone client or if the client is located on another instance of WildFly. Java Standalone clients … Read more

Cloud computing basics

Cloud Computing Basics You hear about cloud computing all the time, probably. They tried pumping it around the beginning of 2011, like it was some kind of new boom, but it was bad marketing; the people who heard about it – aside from a small percentage of techsters – probably had no idea what the … Read more

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

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