Tag: CDI

Creating a Custom CDI Scope

This post is based on my learnings while creating SimpleBPM and will cover the creation of a simple custom scope. The built-in scopes (Application, Session, Conversation etc) are all you really need most of the time but there may be times when you want more control or need to do some other custom actions. The…

Recreating Seam’s EntityHome in CDI

I mention constantly how working with Seam made life easier. One of the aspects of Seam I grew to love was EntityHome which provided a consistent way of interacting with an Entity. Methods and functionality which is common to most CRUD (Create, Read, Update, Delete) styled pages. In a recent project a lot of the…

Arquillian with Wildfly 8

I’ve recently been looking into Arquillian and have been asked how it can be made to work with Wildfly. In this post I’ll attempt to layout a sample project outlining the steps needed to use the wildfly container for arquillian integration testing. Stick with me this post could get pretty long with code examples. First…

Simple Security Project

I recently started helping a friend complete a SaaS application. He was in need of basic authentication with roles and permissions. Not one to re-invent the wheel unnecessarily I started looking at existing security frameworks – the obvious choice was Picketlink. Picketlink looks like a promising product but after spending some time looking into it…