JSF Presentation
I have almost completed the design of the new blog. I would like to receive a feed back on this...
I have almost completed the design of the new blog. I would like to receive a feed back on this...
I have almost completed the design of the new blog. I would like to receive a feed back on this...
FindBugs is a static analysis tool that examines your class or JAR files looking for potential problems by matching your bytecodes against a list of bug patterns. With static analysis tools, you can analyze software without actually running the program. Instead the form or structure of the class files are analyzed to determine the program's intent, often using the Visitor pattern.
Please find information below on how to configure and use find bugs in our eclipse.
For more details please refer link. http://findbugs.sourceforge.net/manual/eclipse.html
Step-1) From Eclipse help menu open "Install new Software" menu item.
Step-2) Click on Add site and fill following site details and hit ok button.
Step-3) Select "FindBugs" for installation.
.
Step-4) Accept licence conditions – Click finish
B:How to use FindBugs in our eclipse
Step-1) Select java file/package/project and right click to select find bugs. Now it will generate bugs report.
Step-2)Report will be generated like below.
<properties>
<!-- for Alhpa versions it was just 'ALPHA2' --><org.richfaces.bom.version>4.0.0.Final</org.richfaces.bom. version> ...
</properties>
<dependencyManagement>
<dependencies>
<!-- Ricfaces 4.0.0.Final -->
<dependency><groupId>org.richfaces</groupId> <artifactId>richfaces-bom</artifactId> <version>${org.richfaces.bom.version}</version> <scope>import</scope><type>pom</type></dependency><dependency><groupId>org.richfaces.ui</groupId> <artifactId>richfaces-components-ui</artifactId> <version>${org.richfaces.bom.version}</version> </dependency><dependency><groupId>org.richfaces.core</groupId> <artifactId>richfaces-core-impl</artifactId> <version>${org.richfaces.bom.version}</version> </dependency><dependency><groupId>org.richfaces.cdk</groupId> <artifactId>annotations</artifactId> <version>${org.richfaces.bom.version}</version> <scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement
1. RichFaces Filter not needed anymore as RichFaces 4 uses JSF 2 System Events for configuration and requests handling.2. Remove org.ajax4jsf.VIEW_HANDLERS context parameter. it was needed to configure facelets view handler for JSF 1.2 only.3. org.richfaces.SKIN changed to org.richfaces.SKIN
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j" xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>…</h:head>
<h:body><ui:composition>…</ui:composition>…</h:body>
</html>
As in Richfaces 3.3.3, used to write tags like <head></head> and <body></body>, now within these tags only JSP components rendered.