Code hacks, tips, tech news, and lots of weird stuff



Create an IVR in Asterisk using Java

Quick guide to create a custom IVR in an Asterisk PBX

Run JBoss AS 7 as a service in Ubuntu

Tired of opening a console each time you want to run JBoss? This step-by-step guide will show you how to install JBoss AS 7 as a system service, so it will start with the OS automatically.

How to use Log4J in ejb module in Jboss7.1

Learn how to add Log4J support for an ejb module and take advantage of its features.

Using LdapExtLoginModule with JaasSecurityDomain (securing passwords)

In my last post I wrote about how to connect a JBoss to LDAP defining an LdapExtLoginModule. Clearly, as suggested by the comment of Terry, the password in the xml is in plain text. In this post I’ll explain how to… Continue Reading →

Authenticate JBoss application using JAAS and LDAP

Easy way to connect your JBoss AS to a LDAP server to allow applications interact with it.

Search LDAP from Java

Connect to a LDAP server and perform a search by applying filters.

Access EJB 3.0 in JBoss 5, from JBoss 4 – java.lang.ClassCastException

If you are in a process of migrating JBoss servers you may sometimes need to deploy an EAR in a newer server, while having othres in the older servers, and keep the integration between the apps. I faced this issue… Continue Reading →

Getting started with AOP in JBoss 5.1 with a simple example

Introduction I am writing this post since it took me a while to configure and run my first AOP example in a JBoss application, but I must say after spending some time, I realized it is quite easy, I just… Continue Reading →

Enabling SOAP request validation in JBOSS 5.0 using JAX-WS

By default, JBoss JAX-WS Web services doesn’t validate SOAP requests for a valid xml or schema. This is by default in order to prevent performance overhead. This may turn into a problem when developing the web service, since a required… Continue Reading →

JBOSS EAP 5.0 – JAX-WS – Excessive logging when soap faults are thrown

Developing web services with JAX-WS is very quick and versatile, becoming very easy to create a simple web service and quickly adding complexity like more methods, complex datatypes, validation, custom application faults, etc. In this example I am using JBOSS… Continue Reading →


Contact with us to learn more about us and our development services!