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

And towards JSF 2.3 we go!

Posted by mriem on July 22, 2014 at 6:05 PM PDT

For all JSF folks out there. Some important news happened. What is it? Well, Ed Burns announced Oracle's intent to file JSF 2.3 JSR with me as co-spec lead. See the email to the EG at https://java.net/projects/javaserverfaces-spec-public/lists/users/archiv...

Enjoy!

JSF Tip #62 - Understanding rendered="false"

Posted by mriem on June 3, 2014 at 1:03 AM PDT

In JSF you will see people from time to time use rendered="false". But what does it mean?

Well, because in JSF the actual request is page based it builds up a representation of the page when the page gets loaded. When it is building up this representation it builds up the entire page, even the parts that are not going to be rendered.

Eg.

  ...
  <h:body>
    
  
  

Weblogic Tip #2 - Using Maven to create a Weblogic domain

Posted by mriem on May 28, 2014 at 8:03 AM PDT

If you like to automate things you might wonder if it is possible to create a Weblogic domain using Maven? Indeed that is possible. See the steps below!

  1. Install the Maven plugin
  2. Create the Weblogic domain

1. Install the Maven plugin

Glassfish 4.0.1 roadmap

Posted by mriem on May 23, 2014 at 3:37 AM PDT

Just in case you missed it, see https://blogs.oracle.com/theaquarium/entry/glassfish_4_0_1_update for a roadmap for Glassfish 4.0.1

Enjoy!

Weblogic Tip #1 - Installing Oracle Weblogic Server using Maven and the Zip distribution

Posted by mriem on May 21, 2014 at 8:50 AM PDT

Have you ever wondered if it is possible to install Oracle Weblogic Server using Maven? Well, it is.

  1. Install the Weblogic plugin
  2. Use the Weblogic plugin

1. Install the Weblogic plugin

Here is a bit of a chicken and the egg story. You will have to have an existing Weblogic install to

JSF Tip #61 - What does 'com.sun.faces.responseBufferSize' do?

Posted by mriem on May 19, 2014 at 8:33 AM PDT

If you want to determine the size of the response buffer the JSF runtime uses when buffering then the 'com.sun.faces.responseBufferSize' context-param allows you to set the size to something you want. The default is 1024 bytes, which is not big, but also not too large.

See the example snippet below which you could put in your faces-config.xml.

<context-param>

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.