Your First EJB3 Session Bean

In Java, JavaEE, Programming by timfanelli

I just recently started playing with EJB3, and found it extremely tricky to get through my very first EJB3 Session Bean. While significantly simpler than EJB 2, the online resources …

Getting Started with Struts Shale

In JavaEE by timfanelli

Struts Shale is a proposal for a next-generation web development framework. I’ve spent a couple days scouring the internet trying to find a simple getting started guide to build a …

JDBC Metadata and Column Types

In Java by timfanelli

Today I’ve been testing my data caching module… it’s pretty straight foward, the relevant part for today’s ramblings is that it takes an SQL query, executes that query on some …

Loading Arbitrary Classes from Arbitrary Places in Java

In Java by timfanelli

One of my very favorite things about the JDK is portability… and not just the “compile-once-run-anywhere” portability Java is so famous for, but also the portability across providers. JAAS, JCE, …

JBoss User Timeout

In JavaEE by timfanelli

When most people think of the session timeout in an EJB application, they’re typically thinking about the HttpSession timeout of their web front ends. If, however, you need to set …

Custom JAAS Login Modules

In Java, JavaEE by timfanelli

This tutorial will show you in detail the steps required to implement a custom JAAS login module for a Java application. When a client application needs to authenticate the user, …