Please refer to the Release
Notes, located in your download bundle, for information regarding
supported
operating
systems, required software, limitations and bugs.
JWSDP_HOME
points to
the
location of your
Java WSDP installation.JWSDP_HOME/jsf
JWSDP_HOME
and rename the base directory to "jsf
"JWSDP_HOME/jsf
directoryJWSDP_HOME/work/Catalina/localhost/jsf-*
.
You should remove all the old jsf-*
files and directories
before restarting your
server. http://localhost:8080
Please note that the samples are provided as a proof-of-concept rather than a best-practices guide for writing JavaServer Faces applications.
To build one of the samples, you need to run its
build.xml file using
Ant
, which is a portable make tool.
When Ant builds the application, it copies files to a temporary build directory. This directory contains an exact image of the binary distribution for your JavaServer Faces application. When Ant builds the WAR file, it packages all the files from the build directory into the WAR file while preserving the directory structure contained in the build directory
To build the samples you first need to enter some paths in the build.properties file:
build.properties.sample
to build.properties
and edit accordingly for your system. To build a sample WAR file and deploy it:
ant
JWSDP_HOME/jsf/samples
directory.JWSDP_HOME/webapps
directory.http://localhost:8080/<EXAMPLE NAME>
http://localhost:8080
build.properties.sample
file to build.properties
and edit accordingly for your system configuration.build.standalone
property in the build.properties
filebuild.properties
file point to the correct jar file location according to your system
configuration:tomcat-home
jsf-api.jar
jsf-impl.jar
commons-beanutils.jar
commons-digester.jar
commons-logging.jar
commons-collections.jar
lib
directory of your
JavaServer Faces unzipped bundlejsp.jar
jstl.jar
standard.jar
servlet.jar
JWSDP_HOME/work/Catalina/localhost/jsf-*
.
It is safe to remove all these files before restarting your
server. Read your container's documentation to find out where the cached files are located in your specific container.build.standalone
property set to "true
"
so that each sample's web archive includes all of the jar file
dependencies. This step is not necessary in a JWSDP container since all
the jar dependencies that JavaServer Faces requires are already part of
the container.JWSDP_HOME
,
substitute your container's home directory for JWSDP_HOME
. You will also need to manually deploy the sample war files into your container's webapps
directoryCopyright © 2004 Sun Microsystems, Inc., 4150 Network
Circle, Santa
Clara, California 95054, U.S.A. All rights reserved.
Sun Microsystems, Inc. has intellectual property rights relating to
technology embodied in this product. In particular, and without
limitation, these intellectual property rights may include one or more
of the U.S. patents listed at http://www.sun.com/patents and one or
more
additional patents or pending patent applications in the U.S. and other
countries.
This product is distributed under licenses restricting its use,
copying
distribution, and decompilation. No part of this product may be
reproduced in any form by any means without prior written authorization
of Sun and its licensors, if any.
Third-party software, including font technology, is copyrighted and
licensed from Sun suppliers.
Sun, Sun Microsystems, the Sun logo, the Java Coffee Cup logo,
JavaServer, and Java are trademarks or registered trademarks of Sun
Microsystems, Inc. in the U.S. and other countries.
Federal Acquisitions: Commercial Software - Government Users Subject
to
Standard License Terms and Conditions.
Copyright © 2004 Sun Microsystems, Inc., 4150 Network
Circle,
Santa Clara, California 95054, Etats-Unis. Tous droits
réservés.
Sun Microsystems, Inc. a les droits de propriété
intellectuels
relatants
à la technologie incorporée dans ce produit. En
particulier,
et sans la
limitation, ces droits de propriété intellectuels peuvent
inclure un ou
plus des brevets américains énumérés
à
http://www.sun.com/patents et un
ou les brevets plus supplémentaires ou les applications de
brevet
en
attente dans les Etats - Unis et les autres pays.
Ce produit ou document est protégé par un copyright et
distribué avec
des licences qui en restreignent l'utilisation, la copie, la
distribution, et la décompilation. Aucune partie de ce produit
ou
document ne peut être reproduite sous aucune forme, par quelque
moyen
que ce soit, sans l'autorisation préalable et écrite
de Sun et de ses
bailleurs de licence, s'il y ena.
Le logiciel détenu par des tiers, et qui comprend la
technologie
relative aux polices de caractères, est protégé
par un copyright et
licencié par des fournisseurs de Sun.
Sun, Sun Microsystems, le logo Sun, le logo Java Coffee Cup,
JavaServer,
et Java sont des marques de fabrique ou des marques
déposées
de Sun
Microsystems, Inc. aux Etats-Unis et dans d'autres pays.