The following sample script can be added to your CLI scratchbook when you need to add a Logger on the fly for one package contained in your application.
F.Marchioni
Solving EAR deployment dependencies in WildFly and JBoss AS 7
This short tutorial show how you can support inter deployment dependencies on WildFly / JBoss AS 7. If you have a deployment scenario like this, where you have multiple Enterprise applications which are required to be started up (and shut down) in a certain order: Then you can specify the deployment dependency using the jboss-all.xml … Read more
JBoss Operation Network (JON) installation tutorial
In this tutorial we will learn how to install JBoss Operation Network (JON) which provides centralized control, configuration, and visibility to JBoss applications and related infrastructure. JBoss Operation Network is part of RedHat subscription, however you can download a trial version at https://access.redhat.com/downloads#eval Unpack the JON server into a folder of your like: jar xvf … Read more
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
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