Ce contenu n'est pas disponible dans la langue sélectionnée.
28.6. Configuring Seam in Java SE, with JBoss Embedded
JBoss Embedded lets you run EJB3 components outside the context of the Java EE 5 application server. This is particularly useful in testing.
The Seam booking example application includes a TestNG integration test suite that runs on Embedded JBoss via
SeamTest.
28.6.1. Packaging Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
A
WAR-based deployment on a Servlet engine will be structured as follows:
my-application.war/
META-INF/
MANIFEST.MF
WEB-INF/
web.xml
components.xml
faces-config.xml
lib/
jboss-seam.jar
jboss-seam-ui.jar
jboss-el.jar
jsf-facelets.jar
jsf-api.jar
jsf-impl.jar
...
my-application.jar/
META-INF/
MANIFEST.MF
persistence.xml
seam.properties
org/
jboss/
myapplication/
User.class
Login.class
LoginBean.class
Register.class
RegisterBean.class
...
login.jsp
register.jsp
...