Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

20.6. Using Ajax4jsf with Seam

Similar to RichFaces, Ajax4jsf works out of the box with Seam. It does not require any configuration. All you need to do is to package the Ajax4jsf library JAR files with the application. The ajax4jsf.jar is the main Ajax4jsf component library, and the oscache-xxx.jar is a dependent library that Ajax4jsf requires. We put both files in the WAR file (i.e., the app.war). This is the packaging structure for the JAR files in ajax4jsf.ear:

ajax4jsf.ear
|+ META-INF
|+ lib
|+ app.war
|  |+ WEB-INF
|  |  |+ lib
|  |  |  |+ ajax4jsf.jar
|  |  |  |+ oscache-2.3.2.jar
|  |  |  |+ jboss-seam-ui.jar
|  |  |  |+ jboss-seam-debug.jar
|  |  |  |+ jsf-facelets.jar
|+ app.jar


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial