Skip to main content

Manfred Riem

I love working with a broad range of technologies. At work it is mostly JavaEE and JavaSE technologies, as a hobby I do some Java on devices.


mriem's blog

Mojarra 2.3.0 Milestone 2 has been released!

Posted by mriem on April 9, 2015 at 12:28 PM PDT

The JavaEE 8 process is underway and JSF 2.3 is making progress.

We have just released our 2nd milestone.

See for the release notes

Download it from


MVC vs JSF a bit of a different perspective

Posted by mriem on March 13, 2015 at 12:29 AM PDT

Now that both JSRs are in full swing I am going to offer you all a bit of a different perspective between the 2 technologies.

As I have stated before I view them both complementary to each other!

I want to talk a bit about the actual work of doing the JSRs themselves.

MVC JSR 1.0 Snapshots

Posted by mriem on February 18, 2015 at 8:10 AM PST

The MVC JSR is progressing nicely and we have started publishing SNAPSHOT builds.

If you want to try them out grab the API JAR from and the Implementation JAR from

JSF 2.3 Using a CDI managed Validator

Posted by mriem on January 16, 2015 at 11:38 AM PST

Just like the previous blog entry "JSF 2.3 Using a CDI managed Converter" you can now do the same thing with Validators.

So how does that look in code?

  @FacesValidator(value = "myValidator", managed = true)
  public class MyValidator implements Validator {

     MyModel model;

JSF 2.3 Using a CDI managed Converter

Posted by mriem on January 15, 2015 at 3:27 AM PST

Although a converter is considered an attached object (part of the view state) commonly people ask support for CDI injection into a converter. Since we did not want to upset the original contract of what a converter is we had to look at how we can best support the requested use case.

Happy New Year!

Posted by mriem on January 1, 2015 at 7:22 AM PST

Happy New Year to all!


Working towards the first JSF 2.3 milestone

Posted by mriem on December 24, 2014 at 8:00 AM PST

As we are working towards our first JSF 2.3 milestone release I want to tell everyone once it is out please start testing. With your help we are able to catch so much more before we ship. This is why we are going to be doing milestone releases. So once the first one is out try it out! I hope you all will make testing your JSF application with JSF 2.3 a New Years resolution!


MVC and Adopt a JSR

Posted by mriem on December 19, 2014 at 12:52 PM PST

Today I participated in a phone call on Adopt-a-JSR for the MVC 1.0 specification.

While we do not have a whole lot of things that can be worked upon by a JUG at the moment I do want to point out that once we start publishing SNAPSHOT releases and milestones we will be looking forward to your contributions!

JavaEE Tip #6 - Resources

Posted by mriem on December 18, 2014 at 9:15 AM PST

The @Resources annotation makes it possible to define resources that you are going to lookup at runtime. The example describes a way to lookup a datasource that is mentioned in the @Resources annotation on the class.

@Resource(name="ShoppingCartDB", type=javax.sql.DataSource),

JavaEE Tip #5 - Resource

Posted by mriem on December 15, 2014 at 4:57 AM PST

With the @Resource annotation you define the resource you want to inject. Note this annotation is an older style annotation. Going forward the recommendation is to use the CDI @Inject annotation.

In code

  UserTransaction utx;