Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Restricting the bean types of a bean in CDI

The bean types of a bean may be restricted by annotating the bean class or producer method or field with the annotation @javax.enterprise.inject.Typed.

Read more

Create logging profiles for Java EE applications on JBoss EAP

The reasons to use logging profiles: The use of logging profiles allows administrators to create logging configuration that are specific to one or more applications without affecting any other logging configuration. Because each profile is defined in the server configuration, the logging configuration can be changed without requiring that the affected applications be redeployed.

Read more

Testing tns connections

This post demonstrates how to test tns connections for the Oracle DB. First of all, what is TNS? Transparent Network Substrate (TNS) is a proprietary Oracle computer networking technology that supports homogeneous peer-to-peer connectivity on top of other networking technologies such as TCP/IP, SDP and named pipes.

Read more

Whiskey in the jar - the java archive tool

The jar command allows you to manipulate Java Archives (JAR, EAR, WAR). This post demonstrates some examples.

Read more

Extract file contents of rpm archive

This post demonstrates how to extract the file contents of an rpm package, for e.g. analyzing the rpm packaging.

Read more

Add Oracle DB datasource to JBoss

This post demonstrates how to establish a data-source configuration for JBoss EAP with the Oracle DB.

Read more

Find and delete files older than x days

On Linux you have powerful options with the find command. This post demonstrates how to find files older than 14 days (2 weeks) and remove them. Of course you can choose the amount of days as you like.

Read more

Oops I did it! I love it! My new MacBook Pro!

Starting from today I’m a proud owner of an Apple MacBook Pro Retina (15.40”, Intel Core i7, 16GB).

Read more

beans.xml in Java EE 7

If you are familiar with CDI (Contexts and Dependency Injection) you know that in Java EE 6 you need a beans.xml in META-INF or WEB-INF the module for getting the CDI magic to work. Basically it is needed for the beans discovery. Everyone has now and then maybe forgot the beans.xml. With Java EE 7 it has changed.

Read more