By Octavio Berlanga, on September 18th, 2011.
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
By Octavio Berlanga, on February 15th, 2011.
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
By Octavio Berlanga, on September 25th, 2010.
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
By Octavio Berlanga, on September 19th, 2010.
A quick reference on how to create a PDF document using the iText library.
. . . → Read More: Creating a PDF document in Java with iText
By Octavio Berlanga, on August 7th, 2010.
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
By Octavio Berlanga, on August 4th, 2010.
An example that demonstrates how to use a Jface TableViewer with Databinding. . . . → Read More: Example: TableViewer with Databinding
By Octavio Berlanga, on August 1st, 2010.
This example demonstrates how to populate a TableViewer using a ContentProvider and a LabelProvider . . . → Read More: Example: TableViewer with a ContentProvider and a LabelProvider
By Octavio Berlanga, on July 26th, 2010.
How to use a JFace TableViewer step by step. . . . → Read More: Working with JFace TableViewer
By Octavio Berlanga, on July 12th, 2010.
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
By Octavio Berlanga, on July 12th, 2010.
An explanation of Java Enumerations, including the use of constructors, variables, and methods. . . . → Read More: Java Enumerations