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

Java 8 is out!

Posted by mriem on March 25, 2014 at 12:02 PM PDT

Hurray Java 8 is out! See for more information at http://www.oracle.com/technetwork/java/javase/overview/java8-2100321.html

JSF Tip #60 - What does 'com.sun.faces.compressViewState' do?

Posted by mriem on February 12, 2014 at 10:21 AM PST

In every JSF application view state is kept either on the client or on the server. How do you make sure this state is smaller?

JSF Tip #59 - What does the context-param com.sun.faces.sendPoweredByHeader do?

Posted by mriem on February 10, 2014 at 11:32 PM PST

Today we are covering what the "com.sun.faces.sendPoweredByHeader" context-param does.

JSF Tip #58 - What does the context-param com.sun.faces.validateXml do?

Posted by mriem on February 7, 2014 at 12:04 PM PST

The "com.sun.faces.validateXml" context-param makes it possible for you to have the Mojarra JSF runtime verify your configuration files against the faces-config.xml schema. If an error is found you will immediately be made aware as deployment will fail until you fix the problem.

JSF Tip #57 - Using a different start node in Faces Flows

Posted by mriem on February 6, 2014 at 2:12 AM PST

By convention in Faces Flows the page that is the start node has the same name as the flow, but is it possible to change that? It sure is, read on!

JSF Tip #56 - Using the action based prototype in Mojarra

Posted by mriem on January 13, 2014 at 7:19 PM PST

The JavaEE team at Oracle has been busy processing the feedback from the JavaEE 8 Community Survey

Question 6 in part one of the survey reads: "Is there any one de-facto standard technology in this space [Server side web MVC framework, aside from JSF] to which we should look for inspiration". For those respondents that answered yes to that question, fully half of them cited Spring MVC. By way of background, it's possible to classify server side web frameworks as "action based" or "component based". For some background on these terms, please see http://javaserverfaces.java.net/presentations/demystifyingjsf.odp.

To explore the possibilities for adding "action based" to the UI standard for JavaEE, we have committed some experimental prototype work to snapshot builds of Mojarra on January 9th, 2014. The current prototype allows you to use a simple annotation which would result in a call to a method on your managed bean and then dispatch the response to a regular view.

JSF Tip #55 - Adding a placeholder component to the component tree

Posted by mriem on January 1, 2014 at 11:53 PM PST

Why would you add a placeholder component to the tree using ui:component? Well, sometimes you need to add content dynamically, but you also need to be able sure where it ends up.

Happy 2014

Posted by mriem on January 1, 2014 at 11:47 PM PST

I want to wish you all a Happy New Year!

And that is it.

Enjoy!

JSF Tip #54 - Enable CDI when bundling JSF

Posted by mriem on December 10, 2013 at 3:46 AM PST

Occasionally, users have the need to override the version of JSF included in the application server by bundling a different version of JSF with their application. If you are trying to use CDI in such a scenario, you might have noticed it does not work. Is there a way out?

JSF Tip #53 - Adding ui:debug for debugging when running in Development mode

Posted by mriem on December 9, 2013 at 7:52 PM PST

To make it possible to debug the view tree the JSF runtime has a debug component (ui:debug) that you can use. What is the best way to do this?