Extended Persistence – Design Flaw or Incompetent Programmer?

Recently I’ve been learning a lot about the subtle nuances of the EE/CDI persistence world and in this post I wanted to give an overview of what I’m finding.   @PersistenceContext(type = PersistenceContextType.EXTENDED) Extended persistence context – the idea sounds great! Let the container manage a persistence context which can span multiple requests. Surely this…

New Project – SimpleEssentials

Just a quick post to announce the creation of SimpleEssentials. This project consists of useful utilities and handy classes and will form the core dependency of most of the other ‘simple’ projects. At the moment stuff is just being moved into there from some of my other projects and as it grows I may well…

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…

Programatically Evaluate EL Expressions

Sometimes, especially when trying to create generic reusable code, you may want to evaluate an expression (#{mybean.property}) to get a value. I used this a few times in Seam2 but it doesn’t seem to be readily available in CDI. Thankfully I came across a great post http://4thline.org/articles/Java EL in CDI without JSF.html which gives us…

SimpleBPM Update

Over the last few days I’ve been working on creating interceptors, annotations, business process scope and context and handy producers for commonly needed stuff from jBPM. Sadly my target apps are deployed in Wildfly and it seems jBPM 6 has not been tested and does not work with Wildfly. (see https://community.jboss.org/thread/237300) So at this point…

Simple BPM Project

In previous projects in Seam I’ve made extensive use of jBPM for managing processes and workflows. One of my current web apps needed basic task management – assigning tasked based on activities in the application, reminders, listing of active tasks with status etc. A lot of this could easily be managed manually but using a…

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…

Hello world!

Well what better way to start a new programming related blog than with a traditional “Hello World”. At the moment I’m actively developing a couple of Java CDI modules which are available on github here and intend on writing about my discoveries, progress, and issues. You’re welcome to follow along and hopefully learn from my…