Matt Kesler

Jul 22 2010

HelloWorld Using JSF 2 And CDI

In this blog I'm going to go over the steps to get a simple HelloWorld web-app up and running on JBoss 6 using JSF 2 and CDI.  Background information and full documentation for the technologies used can be found at the Java EE 6 home page and Weld documentation site

Read More

Feb 17 2010

Remote EJBs and Seam 2.2.0 Injection

In this blog I'm going to talk about using remote EJBs that are contained in a seperate deployment than your Seam 2.2.0 components.  Note that for accessing local EJBs in the same EAR there's a much simpiler way to go about it, detailed in the Seam documentation.  For discrete deployments however, say, a WAR and an EAR, we need to do some plumbing to take advantage of Seam's bijection features.  

Read More

Jul 13 2009

Using an EJB Interceptor to Inject a "System" Principal in JBoss

On my current project we were recently faced with an interesting security issue.  The heart of the problem was that we had a set of secured EJB 3 services that needed to be called from a jBPM engine in the same container that for various reasons was not in a security domain.  Here I'll go over the way we chose to solve the issue and show some snippets of the "proof of concept" unit test.

The solution we eventually came to involved using an EJB 3 interceptor to inject a custom system principal around any BPM "actions" that needed to call secure services.  This approach allows the interceptor to be reused for any unsecured system components and is configuration driven, as we'll see later.

Read More

Disclaimer

The words and opinions expressed here are those of each article's respective author, and do not necessarily represent the views of CapTech Ventures.