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.

 

Weblogs

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...

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?

...

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...

Happy New Year to all!

Enjoy!

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...

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...

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...

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...

With the @PreDestroy annotation you annotate a single method in your class that you want to be called just before your object (EJB, JSF managed bean, CDI bean) is taken out of service.

In...

The @PostConstruct annotation makes it possible to run initialization code just before something (EJB, JSF managed bean, CDI bean) is put into service.

In code

...

And it is tutorial time!

Where are the JavaEE tutorials for each of the JavaEE versions?

If you want to find a specific version of the JavaEE API documentation the following links connect you to them:

Another CDI alignment issue done

In code

@ViewMap
@Inject
Map viewMap;

In words you can now inject the view map for use in your...

The following spec issues were addressed

#1333 - Support @Inject for UIViewRoot
#1332 - Let CDI handle #{view}
#1331 - Let CDI handle #{application}

And the following...

And now you can inject the UIViewRoot

In code

@Inject
UIViewRoot viewRoot;

Enjoy!

Nothing really fancy, but #{application} EL resolving is now done using a 2.3 CDI producer.

Note there won't be @Inject support for this as it is not referring to a specific typed artifact...

While it looks like not a whole lot has been going on issue wise some additional work not covered by specification issues has be done

a) Javadoc cleanup for JavaSE 8
b) Apply diamond...

And the MVC specification project is now public at http://mvc-spec.java.net/ so we are on the way!

Enjoy!

A quick run down on the issues fixed since last time

#1325 - Let CDI handle #{applicationScope}
#1311 - Let CDI handle #{facesContext} EL resolving
#1323 - Support @Inject for...

Another CDI alignment issue done

In code

@ApplicationMap
@Inject
Map applicationMap;

In words you can now inject the application...

Starting from the new 2.3 SNAPSHOT builds you can now do

@Inject ExternalContext externalContext;

Note you will need to make sure you use the...

Starting from the new 2.3 SNAPSHOT builds you can now do

 @Inject FacesContext facesContext;

Note you will need to make sure you use the latest...

A number of spec issues have been handled for the 2.3 cycle and I would like to call them out. Note today's list is going to be a bit longer than going forward. I intend to write up a small blog...

The first batch of MVC expert group members have been determined. For the ones that were added to the EG, welcome aboard! For the ones that were declined, please be aware there are multiple ways...

In case you didn't know starting a specification takes a bit of time. All kinds of infrastructure needs to be setup. So please bear with us.

I had a great time at JavaOne this year. I met up with a lot of old friends, made a number of new friends, but above all learned a lot. And I am excited to start hacking on both the JSF and the...

For all you Glassfish users out there Glassfish 4.1 has been released. See...

The ballot for MVC 1.0 has passed and we have approval. So now it is time to move forward with EG formation and from there it is off to work!

Since we are a new JSR we do not have all our...

And we are on our way for JSF 2.3 now.

The kick off email to the JSF 2.3 EG has been sent! You can see the publicly available announcement on the spec users list, see...