Configuring JAAS in JBoss 6.1 and Eclipse RCP: Part 1

In this post I explain how to setup Java Authentication and Authorization Service (JAAS) using JBoss AS 6.1 and an Eclipse RCP client that will be making calls on an EJB 3 Session Bean.

Part 1 will cover JBoss configuration and Part 2 will cover the code required in the Eclipse RCP client.
. . . → Read More: Configuring JAAS in JBoss 6.1 and Eclipse RCP: Part 1

Accessing a Database Connection Pool from a Session EJB in JBoss AS

There may be situations in which it makes sense to access data from an EJB session bean using JDBC. Perhaps you are only reading values from a table and since you are not making any changes to the table, using an entity bean may seem like overkill. In this post I cover setting up a database connection pool in JBoss and accessing the database using JDBC from an EJB session bean.

. . . → Read More: Accessing a Database Connection Pool from a Session EJB in JBoss AS

Sample Business Document Created with the iText Library

This post provides sample code for creating a business PDF document using the iText library. . . . → Read More: Sample Business Document Created with the iText Library

Creating a PDF document in Java with iText

A quick reference on how to create a PDF document using the iText library.
. . . → Read More: Creating a PDF document in Java with iText

Example: TableViewer Events

This example shows how to work with TableViewer events, such as selection changes, double-clicks, and clicks on column headers. This example also shows a databinding implementation and the use of ViewerSorter. . . . → Read More: Example: TableViewer Events

Example: TableViewer with Databinding

An example that demonstrates how to use a Jface TableViewer with Databinding. . . . → Read More: Example: TableViewer with Databinding

Example: TableViewer with a ContentProvider and a LabelProvider

This example demonstrates how to populate a TableViewer using a ContentProvider and a LabelProvider . . . → Read More: Example: TableViewer with a ContentProvider and a LabelProvider

Working with JFace TableViewer

How to use a JFace TableViewer step by step. . . . → Read More: Working with JFace TableViewer

The Role of Eclipse RCP Application Advisors

When you create a new Rich Client Platform application, the eclipse wizard will create an Application class and several advisors that work with the Application class. This post provides an overview of the classes that you will find after creating a new RCP application. . . . → Read More: The Role of Eclipse RCP Application Advisors

Java Enumerations

An explanation of Java Enumerations, including the use of constructors, variables, and methods. . . . → Read More: Java Enumerations