By Max Katz | Article Rating: |
|
April 15, 2010 05:04 PM EDT | Reads: |
3,773 |

Now that RichFaces 3.3.3 is out, plus JBoss Tools 3.1 was released in March, let me show you the easiest way to start with RichFaces and Tomcat 6. This doesn’t involve Maven. I’ll write a post about Maven and RichFaces some other time.
The following steps assume you have JBoss Tools 3.0 or 3.1 installed. Just in case you don’t have JBoss Tools installed, skip to section Installing JBoss Tools 3.1 at the end.
Getting RichFaces project
- Download RichFaces start project
- In Eclipse, select File/Import/General/Existing Project nto Workspace
- Check Select archive file and click Browse…
- Find and select richfaces-start.zip
- Click Finish
- Once the project is imported, in Servers view, right-click Tomcat server and select Add and Remove…
- Move richfaces-start to the right side
- Start the server
- Right-click richfaces-start project and select Run As/Run nn Server
You should see a page like this:
The project even comes with a very short custom skin (laguna14). Look for the skin file in JavaSource folder. The application also uses a4j:insert tag and a4j implicit object.
Installing JBoss Tools 3.1
- Download and install Eclipse IDE for Java EE Developers 3.5.2
- In Eclipse, go to Help/Install New Software…
- Click Add
- For name, enter JBoss Tools 3.1
- For URL, enter http://download.jboss.org/jbosstools/updates/JBossTools-3.1.0.GA/
- Click OK
- Select the just added software link
- When a list of features appears, select Web and Java EE Development
- Click Finish. This will install JBoss Tools
- Launch Eclipse
- Add Tomcat 6 server (you can do it via Servers view)
- Go back to step #1 in Getting RichFaces project section
Read the original blog entry...
Published April 15, 2010 Reads 3,773
Copyright © 2010 Ulitzer, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
Related Stories
More Stories By Max Katz
Max Katz heads Developer Relations for Appery.io, a cloud-based mobile app platform. He loves trying out new and cool REST APIs in mobile apps. Max is the author of two books “Practical RichFaces” (Apress 2008, 2011), DZone MVB (Most Valuable Blogger), and is a frequent speaker at developer conferences. You can find out what Max is up to on his blog: http://maxkatz.org and Twitter: @maxkatz.
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- Eclipse Special: Remote Debugging Tomcat & JBoss Apps with Eclipse
- Creating Web Applications with the Eclipse Web Tools Project
- What's New in Eclipse?
- Configuring Eclipse for Remote Debugging a WebLogic Java Application
- JDJ Archives: Eclipse vs NetBeans - "Point/Counterpoint" Special
- Java Feature — Bringing Together Eclipse,WTP, Struts, and Hibernate
- SYS-CON Webcast: Eclipse IDE for Students, Useful Eclipse Tips & Tricks
- Eclipse: The Story of Web Tools Platform 0.7
- Developing an Application Using the Eclipse BIRT Report Engine API