Tag: jsf
-
Secure JSF Application – why you should always define a servlet mapping
If you deploy a JSF application in WildFly 8, you can omit to define the JSF serlvet mapping. In this case three default mappings will be active out of the box. <context-root>/faces/* <context-root>/*.jsf <context-root>/*.faces Tested on WildFly 8.0.0.CR1 and JBoss EAP 6.2.0.GA This behavior is not mentioned in the JSF 2.1 spec. But it explicitly…
-
The state of web accessibility in the JavaEE world
by
This post is intended to give an overview of the state of web accessibility (a11y) in general and within the JavaEE world in particular. The first section outlines the how and why of accessibility, followed by an introduction to web accessibility. The next section deals with common a11y problems in an average JSF web application.…
-
How to access JSF from an EJB with JBoss Enterprise Application Platform 6 (aka JBoss AS7 / Wildfly)
by
The good old JBoss Seam framework introduced the usage of stateful session beans (SFSB) as backing beans for JSF applications. The trick was to bind the lifecycle of a SFSB to a web context, such as the session or the request context. Meanwhile this concept was integrated into the Java EE by the Context and…
-
JSF and the outputText tag
by
The last months, I often looked at web pages of projects using JSF and discovered an extensive use of the tag h:outputText. It needs some practice to fast read HTML pages. But if the pages are cluttered with additional tags they become unreadable. When I asked the developer, why they designed the page like this,…
-
Brave new world – Migrating a Java EE Application from JBoss AS 6 to JBoss AS 7
We are migrating an existing Java EE Application from JBoss AS 6 to JBoss AS 7. This blog post introduces our experience we have gained during the migration of the application to the new JBoss AS 7. Overview of the application The application is a Java EE application based on EJB, JPA and it contains…
-
How to test an EAR based JSF application using JSFUnit
How do you test your JSF application? Using JSFUnit allows you to perform integration test of your JSF application. The tests are run inside the container. JSFUnit tests can access the internal state of your application. The JSFUnit documentation describes how JSFUnit can be integrated into a Maven build environment. It leverages the maven-cargo-plugin and…

You must be logged in to post a comment.