<< Previous | Home

JSF Tip #64 - JSF 2.2 Facelet VDL documentation

If you are looking for the JSF 2.2 Facelet VDL documentation, see https://javaserverfaces.java.net/nonav/docs/2.2/vdldocs/facelets/index.html



CDI Tip #1 - Get the annotation for a proxied class

In the Ozark runtime there is a time we need to get the annotation on a class. In some cases those instances are proxies and we need to get the annotation of the class behind the proxy. The code snippet below shows you how to do that.

public static <T extends Annotation> T getAnnotation(
Class<?> clazz, Class<T> annotationType) {
final T an = clazz.getDeclaredAnnotation(annotationType);
if (an != null) {
return an;
final BeanManager bm = CDI.current().getBeanManager();
final AnnotatedType<?> type = bm.createAnnotatedType(clazz);
return type != null ? type.getAnnotation(annotationType) : null;


Ozark package realignment

To more clearly show that Ozark is part of the reference implementations done under the Glassfish umbrella we decided to move from com.oracle.ozark.* to org.glassfish.ozark.* (the work was tracked as part of https://java.net/jira/browse/OZARK-51)

While this should not have a major impact on anyone trying out Ozark, we also had to update the GAV coordinate.

Please let us know if there are any problems!



Tags : , , ,

Are you secure? No, do you want to be?

Of course we all like to think that the software that we run or that we create is flawless, unfortunately the truth is that is not always the case, so a prudent company is pro-active about their security.

From the perspective of Java there is a lot of things going on, but if you are an Oracle customer you can keep an eye on the CPU page, which is a key resource for security related to Oracle products.

If you are interested in JDK or JRE look for Java SE.


Tags :

And Mojarra 2.3.0 Milestone 3 has been released

Work on JSF 2.3 is well underway and as such regular milestone releases are happening. So without further ado, Mojarra 2.3.0 Milestone 3 has been released!



Tags : ,