Blog Archives

Apache MyFaces in the cloud

The Apache Software Foundation has a lot of offerings for cloud based infrastructure. There are a lot of projects in that directions. A few examples are: Hadoop, Cassandra, HBase or some that are currently undergoing incubation: Whirr / Libcloud. Two

Posted in apache, Bigtable, CDI, facelets, fun, Hadoop, HBase, java, jsf, myfaces

Enterprise Java without EJBs (but with CDI and MyFaces CODI)

At the W-JAX 2010 Peter Rossbach (Apache Tomcat Committer and freelancer) and I spoke about JavaEE 6 and particular the new ‘lightweight’ possibilities that are available with the WebProfile from JavaEE 6. We covered the following technologies in our talk:

Posted in apache, CDI, codi, facelets, fun, java, jetty, jsf, myfaces, myfaces codi, web², WebBeans, wjax

A CDI Scope Resolver for Spring 3

A few weeks ago I blogged about a simple Spring Resolver to integrate CDI standard scopes in a Spring-based application. I noticed, while checking my blog stats, that folks are interested in an integration of CDI (scopes) in a Spring

Posted in CDI, java, spring

Example on accessing Apache HBase with JPA

A few month ago I started to play with Apache HBase, Apache’s Bigtable implementation. Since the Bigtable impl. from the Google AppEngine (->Datastore) can be accessed with JPA, I searched for a way to use HBase with JPA as well.

Posted in Bigtable, CDI, facelets, fun, Hadoop, HBase, java, jetty, jsf, myfaces

Using CDI Scopes with Spring 3

With the advent of Spring 3 the framework now supports the Java Injection standard (JSR 330). However, unfortunately, they do not support the scoping, which is introduced in Java EE 6,through the CDI specification (JSR 299). Now the big difference

Posted in apache, CDI, ejb, java, jsf, myfaces, seam, spring, WebBeans

Spring 3.0 and JSR 330: Using @Inject

In here I showed how to use the @Named with Spring 3 to create “named beans”, to be used in frameworks like JSF2… Since we usually want to inject service implementations into our JSF beans, we need to use the

Posted in CDI, java, jsf, spring

Spring 3.0 and JSR 330: Using @Named

The Spring 3.x release comes with a build-in support for the JSR 330, called “at inject” (or Dependency Injection for Java). So it is now possible to use these annotation as an alternative for the @Autowired et al. The benefit

Posted in CDI, spring, WebBeans