Author: max.andersen(a)jboss.com
Date: 2007-08-27 09:28:22 -0400 (Mon, 27 Aug 2007)
New Revision: 3359
Added:
trunk/documentation/development/usecases/en/modules/projectexample/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-2.7.6.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-3.0ea8.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-collections-3.1.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-compiler-3.0.5.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-core-3.0.5.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/janino-2.4.3.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jboss-seam.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jbpm-3.1.4.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/stringtemplate-2.3b6.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/import.sql
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/seam.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-api.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-ri.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/hibernate-all.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/jboss-ejb3-all.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-api-1.1.4.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-impl-1.1.4.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/servlet-api.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/testng-4.5.1-jdk15.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/thirdparty-all.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/classes.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/groups.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/index.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/main.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-alphabetical.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-not-run.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/reporter-output.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng-failed.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng.xml.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/toc.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css
trunk/documentation/development/usecases/en/modules/projectexample/lamp/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration
(2).launch
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/classes/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/classes/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/ajax4jsf.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-collections-3.1.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-digester-1.6.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-debug.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-mail.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ui.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jsf-facelets.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/oscache-2.3.2.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-next.png
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-prev.png
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/dtpick.gif
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css
trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/import.sql
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/seam.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/model/
Log:
example project layout
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/action"/>
+ <classpathentry kind="src" path="src/model"/>
+ <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry exported="true" kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_12"/>
+ <classpathentry kind="con"
path="org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer/JBoss
4.2 runtime"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.seam.core.seambuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.jboss.tools.seam.core.seamnature</nature>
+ </natures>
+</projectDescription>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,7 @@
+#Fri Aug 24 13:54:47 CEST 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,4 @@
+#Fri Aug 24 14:03:12 CEST 2007
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_12/owners=jst.java\:5.0
+classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer\:\:JBoss\
4.2\ runtime/owners=jst.web\:2.5
+eclipse.preferences.version=1
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="lamp">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/action"/>
+<wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/model"/>
+<property name="context-root" value="lamp"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 runtime"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="jst.jsf"/>
+ <fixed facet="jst.seam"/>
+ <fixed facet="jst.java"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.5"/>
+ <installed facet="jst.jsf" version="1.2"/>
+ <installed facet="jst.seam" version="1.2"/>
+</faceted-project>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,297 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FILESYSTEMS APPLICATION_NAME="lamp" ENTITY="FileSystems"
+ VERSION="2.0.0" WORKSPACE_HOME="./WebContent/WEB-INF">
+ <FILESYSTEM ENTITY="FileSystemFolder"
LOCATION="%redhat.workspace%" NAME="WEB-INF"/>
+ <FILESYSTEM ENTITY="FileSystemFolder" INFO="Content-Type=Web"
+ LOCATION="%redhat.workspace%/.." NAME="WEB-ROOT"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
+ LOCATION="%redhat.workspace%/../../src" NAME="src"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
LOCATION="%redhat.workspace%/lib" NAME="lib"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
+ LOCATION="%redhat.workspace%/classes" NAME="classes"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
LOCATION="%eclipse.project%" NAME="lamp"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/ajax4jsf.jar"
NAME="lib-ajax4jsf.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/commons-beanutils-1.7.0.jar"
NAME="lib-commons-beanutils-1.7.0.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/commons-collections-3.1.jar"
NAME="lib-commons-collections-3.1.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/commons-digester-1.6.jar"
NAME="lib-commons-digester-1.6.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-debug.jar"
NAME="lib-jboss-seam-debug.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-ioc.jar"
NAME="lib-jboss-seam-ioc.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-mail.jar"
NAME="lib-jboss-seam-mail.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-pdf.jar"
NAME="lib-jboss-seam-pdf.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-remoting.jar"
NAME="lib-jboss-seam-remoting.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-ui.jar"
NAME="lib-jboss-seam-ui.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jsf-facelets.jar"
NAME="lib-jsf-facelets.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/oscache-2.3.2.jar"
NAME="lib-oscache-2.3.2.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/antlr-2.7.6.jar"
NAME="lib-antlr-2.7.6.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/antlr-3.0ea8.jar"
NAME="lib-antlr-3.0ea8.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar"
NAME="lib-commons-jci-core-1.0-406301.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar"
NAME="lib-commons-jci-janino-2.4.3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/drools-compiler-3.0.5.jar"
NAME="lib-drools-compiler-3.0.5.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/drools-core-3.0.5.jar"
NAME="lib-drools-core-3.0.5.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/janino-2.4.3.jar"
NAME="lib-janino-2.4.3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/jboss-seam.jar"
NAME="lib-jboss-seam.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/jbpm-3.1.4.jar"
NAME="lib-jbpm-3.1.4.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/stringtemplate-2.3b6.jar"
NAME="lib-stringtemplate-2.3b6.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/localedata.jar"
NAME="lib-localedata.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/sunpkcs11.jar"
NAME="lib-sunpkcs11.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/dnsns.jar"
NAME="lib-dnsns.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/sunjce_provider.jar"
NAME="lib-sunjce_provider.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-saaj.jar"
NAME="lib-jboss-saaj.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-remoting.jar"
NAME="lib-jboss-remoting.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-common-client.jar"
NAME="lib-jboss-common-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jaxb-xjc.jar"
NAME="lib-jaxb-xjc.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-jsr77-client.jar"
NAME="lib-jboss-jsr77-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossmq-client.jar"
NAME="lib-jbossmq-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jaxb-impl.jar"
NAME="lib-jaxb-impl.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/avalon-framework.jar"
NAME="lib-avalon-framework.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbosssx-client.jar"
NAME="lib-jbosssx-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/servlet-api.jar"
NAME="lib-servlet-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/ejb3-persistence.jar"
NAME="lib-ejb3-persistence.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-xml-binding.jar"
NAME="lib-jboss-xml-binding.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/wstx.jar"
NAME="lib-wstx.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-j2ee.jar"
NAME="lib-jboss-j2ee.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/log4j.jar"
NAME="lib-log4j.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/commons-codec.jar"
NAME="lib-commons-codec.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/getopt.jar"
NAME="lib-getopt.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossall-client.jar"
NAME="lib-jbossall-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-system-client.jar"
NAME="lib-jboss-system-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-aspect-jdk50-client.jar"
NAME="lib-jboss-aspect-jdk50-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-serialization.jar"
NAME="lib-jboss-serialization.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/antlr.jar"
NAME="lib-antlr.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jmx-invoker-adaptor-client.jar"
NAME="lib-jmx-invoker-adaptor-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/hibernate-client.jar"
NAME="lib-hibernate-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-iiop-client.jar"
NAME="lib-jboss-iiop-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/logkit.jar"
NAME="lib-logkit.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-deployment.jar"
NAME="lib-jboss-deployment.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/trove.jar"
NAME="lib-trove.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-ejb3x.jar"
NAME="lib-jboss-ejb3x.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/wsdl4j.jar"
NAME="lib-wsdl4j.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossha-client.jar"
NAME="lib-jbossha-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-client.jar"
NAME="lib-jboss-ejb3-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossws-wsconsume-impl.jar"
NAME="lib-jbossws-wsconsume-impl.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-annotations-ejb3.jar"
NAME="lib-jboss-annotations-ejb3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-client.jar"
NAME="lib-jboss-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-srp-client.jar"
NAME="lib-jboss-srp-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-jaxws.jar"
NAME="lib-jboss-jaxws.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/commons-logging.jar"
NAME="lib-commons-logging.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jaxb-api.jar"
NAME="lib-jaxb-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/hibernate-annotations.jar"
NAME="lib-hibernate-annotations.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/xmlsec.jar"
NAME="lib-xmlsec.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossws-client.jar"
NAME="lib-jbossws-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/commons-httpclient.jar"
NAME="lib-commons-httpclient.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jacorb.jar"
NAME="lib-jacorb.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/concurrent.jar"
NAME="lib-concurrent.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-aop-jdk50-client.jar"
NAME="lib-jboss-aop-jdk50-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/scout.jar"
NAME="lib-scout.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/mail.jar"
NAME="lib-mail.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jmx-client.jar"
NAME="lib-jmx-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/javassist.jar"
NAME="lib-javassist.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossjmx-ant.jar"
NAME="lib-jbossjmx-ant.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/stax-api.jar"
NAME="lib-stax-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbosscx-client.jar"
NAME="lib-jbosscx-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/activation.jar"
NAME="lib-activation.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-jaxrpc.jar"
NAME="lib-jboss-jaxrpc.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jnp-client.jar"
NAME="lib-jnp-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-transaction-client.jar"
NAME="lib-jboss-transaction-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/jboss-system.jar"
NAME="lib-jboss-system.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/jboss-common.jar"
NAME="lib-jboss-common.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/jboss-jmx.jar"
NAME="lib-jboss-jmx.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/log4j-boot.jar"
NAME="lib-log4j-boot.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hsqldb-plugin.jar"
NAME="lib-hsqldb-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossws-integration.jar"
NAME="lib-jbossws-integration.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-vfs.jar"
NAME="lib-jboss-vfs.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bcel.jar"
NAME="lib-bcel.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hibernate3.jar"
NAME="lib-hibernate3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/dom4j.jar"
NAME="lib-dom4j.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossts-common.jar"
NAME="lib-jbossts-common.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jpl-util.jar"
NAME="lib-jpl-util.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bsh-deployer.jar"
NAME="lib-bsh-deployer.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-srp.jar"
NAME="lib-jboss-srp.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/xmlentitymgr.jar"
NAME="lib-xmlentitymgr.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hibernate-entitymanager.jar"
NAME="lib-hibernate-entitymanager.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/mail-plugin.jar"
NAME="lib-mail-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-jca.jar"
NAME="lib-jboss-jca.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jaxen.jar"
NAME="lib-jaxen.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jmx-adaptor-plugin.jar"
NAME="lib-jmx-adaptor-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-monitoring.jar"
NAME="lib-jboss-monitoring.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/scheduler-plugin.jar"
NAME="lib-scheduler-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jpl-pattern.jar"
NAME="lib-jpl-pattern.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-cache-jdk50.jar"
NAME="lib-jboss-cache-jdk50.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-hibernate.jar"
NAME="lib-jboss-hibernate.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossjta-integration.jar"
NAME="lib-jbossjta-integration.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-management.jar"
NAME="lib-jboss-management.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-transaction.jar"
NAME="lib-jboss-transaction.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/commons-collections.jar"
NAME="lib-commons-collections.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-jsr88.jar"
NAME="lib-jboss-jsr88.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bsh.jar"
NAME="lib-bsh.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/quartz.jar"
NAME="lib-quartz.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jsp-api.jar"
NAME="lib-jsp-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/log4j-snmp-appender.jar"
NAME="lib-log4j-snmp-appender.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-jsr77.jar"
NAME="lib-jboss-jsr77.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/cglib.jar"
NAME="lib-cglib.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossjta.jar"
NAME="lib-jbossjta.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-remoting-int.jar"
NAME="lib-jboss-remoting-int.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbosssx.jar"
NAME="lib-jbosssx.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss.jar"
NAME="lib-jboss.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hsqldb.jar"
NAME="lib-hsqldb.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jnpserver.jar"
NAME="lib-jnpserver.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bsf.jar"
NAME="lib-bsf.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/autonumber-plugin.jar"
NAME="lib-autonumber-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/el-api.jar"
NAME="lib-el-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/scheduler-plugin-example.jar"
NAME="lib-scheduler-plugin-example.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/joesnmp.jar"
NAME="lib-joesnmp.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bindingservice-plugin.jar"
NAME="lib-bindingservice-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossmq.jar"
NAME="lib-jbossmq.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/properties-plugin.jar"
NAME="lib-properties-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-common-jdbc-wrapper.jar"
NAME="lib-jboss-common-jdbc-wrapper.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar"
NAME="lib-jsf-impl.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar"
NAME="lib-jboss-faces.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar"
NAME="lib-jsf-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar"
NAME="lib-jboss-aop-jdk50.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar"
NAME="lib-jboss-aspect-library-jdk50.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+
LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/ejb3.deployer/jboss-ejb3.jar"
NAME="lib-jboss-ejb3.jar"/>
+ <WEB ENTITY="JstWeb" MODEL_PATH="/web.xml"
SERVLET_VERSION="2.4">
+ <MODULE ENTITY="WebJSFModule" MODEL_PATH="/faces-config.xml"
+ ROOT="WEB-ROOT" SRC="src"
URI="/WEB-INF/faces-config.xml"/>
+ </WEB>
+</FILESYSTEMS>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,33 @@
+#Fri Aug 24 13:54:47 CEST 2007
+FacetDataModelProvider.NOTIFICATION_OPERATION=org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl@c775c5
+FacetInstallDataModelProvider.MASTER_PROJECT_DM=IDataModel,
provider\=org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider@13c6012
+IDataModelProperties.ALLOW_EXTENSIONS=true
+IDataModelProperties.RESTRICT_EXTENSIONS=[]
+IFacetDataModelProperties.FACET_ACTION=INSTALL[jst.seam 1.2]
+IFacetDataModelProperties.FACET_ID=jst.seam
+IFacetDataModelProperties.FACET_PROJECT_NAME=lamp
+IFacetDataModelProperties.FACET_TYPE=INSTALL
+IFacetDataModelProperties.FACET_VERSION_STR=1.2
+IFacetDataModelProperties.SHOULD_EXECUTE=true
+IFacetDataModelPropeties.FACET_VERSION=Seam Facet 1.2
+action.package=org.domain.lamp.session
+catalog.property=
+database.drop=false
+database.exists=false
+database.type=HSQL
+driver.file=[Ljava.lang.String;@170de0f
+eclipse.preferences.version=1
+hibernate.connection.driver_class=org.hsqldb.jdbcDriver
+hibernate.connection.password=
+hibernate.connection.url=jdbc\:hsqldb\:dfdf
+hibernate.connection.username=sa
+hibernate.dialect=org.hibernate.dialect.HSQLDialect
+jboss.home=Jboss_AS_HOME
+model.package=org.domain.lamp.entity
+project.name=lamp
+schema.property=
+seam.jbossas.home.folder=/home/max/rhdevstudio/jboss-eap/seam
+seam.project.connection.profile=eer1e
+seam.project.deployment.type=ear
+seam.project.web.root.folder=
+test.package=org.domain.lamp.test
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration
(2).launch
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration
(2).launch (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration
(2).launch 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<launchConfiguration
type="org.hibernate.eclipse.launch.CodeGenerationLaunchConfigurationType">
+<stringAttribute key="org.hibernate.tools.configurationname"
value="lamp-ejb"/>
+<booleanAttribute key="org.hibernate.tools.ejb3"
value="false"/>
+<booleanAttribute key="org.hibernate.tools.hbm2cfgxml"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.hbm2dao"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.hbm2doc"
value="false"/>
+<booleanAttribute key="org.hibernate.tools.hbm2hbmxml"
value="false"/>
+<booleanAttribute key="org.hibernate.tools.hbm2java"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.jdk5"
value="false"/>
+<stringAttribute key="org.hibernate.tools.package" value=""/>
+<booleanAttribute key="org.hibernate.tools.prefercompositeids"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_many_to_many"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_optimistc_lock"
value="true"/>
+<booleanAttribute key="org.hibernate.tools.schema2hbm"
value="false"/>
+<booleanAttribute key="org.hibernate.tools.useOwnTemplates"
value="false"/>
+</launchConfiguration>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Class-Path: antlr-2.7.6.jar
+ antlr-3.0ea8.jar
+ commons-collections-3.1.jar
+ commons-jci-core-1.0-406301.jar
+ commons-jci-janino-2.4.3.jar
+ drools-compiler-3.0.5.jar
+ drools-core-3.0.5.jar
+ janino-2.4.3.jar
+ jboss-seam.jar
+ jbpm-3.1.4.jar
+ lamp-ejb.jar
+ stringtemplate-2.3b6.jar
+
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components
xmlns="http://jboss.com/products/seam/components"
+
xmlns:core="http://jboss.com/products/seam/core"
+
xmlns:drools="http://jboss.com/products/seam/drools"
+
xmlns:security="http://jboss.com/products/seam/security"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://jboss.com/products/seam/core
http://jboss.com/products/seam/core-1.1.xsd
+
http://jboss.com/products/seam/drools
http://jboss.com/products/seam/drools-1.1.xsd
+
http://jboss.com/products/seam/security
http://jboss.com/products/seam/security-1.1.xsd
+
http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-1.1.xsd">
+
+ <core:init debug="true"
jndi-pattern="lamp/#{ejbName}/local"/>
+
+ <core:manager concurrent-request-timeout="500"
+ conversation-timeout="120000"
+ conversation-id-parameter="cid"
+ conversation-is-long-running-parameter="clr"/>
+
+ <core:managed-persistence-context name="entityManager"
+ auto-create="true"
+
persistence-unit-jndi-name="java:/lampEntityManagerFactory"/>
+
+ <core:ejb installed="false"/>
+
+ <drools:rule-base name="securityRules">
+ <drools:rule-files>
+ <value>/security.drl</value>
+ </drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity authenticate-method="#{authenticator.authenticate}"
+ security-rules="#{securityRules}"
+ remember-me="true"/>
+
+ <event type="org.jboss.seam.notLoggedIn">
+ <action expression="#{redirect.captureCurrentView}"/>
+ </event>
+ <event type="org.jboss.seam.postAuthenticate">
+ <action expression="#{redirect.returnToCapturedView}"/>
+ </event>
+
+ <!-- For use with jBPM pageflow or process management -->
+ <!--
+ <core:jbpm>
+ <core:process-definitions></core:process-definitions>
+ <core:pageflow-definitions></core:pageflow-definitions>
+ </core:jbpm>
+ -->
+
+</components>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,31 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<faces-config version="1.2"
+
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+
+ <!-- Seam transaction management -->
+ <lifecycle>
+
<phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
+ </lifecycle>
+
+ <!-- No Seam transaction management -->
+ <!--
+ <lifecycle>
+
<phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
+ </lifecycle>
+ -->
+
+ <application>
+ <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
+ <message-bundle>messages</message-bundle>
+
+ <!-- Disabled when using Ajax4JSF -->
+ <!--
+
<view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
+ -->
+ </application>
+
+
+
+</faces-config>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/ajax4jsf.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/ajax4jsf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-digester-1.6.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-digester-1.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-debug.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-debug.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-mail.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-mail.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ui.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ui.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jsf-facelets.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/oscache-2.3.2.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/oscache-2.3.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,53 @@
+<!DOCTYPE pages PUBLIC
+ "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
+ "http://jboss.com/products/seam/pages-1.2.dtd">
+
+<pages no-conversation-view-id="/home.xhtml"
+ login-view-id="/login.xhtml">
+
+ <page view-id="*">
+ <navigation>
+ <rule if-outcome="home">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <exception class="org.jboss.seam.framework.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.OptimisticLockException">
+ <end-conversation/>
+ <redirect view-id="/error.xhtml">
+ <message>Another user changed the same data, please try
again</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <redirect>
+ <message>You don't have permission to do this</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.NotLoggedInException">
+ <redirect view-id="/login.xhtml">
+ <message>Please log in first</message>
+ </redirect>
+ </exception>
+
+ <exception>
+ <redirect view-id="/error.xhtml">
+ <message>Unexpected error, please try again</message>
+ </redirect>
+ </exception>
+
+</pages>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,89 @@
+<?xml version="1.0" ?>
+<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <!-- Ajax4jsf (must come first!) -->
+
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <url-pattern>*.seam</url-pattern>
+ </filter-mapping>
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+
<param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
+ </context-param>
+
+ <!-- Seam -->
+
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
+
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
+
+ <!-- Facelets development mode (disable in production) -->
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.seam</url-pattern>
+ </servlet-mapping>
+
+ <security-constraint>
+ <display-name>Restrict raw XHTML Documents</display-name>
+ <web-resource-collection>
+ <web-resource-name>XHTML</web-resource-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+
+</web-app>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,18 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Error</h1>
+ <p>Something bad happened :-(</p>
+
+ <h:messages styleClass="message"/>
+
+</ui:define>
+</ui:composition>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,40 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>form</h1>
+ <p>Generated form page</p>
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <h:form id="form">
+ <div class="dialog">
+ <s:validateAll>
+ <div class="prop">
+ <span class="name">Value</span>
+ <span class="value">
+ <s:decorate>
+ <h:inputText id="value" required="true"
+ value="#{form.value}"/>
+ </s:decorate>
+ </span>
+ </div>
+ </s:validateAll>
+ </div>
+ <div class="actionButtons">
+ <h:commandButton id="form" value="form"
+ action="#{form.form}"/>
+ </div>
+ </h:form>
+
+</ui:define>
+
+</ui:composition>
+
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,26 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <p>This empty shell application includes:</p>
+ <ul>
+ <li>Ant build script</li>
+ <li>Deployment to JBoss AS</li>
+ <li>Integration testing using TestNG and JBoss Embeddable EJB3</li>
+ <li>EJB 3.0 Seam components</li>
+ <li>Templated Facelets views</li>
+ <li>HSQL (or MySQL) Datasource</li>
+ <li>Default CSS stylesheet</li>
+ <li>Internationalization support</li>
+ </ul>
+</ui:define>
+</ui:composition>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-next.png
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-next.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-prev.png
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-prev.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/dtpick.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/dtpick.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.seam">
+</head>
+</html>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,12 @@
+<div class="loginout"
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+ <h:outputText value="Welcome, #{identity.username}"
rendered="#{identity.loggedIn}"/>
+  | 
+ <s:link view="/login.xhtml" value="Login"
rendered="#{not identity.loggedIn}"/>
+ <s:link view="/home.xhtml" action="#{identity.logout}"
value="Logout" rendered="#{identity.loggedIn}"/>
+ |
+</div>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,8 @@
+<div class="menuButtons"
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+ <s:link view="/home.xhtml" value="Home"/>
+</div>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+<head>
+ <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
+ <title>lamp</title>
+ <link href="stylesheet/theme.css" rel="stylesheet"
type="text/css" />
+</head>
+
+<body>
+
+ <ui:include src="menu.xhtml"/>
+ <ui:include src="loginout.xhtml"/>
+
+ <div class="body">
+
+ <f:facet name="aroundInvalidField">
+ <s:span styleClass="errors"/>
+ </f:facet>
+ <f:facet name="afterInvalidField">
+ <s:span> <s:message/></s:span>
+ </f:facet>
+
+ <h1>lamp</h1>
+ <ui:insert name="body"/>
+
+ </div>
+
+ <div class="footer">
+ Powered by <a
href="http://jboss.com/products/seam">Seam</a>.
+ Generated by seam-gen.
+ </div>
+
+</body>
+</html>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,11 @@
+<!DOCTYPE page PUBLIC
+ "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
+ "http://jboss.com/products/seam/pages-1.2.dtd">
+
+<page>
+ <navigation from-action="#{identity.login}">
+ <rule if="#{identity.loggedIn}">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+</page>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,40 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Login</h1>
+ <p>Please login using any username and password</p>
+
+ <h:messages styleClass="message"/>
+
+ <h:form id="login">
+
+ <div class="dialog">
+ <h:panelGrid columns="2" rowClasses="prop"
columnClasses="name,value">
+ <h:outputLabel for="username">Username</h:outputLabel>
+ <h:inputText id="username"
+ value="#{identity.username}"/>
+ <h:outputLabel for="password">Password</h:outputLabel>
+ <h:inputSecret id="password"
+ value="#{identity.password}"/>
+ <h:outputLabel for="rememberMe">Remember
me</h:outputLabel>
+ <h:selectBooleanCheckbox id="rememberMe"
+ value="#{identity.rememberMe}"/>
+ </h:panelGrid>
+ </div>
+
+ <div class="actionButtons">
+ <h:commandButton value="Login"
action="#{identity.login}"/>
+ </div>
+
+ </h:form>
+
+</ui:define>
+</ui:composition>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,27 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>ping</h1>
+ <p>Generated action page</p>
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <h:form id="ping">
+ <div>
+ <h:commandButton id="ping" value="ping!"
+ action="#{ping.ping}"/>
+ </div>
+ </h:form>
+
+</ui:define>
+
+</ui:composition>
+
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,359 @@
+a:active, a:link, a:visited {
+ color: #0D5798;
+}
+a:hover {
+ color: #8CAFCD;
+}
+
+.menuButtons {
+ background-color: #FF6600; /*#8CAFCD*/
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+.menuButtons a {
+ font-weight: bold;
+ text-decoration: none;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+.menuButtons a:active, .menuButtons a:link, .menuButtons a:visited {
+ font-family: Arial,sans-serif;
+ background-color: #FF6600; /*#8CAFCD*/
+ color: white;
+ border-right: 1px solid white;
+}
+.menuButtons a:hover {
+ font-family: Arial,sans-serif;
+ background-color: white;
+ color: #FF6600; /*#8CAFCD*/
+}
+
+.loginout {
+ font-family: Arial,sans-serif;
+ text-align: right;
+ padding-right: 10px;
+ padding-top: 5px;
+ font-size: 0.85em;
+}
+.loginout a {
+ text-decoration: none;
+}
+
+.footer {
+ text-align: center;
+ font-size: 0.8em;
+}
+
+.actionButtons {
+ width: 100%;
+ text-align: center;
+ padding-top: 10px;
+}
+.tableControl {
+ width: 100%;
+ text-align: right;
+ padding-top: 15px;
+}
+.actionButtons a, .tableControl a {
+ font-family: Arial,sans-serif;
+ font-weight: bold;
+ color: #578BB8;
+ border: 1px solid #578BB8;
+ text-decoration: none;
+ padding: 5px;
+ margin: 5px;
+}
+.actionButtons a:hover, .tableControl a:hover {
+ color: white;
+ background-color: #578BB8;
+ margin: 5px;
+}
+
+h1 {
+ font-family: Arial,sans-serif;
+ color: #578BB8;
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+body {
+ margin: 0px;
+ font-family: Arial,sans-serif;
+ color: #616161;
+}
+
+.body {
+ padding: 30px;
+}
+
+
+table {
+ width: 100%;
+}
+th {
+ background-color: #578BB8;
+ color: white;
+ font-family: Arial,sans-serif;
+ padding: 5px;
+
+}
+td {
+ background-color: #F0F0F0;
+ text-align: center;
+}
+.narrow {
+ width: 20%;
+}
+.wide {
+ width: 80%;
+}
+.first td {
+ background-color: #F0F0F0;
+}
+.second td {
+ background-color: white;
+}
+
+.dialog
+{
+ padding: 15px;
+ background-color: #F0F0F0;
+ margin: 10px;
+}
+.dialog table
+{
+ width: auto;
+}
+
+.columnHeader:link, .columnHeader:visited, .columnHeader:active
+{
+ color: white;
+ text-decoration: none;
+}
+
+.columnHeader:hover
+{
+ color: #FF6600;
+}
+
+.message {
+ border: 1px solid #FFCC00;
+ padding: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: #F0F0F0;
+}
+
+.prop {
+ padding: 5px;
+}
+.prop .name {
+ font-weight: bold;
+ text-align: left;
+ width: 115px;
+}
+.prop .value {
+ text-align: left;
+}
+.prop .errors {
+ color: red;
+ text-align: left;
+ font-size: 0.8em;
+}
+/*.value input {
+ width:190px;
+}*/
+.errors input {
+ border: 1px solid red;
+}
+.required {
+ color: red;
+}
+
+/* date picker style */
+div.seam-date
+{
+ width: 300px;
+ margin-top: 5px;
+ border: 1px solid #AAAAAA;
+ background-color: #FFFFFF;
+ color: #505050;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+}
+
+table.seam-date td {
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: 12px;
+ border: 0px;
+}
+
+.seam-date-monthNames
+{
+ width: 70px;
+ border: 1px solid #dddddd;
+ border-right: 3px solid #444444;
+ border-bottom: 3px solid #444444;
+ background-color: #ffffff;
+ font-size: 12px;
+ cursor: pointer;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: normal;
+}
+
+a.seam-date-monthNameLink, a.seam-date-monthNameLink:visited
+{
+ text-align: center;
+ display: block;
+ color: #555555;
+}
+
+a.seam-date-monthNameLink:hover
+{
+ background-color: #CCCCCC;
+ color: red;
+}
+
+.seam-date-years
+{
+ height: 10em;
+ overflow: auto;
+ width: 60px;
+ border: 1px solid #dddddd;
+ border-right: 3px solid #444444;
+ border-bottom: 3px solid #444444;
+ background-color: #ffffff;
+ font-size: 12px;
+ cursor: pointer;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: normal;
+}
+
+a.seam-date-yearLink, a.seam-date-yearLink:visited
+{
+ text-align: center;
+ display: block;
+ color: #555555;
+}
+
+a.seam-date-yearLink:hover
+{
+ background-color: #CCCCCC;
+ color: red;
+}
+
+tr.seam-date-header
+{
+ padding: 2px 0px 2px 0px;
+}
+
+td.seam-date-header
+{
+ padding: 0px 8px 0px 8px;
+ text-align: center;
+ color: gray;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 12px;
+}
+
+td.seam-date-header-prevMonth
+{
+ background-image: url("../img/cal-prev.png");
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 0px 2px 0px 2px;
+ width: 17px;
+ height: 16px;
+ margin-left: 2px;
+}
+
+td.seam-date-header-nextMonth
+{
+ background-image: url("../img/cal-next.png");
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 0px 2px 0px 2px;
+ width: 17px;
+ height: 16px;
+ margin-right: 2px;
+}
+
+tr.seam-date-headerDays
+{
+ color: white;
+ font-weight: normal;
+}
+
+tr.seam-date-headerDays > td
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ color: white;
+ text-align: center;
+ width: 26px;
+}
+
+tr.seam-date-footer
+{
+ background-color: white;
+ color: #505050;
+ font-weight: bold;
+}
+
+tr.seam-date-footer > td
+{
+ text-align: center;
+}
+
+td.seam-date-inMonth
+{
+ background-color: white;
+ color: black;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-outMonth
+{
+ background-color: white;
+ color: #999999;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-selected
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ color: black;
+ font-weight: normal;
+}
+
+td.seam-date-dayOff-inMonth
+{
+ background-color: #efefef;
+ color: black;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-dayOff-outMonth
+{
+ background-color: #efefef;
+ color: #999999;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-hover
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ cursor: pointer;
+ color: red;
+}
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,10 @@
+#File used by hibernate tools to override <datasource> and other container specific
settings in persistence.xml
+hibernate.connection.password=
+hibernate.connection.username=sa
+hibernate.connection.driver_class=org.hsqldb.jdbcDriver
+hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.connection.url=jdbc:hsqldb:dfdf
+
+hibernate.connection.provider_class
org.hibernate.connection.DriverManagerConnectionProvider
+hibernate.datasource=
+hibernate.transaction.manager_lookup_class=
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/import.sql
===================================================================
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,89 @@
+up=\u2191
+down=\u2193
+left=\u2039
+right=\u203A
+
+validator.assertFalse=validation failed
+validator.assertTrue=validation failed
+validator.future=must be a future date
+validator.length=length must be between {min} and {max}
+validator.max=must be less than or equal to {value}
+validator.min=must be greater than or equal to {value}
+validator.notNull=may not be null
+validator.past=must be a past date
+validator.pattern=must match "{regex}"
+validator.range=must be between {min} and {max}
+validator.size=size must be between {min} and {max}
+validator.email=must be a well-formed email address
+
+org.jboss.seam.loginFailed=Login failed
+org.jboss.seam.loginSuccessful=Welcome, #0
+
+org.jboss.seam.TransactionFailed=Transaction failed
+org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another
request
+org.jboss.seam.IllegalNavigation=Illegal navigation
+org.jboss.seam.ProcessEnded=Process #0 already ended
+org.jboss.seam.ProcessNotFound=Process #0 not found
+org.jboss.seam.TaskEnded=Task #0 already ended
+org.jboss.seam.TaskNotFound=Task #0 not found
+org.jboss.seam.NotLoggedIn=Please log in first
+
+javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected
type
+javax.faces.component.UIInput.REQUIRED=value is required
+javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted
information
+javax.faces.component.UISelectOne.INVALID=value is not valid
+javax.faces.component.UISelectMany.INVALID=value is not valid
+
+javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number
+javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal
number consisting of zero or more digits, optionally followed by a decimal point and
fraction, eg. {1}
+javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be a number
+javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed
integer number consisting of zero or more digits
+javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false
+javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any
value other than true will evaluate to false)
+javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255
+javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255
+javax.faces.converter.CharacterConverter.CHARACTER=value must be a character
+javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII
character
+javax.faces.converter.DateTimeConverter.DATE=value must be a date
+javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
+javax.faces.converter.DateTimeConverter.TIME=value must be a time
+javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
+javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
+javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time,
eg. {1}
+javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be
specified to convert the value
+javax.faces.converter.DoubleConverter.DOUBLE=value must be a number
+javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between
4.9E-324 and 1.7976931348623157E308
+javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum
+javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or
from the enum that contains the constant {1}
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or
from the enum, but no enum class provided
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an
enum or from the enum, but no enum class provided
+javax.faces.converter.FloatConverter.FLOAT=value must be a number
+javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45
and 3.4028235E38
+javax.faces.converter.IntegerConverter.INTEGER=value must be a number
+javax.faces.converter.IntegerConverter.INTEGER_detail=value must be a number between
-2147483648 and 2147483647
+javax.faces.converter.LongConverter.LONG=value must be a number
+javax.faces.converter.LongConverter.LONG_detail=must be a number between
-9223372036854775808 and 9223372036854775807
+javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount
+javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount,
eg. {1}
+javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount
+javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount,
eg. {1}
+javax.faces.converter.NumberConverter.NUMBER=value must be a number
+javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number
+javax.faces.converter.NumberConverter.PATTERN=value must be a number
+javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number
+javax.faces.converter.ShortConverter.SHORT=value must be a number
+javax.faces.converter.ShortConverter.SHORT_detail=value must be a number between -32768
and 32767
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and
{1}
+javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type
+javax.faces.validator.LengthValidator.MAXIMUM=value is must be shorter than or equal to
{0} characters
+javax.faces.validator.LengthValidator.MINIMUM=value is must be longer than or equal to
{0} characters
+javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type
+
+javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.converter.STRING=value could not be converted to a string
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/seam.properties
===================================================================
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp-ear</name>
+ <comment></comment>
+ <projects>
+ <project>lamp-ejb</project>
+ <project>lamp</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ </natures>
+</projectDescription>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="lamp">
+<wb-resource deploy-path="/" source-path="/EarContent"/>
+<dependent-module deploy-path="/"
handle="module:/resource/lamp-ejb/lamp-ejb">
+<dependency-type>uses</dependency-type>
+</dependent-module>
+<dependent-module deploy-path="/"
handle="module:/resource/lamp/lamp">
+<dependency-type>uses</dependency-type>
+</dependent-module>
+</wb-module>
+</project-modules>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 runtime"/>
+ <fixed facet="jst.ear"/>
+ <installed facet="jst.ear" version="5.0"/>
+</faceted-project>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd"
+ version="5">
+
+ <display-name>t2</display-name>
+
+ <module>
+ <web>
+ <web-uri>lamp.war</web-uri>
+ <context-root>/lamp</context-root>
+ </web>
+ </module>
+
+ <module>
+ <ejb>lamp-ejb.jar</ejb>
+ </module>
+
+ <!-- Seam and EL -->
+ <module>
+ <java>jboss-seam.jar</java>
+ </module>
+
+ <!-- jBPM -->
+ <module>
+ <java>jbpm-3.1.4.jar</java>
+ </module>
+
+ <!-- Drools and dependencies -->
+ <module>
+ <java>drools-core-3.0.5.jar</java>
+ </module>
+ <module>
+ <java>drools-compiler-3.0.5.jar</java>
+ </module>
+ <module>
+ <java>janino-2.4.3.jar</java>
+ </module>
+ <module>
+ <java>antlr-2.7.6.jar</java>
+ </module>
+ <module>
+ <java>antlr-3.0ea8.jar</java>
+ </module>
+ <module>
+ <java>commons-jci-core-1.0-406301.jar</java>
+ </module>
+ <module>
+ <java>commons-jci-janino-2.4.3.jar</java>
+ </module>
+ <module>
+ <java>stringtemplate-2.3b6.jar</java>
+ </module>
+
+</application>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,5 @@
+<jboss-app>
+ <loader-repository>
+ seam.jboss.org:loader=lamp
+ </loader-repository>
+</jboss-app>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-2.7.6.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-2.7.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-3.0ea8.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-3.0ea8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-compiler-3.0.5.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-compiler-3.0.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-core-3.0.5.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-core-3.0.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/janino-2.4.3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/janino-2.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jboss-seam.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jboss-seam.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jbpm-3.1.4.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jbpm-3.1.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/stringtemplate-2.3b6.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/stringtemplate-2.3b6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con"
path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.generic.runtimeTarget/"/>
+ <classpathentry exported="true" kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_12"/>
+ <classpathentry kind="con"
path="org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer/JBoss
4.2 runtime"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ </natures>
+</projectDescription>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,7 @@
+#Thu Jul 19 17:20:50 PDT 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,4 @@
+#Fri Aug 24 14:33:09 CEST 2007
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_12/owners=jst.java\:5.0
+classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer\:\:JBoss\
4.2\ runtime/owners=jst.ejb\:3.0
+eclipse.preferences.version=1
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="lamp-ejb">
+<wb-resource deploy-path="/" source-path="/ejbModule"/>
+<wb-resource deploy-path="/" source-path="/src"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 runtime"/>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.ejb"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.ejb" version="3.0"/>
+</faceted-project>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,4 @@
+#Fri Feb 23 14:56:36 CET 2007
+default.configuration=lamp
+eclipse.preferences.version=1
+hibernate3.enabled=true
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Hibernate Console launch configuration -->
+<launchConfiguration
type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType">
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
value="lamp"/>
+<stringAttribute key="org.hibernate.eclipse.launch.PROPERTY_FILE"
value="/lamp/hibernate-console.properties"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY"
value="JPA"/>
+</launchConfiguration>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Class-Path: antlr-2.7.6.jar
+ antlr-3.0ea8.jar
+ commons-collections-3.1.jar
+ commons-jci-core-1.0-406301.jar
+ commons-jci-janino-2.4.3.jar
+ drools-compiler-3.0.5.jar
+ drools-core-3.0.5.jar
+ janino-2.4.3.jar
+ jboss-seam.jar
+ jbpm-3.1.4.jar
+ lamp-ejb.jar
+ stringtemplate-2.3b6.jar
+
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
+ version="3.0">
+
+ <interceptors>
+ <interceptor>
+
<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor>
+ </interceptors>
+
+ <assembly-descriptor>
+ <interceptor-binding>
+ <ejb-name>*</ejb-name>
+
<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor-binding>
+ </assembly-descriptor>
+
+</ejb-jar>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Persistence deployment descriptor for dev profile -->
+<persistence
xmlns="http://java.sun.com/xml/ns/persistence"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="lamp">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <jta-data-source>java:/lampDatasource</jta-data-source>
+ <properties>
+ <property name="hibernate.hbm2ddl.auto"
value="${hibernate.hbm2ddl.auto}"/>
+ <property name="hibernate.cache.use_query_cache"
value="true"/>
+ <property name="hibernate.show_sql" value="true"/>
+ <property name="jboss.entity.manager.factory.jndi.name"
value="java:/lampEntityManagerFactory"/>
+ </properties>
+ </persistence-unit>
+
+</persistence>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/import.sql
===================================================================
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,26 @@
+package org.domain.lamp.session;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.security.Identity;
+
+
+@Name("authenticator")
+public class Authenticator
+{
+ @Logger Log log;
+
+ @In Identity identity;
+
+ public boolean authenticate()
+ {
+ log.info("authenticating #0", identity.getUsername());
+ //write your authentication logic here,
+ //return true if the authentication was
+ //successful, false otherwise
+ identity.addRole("admin");
+ return true;
+ }
+}
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,48 @@
+package org.domain.lamp.session;
+
+import javax.ejb.Remove;
+import javax.ejb.Stateful;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+import org.hibernate.validator.Length;
+
+@Stateful
+@Name("form")
+public class FormBean implements IForm {
+
+ @Logger private Log log;
+
+ @In
+ FacesMessages facesMessages;
+
+ private String value;
+
+ //seam-gen method
+ public String form()
+ {
+ //implement your business logic here
+ log.info("form.form() action called with: #{form.value}");
+ facesMessages.add("form #{form.value}");
+ return "success";
+ }
+
+ //add additional action methods
+
+ @Length(max=10)
+ public String getValue()
+ {
+ return value;
+ }
+
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
+ @Destroy @Remove
+ public void destroy() {}
+}
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,15 @@
+package org.domain.lamp.session;
+
+import javax.ejb.Local;
+
+@Local
+public interface IForm {
+
+ //seam-gen methods
+ public String form();
+ public String getValue();
+ public void setValue(String value);
+ public void destroy();
+
+ //add additional interface methods here
+}
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,28 @@
+package org.domain.lamp.session;
+
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+@Name("ping")
+public class Ping {
+
+ @Logger private Log log;
+
+ @In
+ FacesMessages facesMessages;
+
+ //seam-gen method
+ public String ping()
+ {
+ //implement your business logic here
+ log.info("ping.ping() action called");
+ facesMessages.add("ping");
+ return "success";
+ }
+
+ //add additional action methods
+
+}
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/seam.properties
===================================================================
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/test"/>
+ <classpathentry kind="src" path="embedded-ejb/conf"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src"
path="/lamp"/>
+ <classpathentry combineaccessrules="false" kind="src"
path="/lamp-ejb"/>
+ <classpathentry kind="lib"
path="lib/testng-4.5.1-jdk15.jar"/>
+ <classpathentry kind="lib" path="lib/myfaces-api-1.1.4.jar"/>
+ <classpathentry kind="lib"
path="lib/myfaces-impl-1.1.4.jar"/>
+ <classpathentry kind="lib" path="lib/servlet-api.jar"/>
+ <classpathentry kind="lib" path="lib/hibernate-all.jar"/>
+ <classpathentry kind="lib" path="lib/jboss-ejb3-all.jar"/>
+ <classpathentry kind="lib" path="lib/thirdparty-all.jar"/>
+ <classpathentry kind="lib" path="lib/el-api.jar"/>
+ <classpathentry kind="lib" path="lib/el-ri.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp-test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,17 @@
+hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
+#hibernate.connection.release_mode=after_statement
+#hibernate.transaction.flush_before_completion=false
+#hibernate.transaction.auto_close_session=false
+#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
+#hibernate.hbm2ddl.auto=create-drop
+#hibernate.hbm2ddl.auto=create
+hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
+# Clustered cache with TreeCache
+#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
+#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
+#hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+hibernate.bytecode.use_reflection_optimizer=false
+# I don't think this is honored, but EJB3Deployer uses it
+hibernate.bytecode.provider=javassist
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,376 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE aop PUBLIC
+ "-//JBoss//DTD JBOSS AOP 1.0//EN"
+ "http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd">
+
+<aop>
+ <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor"
scope="PER_VM"/>
+ <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor"
scope="PER_VM"/>
+ <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor"
scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor"
scope="PER_VM"/>
+ <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor"
scope="PER_VM"/>
+
+ <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor"
scope="PER_VM"/>
+
+ <stack name="ServiceClientInterceptors">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="AsynchronousStatelessSessionClientInterceptors">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="AsynchronousStatefulSessionClientInterceptors">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="StatelessSessionClientInterceptors">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="StatefulSessionClientInterceptors">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="ClusteredStatelessSessionClientInterceptors">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="ClusteredStatefulSessionClientInterceptors">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"
scope="PER_CLASS"/>
+ <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor"
scope="PER_VM"/>
+ <interceptor name="Basic Authorization"
factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory"
scope="PER_CLASS"/>
+ <interceptor name="JACC Authorization"
factory="org.jboss.ejb3.security.JaccAuthorizationInterceptorFactory"
scope="PER_CLASS"/>
+ <interceptor
factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory"
scope="PER_CLASS"/>
+ <interceptor
factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"
scope="PER_CLASS"/>
+ <interceptor
class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"
scope="PER_VM"/>
+ <interceptor
class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"
scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"
scope="PER_VM"/>
+ <interceptor
class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"
scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor"
scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor"
scope="PER_VM"/>
+ <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory"
scope="PER_CLASS_JOINPOINT"/>
+ <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory"
scope="PER_CLASS_JOINPOINT"/>
+ <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"
scope="PER_CLASS_JOINPOINT"/>
+ <interceptor
factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"
scope="PER_CLASS"/>
+ <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor"
scope="PER_VM"/>
+ <interceptor
factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"
scope="PER_CLASS"/>
+ <interceptor
class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"
scope="PER_VM"/>
+
+ <domain name="Stateless Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class,
maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="JACC Stateless Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="JACC Authorization"/>
+ </bind>
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class,
maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Base Stateful Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public *
$instanceof{javax.ejb.SessionSynchronization}->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+
+ <bind pointcut="execution(public *
@org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public *
*->@javax.ejb.Remove(..))">
+ <interceptor-ref
name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class,
maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Stateful Bean" extends="Base Stateful Bean"
inheritBindings="true">
+ <!-- NON Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND
!class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache
(org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+ </annotation>
+ <annotation
expr="!class((a)org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND
!class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.PersistenceManager
(org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+ </annotation>
+ <annotation
expr="!class((a)org.jboss.annotation.ejb.cache.simple.CacheConfig) AND
!class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000,
idleTimeoutSeconds=300)
+ </annotation>
+
+ <!-- Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND
class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache
(org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.tree.CacheConfig)
AND class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.tree.CacheConfig
(name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000,
idleTimeoutSeconds=300)
+ </annotation>
+ </domain>
+
+ <domain name="JACC Stateful Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="JACC Authorization"/>
+ </bind>
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+ <interceptor-ref
name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public *
$instanceof{javax.ejb.SessionSynchronization}->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+
+ <bind pointcut="execution(public *
@org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public *
*->@javax.ejb.Remove(..))">
+ <interceptor-ref
name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class,
maxSize=30, timeout=10000)
+ </annotation>
+
+ <!-- NON Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND
!class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache
(org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+ </annotation>
+ <annotation
expr="!class((a)org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND
!class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.PersistenceManager
(org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+ </annotation>
+ <annotation
expr="!class((a)org.jboss.annotation.ejb.cache.simple.CacheConfig) AND
!class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000,
idleTimeoutSeconds=300)
+ </annotation>
+
+ <!-- Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND
class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache
(org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.tree.CacheConfig)
AND class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.tree.CacheConfig
(name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000,
idleTimeoutSeconds=300)
+ </annotation>
+ </domain>
+
+ <domain name="Embedded Stateful Bean" extends="Base Stateful
Bean" inheritBindings="true">
+ <!-- NON Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache)">
+ @org.jboss.annotation.ejb.cache.Cache
(org.jboss.ejb3.cache.NoPassivationCache.class)
+ </annotation>
+
+ </domain>
+
+ <domain name="Message Driven Bean">
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class,
maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Message Inflow Driven Bean">
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class,
maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Consumer Bean">
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..)) AND (has(*
*->@org.jboss.annotation.ejb.CurrentMessage(..)) OR hasfield(*
*->(a)org.jboss.annotation.ejb.CurrentMessage))">
+ <interceptor-ref
name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class,
maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Service Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ </bind>
+ <bind pointcut="!execution(* *->create()) AND !execution(*
*->start()) AND !execution(*->new(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..)) AND !execution(*
*->create()) AND !execution(* *->start())">
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ </domain>
+
+ <domain name="JACC Service Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ </bind>
+ <bind pointcut="!execution(* *->create()) AND !execution(*
*->start()) AND !execution(*->new(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public *
@org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public *
@javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref
name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref
name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref
name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref
name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..)) AND !execution(*
*->create()) AND !execution(* *->start())">
+ <interceptor-ref
name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ </domain>
+
+
+</aop>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
+ xmlns="urn:jboss:bean-deployer">
+ <bean name="Naming"
class="org.jnp.server.SingletonNamingServer"/>
+
+ <bean name="InitialContextProperties"
class="java.util.Hashtable">
+ <constructor>
+ <parameter class="java.util.Map">
+ <map keyClass="java.lang.String"
valueClass="java.lang.String">
+ <entry>
+ <key>java.naming.factory.initial</key>
+ <value>org.jnp.interfaces.LocalOnlyContextFactory</value>
+ </entry>
+ <entry>
+ <key>java.naming.factory.url.pkgs</key>
+ <value>org.jboss.naming:org.jnp.interfaces</value>
+ </entry>
+ </map>
+ </parameter>
+ </constructor>
+ </bean>
+
+ <bean name="java:comp/Initializer"
class="org.jboss.ejb3.embedded.JavaCompInitializer">
+ <property name="jndiProperties"><inject
bean="InitialContextProperties"/></property>
+ </bean>
+
+ <bean name="XidFactory"
class="org.jboss.tm.XidFactoryImpl"/>
+
+ <bean name="XidFactoryMBean"
class="org.jboss.ejb3.embedded.XidFactoryMBean">
+ <constructor>
+ <parameter class="org.jboss.tm.XidFactoryBase">
+ <inject bean="XidFactory"/>
+ </parameter>
+ </constructor>
+ </bean>
+
+ <bean name="TransactionManagerInitializer"
class="org.jboss.tm.TransactionManagerInitializer">
+ <property name="xidFactory"><inject
bean="XidFactory"/></property>
+ <property name="initialContextProperties"><inject
bean="InitialContextProperties"/></property>
+ </bean>
+
+ <bean name="UserTransaction"
class="org.jboss.ejb3.embedded.UserTransactionImpl">
+ <demand>TransactionManagerInitializer</demand>
+ </bean>
+
+ <bean name="UserTransactionBinding"
class="org.jboss.ejb3.embedded.JndiBinder">
+ <property name="jndiProperties"><inject
bean="InitialContextProperties"/></property>
+ <property name="target"><inject
bean="UserTransaction"/></property>
+ <property name="bindTo">UserTransaction</property>
+ <property name="serializable">false</property>
+ </bean>
+
+
+ <bean name="TransactionManager" class="java.lang.Object">
+ <constructor factoryMethod="getTransactionManager">
+ <factory bean="TransactionManagerInitializer"/>
+ </constructor>
+ </bean>
+ <bean name="CachedConnectionManager"
class="org.jboss.resource.connectionmanager.CachedConnectionManagerReference">
+ <property name="transactionManager"><inject
bean="TransactionManager"/></property>
+ </bean>
+
+ <!--
+ <bean class="org.jboss.jdbc.HypersonicDatabase"
+ name="jboss:service=Hypersonic,database=localDB">
+ <property name="database">localDB</property>
+ <property name="inProcessMode">true</property>
+ <property name="dbDataDir">.</property>
+ </bean>
+ -->
+
+ <bean name="DefaultDSBootstrap"
class="org.jboss.resource.adapter.jdbc.local.LocalTxDataSource">
+ <property
name="driverClass">org.hsqldb.jdbcDriver</property>
+ <property name="connectionURL">jdbc:hsqldb:.</property>
+ <!-- <property
name="connectionURL">jdbc:hsqldb:./hypersonic/localDB</property>
-->
+ <property name="userName">sa</property>
+ <property name="jndiName">java:/DefaultDS</property>
+ <property name="minSize">0</property>
+ <property name="maxSize">10</property>
+ <property name="blockingTimeout">1000</property>
+ <property name="idleTimeout">100000</property>
+ <property name="transactionManager"><inject
bean="TransactionManager"/></property>
+ <property name="cachedConnectionManager"><inject
bean="CachedConnectionManager"/></property>
+ <property name="initialContextProperties"><inject
bean="InitialContextProperties"/></property>
+ </bean>
+
+ <bean name="DefaultDS" class="java.lang.Object">
+ <constructor factoryMethod="getDatasource">
+ <factory bean="DefaultDSBootstrap"/>
+ </constructor>
+ </bean>
+
+
+</deployment>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
+ xmlns="urn:jboss:bean-deployer">
+ <bean name="jboss.mq:service=JMSProviderLoader,name=JMSProvider"
class="org.jboss.jms.jndi.JNDIProviderAdapter">
+ <property
name="factoryRef">java:/XAConnectionFactory</property>
+ <property
name="queueFactoryRef">java:/XAConnectionFactory</property>
+ <property
name="topicFactoryRef">java:/XAConnectionFactory</property>
+ <property name="properties"
class="java.util.Properties">
+ <map keyClass="java.lang.String"
valueClass="java.lang.String">
+ <entry>
+ <key>java.naming.factory.initial</key>
+
<value>org.jnp.interfaces.LocalOnlyContextFactory</value>
+ </entry>
+ <entry>
+ <key>java.naming.factory.url.pkgs</key>
+ <value>org.jboss.naming:org.jnp.interfaces</value>
+ </entry>
+ </map>
+ </property>
+ </bean>
+
+ <bean name="b1" class="org.jboss.ejb3.embedded.JndiBinder">
+ <property name="jndiProperties"><inject
bean="InitialContextProperties"/></property>
+ <property name="target"><inject
bean="jboss.mq:service=JMSProviderLoader,name=JMSProvider"/></property>
+ <property name="bindTo">java:/DefaultJMSProvider</property>
+ <property name="serializable">true</property>
+ </bean>
+
+ <bean name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool"
class="org.jboss.jms.asf.StdServerSessionPoolFactory">
+ <property name="name">StdJMSPool</property>
+ <property name="xidFactory"><inject
bean="XidFactoryMBean"/></property>
+ <property name="transactionManager"><inject
bean="TransactionManager"/></property>
+ </bean>
+
+ <bean name="b2" class="org.jboss.ejb3.embedded.JndiBinder">
+ <property name="jndiProperties"><inject
bean="InitialContextProperties"/></property>
+ <property name="target"><inject
bean="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool"/></property>
+ <property name="bindTo">java:/StdJMSPool</property>
+ <property name="serializable">false</property>
+ </bean>
+
+
+ <bean name="jboss.mq:service=PersistenceManager"
class="org.jboss.mq.kernel.JDBC2PersistenceManager">
+ <property name="transactionManager">
+ <inject bean="TransactionManager"/>
+ </property>
+ <property name="datasource">
+ <inject bean="DefaultDS"/>
+ </property>
+ <property name="sqlProperties">
+
+ BLOB_TYPE=OBJECT_BLOB
+ INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+ INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION,
MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+ SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+ SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
+ SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES
WHERE DESTINATION=?
+ SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE
MESSAGEID=? AND DESTINATION=?
+ MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND
DESTINATION=?
+ UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND
DESTINATION=?
+ UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+ UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE
TXOP=? AND TXID=?
+ DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND
JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS)
+ DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+ DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+ DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND
DESTINATION=?
+ CREATE_MESSAGE_TABLE = CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER
NOT NULL, \
+ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \
+ MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
+ CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON
JMS_MESSAGES (TXOP, TXID)
+ CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON
JMS_MESSAGES (DESTINATION)
+ CREATE_TX_TABLE = CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER,
PRIMARY KEY (TXID) )
+ CREATE_TABLES_ON_STARTUP = TRUE
+ DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+
+ </property>
+ </bean>
+
+ <bean name="jboss.mq:service=MessageCache"
class="org.jboss.mq.kernel.MessageCache">
+ <property name="persistenceManager"><inject
bean="jboss.mq:service=PersistenceManager"/></property>
+ <property name="highMemoryMark">50</property>
+ <property name="maxMemoryMark">60</property>
+ </bean>
+
+ <bean name="jboss.mq:service=StateManager"
class="org.jboss.mq.kernel.JDBCStateManager">
+ <property name="transactionManager">
+ <inject bean="TransactionManager"/>
+ </property>
+ <property name="datasource">
+ <inject bean="DefaultDS"/>
+ </property>
+ <property name="sqlProperties">
+
+ CREATE_TABLES_ON_STARTUP = TRUE
+ CREATE_USER_TABLE = CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT NULL,
PASSWD VARCHAR(32) NOT NULL, \
+ CLIENTID VARCHAR(128), PRIMARY
KEY(USERID))
+ CREATE_ROLE_TABLE = CREATE TABLE JMS_ROLES (ROLEID VARCHAR(32) NOT NULL,
USERID VARCHAR(32) NOT NULL, \
+ PRIMARY KEY(USERID, ROLEID))
+ CREATE_SUBSCRIPTION_TABLE = CREATE TABLE JMS_SUBSCRIPTIONS (CLIENTID
VARCHAR(128) NOT NULL, \
+ SUBNAME VARCHAR(128) NOT NULL,
TOPIC VARCHAR(255) NOT NULL, \
+ SELECTOR VARCHAR(255), PRIMARY
KEY(CLIENTID, SUBNAME))
+ GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE
CLIENTID=? AND SUBNAME=?
+ LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE
CLIENTID=? AND SUBNAME=?
+ GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM
JMS_SUBSCRIPTIONS WHERE TOPIC=?
+ INSERT_SUBSCRIPTION = INSERT INTO JMS_SUBSCRIPTIONS (CLIENTID, SUBNAME,
TOPIC, SELECTOR) VALUES(?,?,?,?)
+ UPDATE_SUBSCRIPTION = UPDATE JMS_SUBSCRIPTIONS SET TOPIC=?, SELECTOR=? WHERE
CLIENTID=? AND SUBNAME=?
+ REMOVE_SUBSCRIPTION = DELETE FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND
SUBNAME=?
+ GET_USER_BY_CLIENTID = SELECT USERID, PASSWD, CLIENTID FROM JMS_USERS WHERE
CLIENTID=?
+ GET_USER = SELECT PASSWD, CLIENTID FROM JMS_USERS WHERE USERID=?
+ POPULATE.TABLES.01 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES
('guest', 'guest')
+ POPULATE.TABLES.02 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES
('j2ee', 'j2ee')
+ POPULATE.TABLES.03 = INSERT INTO JMS_USERS (USERID, PASSWD, CLIENTID) VALUES
('john', 'needle', 'DurableSubscriberExample')
+ POPULATE.TABLES.04 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES
('nobody', 'nobody')
+ POPULATE.TABLES.05 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES
('dynsub', 'dynsub')
+ POPULATE.TABLES.06 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('guest','guest')
+ POPULATE.TABLES.07 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('j2ee','guest')
+ POPULATE.TABLES.08 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('john','guest')
+ POPULATE.TABLES.09 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('subscriber','john')
+ POPULATE.TABLES.10 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('publisher','john')
+ POPULATE.TABLES.11 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('publisher','dynsub')
+ POPULATE.TABLES.12 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('durpublisher','john')
+ POPULATE.TABLES.13 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('durpublisher','dynsub')
+ POPULATE.TABLES.14 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES
('noacc','nobody')
+
+ </property>
+ </bean>
+
+
+ <bean name="BasicQueueParameters"
class="org.jboss.mq.server.BasicQueueParameters"/>
+
+ <bean name="jboss.mq:service=ThreadPool"
class="org.jboss.util.threadpool.BasicThreadPool">
+ <property name="name">JMSThread</property>
+ <property name="threadGroupName">JBossMQ Server
Threads</property>
+ <!-- The max number of threads in the pool -->
+ <property name="maximumPoolSize">10</property>
+ <!-- The max number of tasks before the queue is full -->
+ <property name="maximumQueueSize">1000</property>
+ <!-- The behavior of the pool when a task is added and the queue is full.
+ abort - a RuntimeException is thrown
+ run - the calling thread executes the task
+ wait - the calling thread blocks until the queue has room
+ discard - the task is silently discarded without being run
+ discardOldest - check to see if a task is about to complete and enque
+ the new task if possible, else run the task in the calling thread
+ -->
+ <property name="blockingModeString">run</property>
+ </bean>
+
+ <bean name="jboss.mq:service=DestinationManager"
class="org.jboss.mq.server.JMSDestinationManager">
+ <constructor>
+ <parameter class="org.jboss.mq.server.BasicQueueParameters">
+ <inject bean="BasicQueueParameters"/>
+ </parameter>
+ </constructor>
+ <property name="persistenceManager"><inject
bean="jboss.mq:service=PersistenceManager"/></property>
+ <property name="messageCache"><inject
bean="jboss.mq:service=MessageCache"/></property>
+ <property name="stateManager"><inject
bean="jboss.mq:service=StateManager"/></property>
+ <property name="threadPool"><inject
bean="jboss.mq:service=ThreadPool"/></property>
+ <property name="threadGroup"><inject
bean="jboss.mq:service=ThreadPool"
property="threadGroup"/></property>
+ <start method="startServer"/>
+ <stop method="stopServer"/>
+ </bean>
+
+ <bean name="jboss.mq.destination:service=Queue,name=DLQ"
class="org.jboss.mq.kernel.Queue">
+ <property name="destinationManagerPojo"><inject
bean="jboss.mq:service=DestinationManager"/></property>
+ <property name="initialContextProperties"><inject
bean="InitialContextProperties"/></property>
+ <property name="destinationName">DLQ</property>
+ </bean>
+
+ <bean name="jboss.mq:service=Invoker"
class="org.jboss.mq.server.JMSServerInvoker">
+ <property name="next"><inject
bean="jboss.mq:service=DestinationManager"/></property>
+ </bean>
+
+ <bean name="jboss.mq:service=InvocationLayer,type=JVM"
class="org.jboss.mq.kernel.JVMIL">
+ <property name="jmsInvoker"><inject
bean="jboss.mq:service=Invoker"/></property>
+ <property
name="connectionFactoryJNDIRef">java:/ConnectionFactory</property>
+ <property
name="xAConnectionFactoryJNDIRef">java:/XAConnectionFactory</property>
+ <property name="pingPeriod">0</property>
+ <property name="initialContextProperties"><inject
bean="InitialContextProperties"/></property>
+ </bean>
+
+</deployment>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,2 @@
+java.naming.factory.initial org.jnp.interfaces.LocalOnlyContextFactory
+java.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.9 2006/07/04 01:14:18 gavin Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite:
http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">
+
+ <appender name="CONSOLE"
class="org.apache.log4j.ConsoleAppender">
+ <errorHandler
class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p
[%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!--
+ <category name="org.hibernate">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ <category name="org.jboss.seam">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ <category name="org.jboss.ejb3">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ <category name="org.jboss.kernel">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <root>
+ <priority value="INFO"/>
+ <appender-ref ref="CONSOLE"/>
+ </root>
+
+</log4j:configuration>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,63 @@
+<?xml version='1.0'?>
+
+<!DOCTYPE policy PUBLIC
+ "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+ "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+
+<!-- The XML based JAAS login configuration read by the
+org.jboss.security.auth.login.XMLLoginConfig mbean. Add
+an application-policy element for each security domain.
+
+The outline of the application-policy is:
+<application-policy name="security-domain-name">
+ <authentication>
+ <login-module code="login.module1.class.name"
flag="control_flag">
+ <module-option name =
"option1-name">option1-value</module-option>
+ <module-option name =
"option2-name">option2-value</module-option>
+ ...
+ </login-module>
+
+ <login-module code="login.module2.class.name"
flag="control_flag">
+ ...
+ </login-module>
+ ...
+ </authentication>
+</application-policy>
+
+$Revision: 1.1 $
+-->
+
+<policy>
+ <!-- Used by clients within the application server VM such as
+ mbeans and servlets that access EJBs.
+ -->
+ <application-policy name="client-login">
+ <authentication>
+ <login-module code="org.jboss.security.ClientLoginModule"
+ flag="required">
+ <!-- Any existing security context will be restored on logout -->
+ <module-option
name="restore-login-identity">true</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+
+ <application-policy name="other">
+ <!-- A simple server login module, which can be used when the number
+ of users is relatively small. It uses two properties files:
+ users.properties, which holds users (key) and their password (value).
+ roles.properties, which holds users (key) and a comma-separated list of
+ their roles (value).
+ The unauthenticatedIdentity property defines the name of the principal
+ that will be used when a null username and password are presented as is
+ the case for an unuathenticated web client or MDB. If you want to
+ allow such users to be authenticated add the property, e.g.,
+ unauthenticatedIdentity="nobody"
+ -->
+ <authentication>
+ <login-module
code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required"/>
+ </authentication>
+ </application-policy>
+
+</policy>
+
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
+ xmlns="urn:jboss:bean-deployer">
+
+ <bean class="org.jboss.ejb3.embedded.JaasSecurityManagerService"
+ name="jboss.security:service=JaasSecurityManager">
+ <property name="initialContextProperties">
+ <inject bean="InitialContextProperties"/>
+ </property>
+ </bean>
+</deployment>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-api.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-api.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-ri.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-ri.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/hibernate-all.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/hibernate-all.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/jboss-ejb3-all.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/jboss-ejb3-all.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-api-1.1.4.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-api-1.1.4.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-impl-1.1.4.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-impl-1.1.4.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/servlet-api.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/servlet-api.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/testng-4.5.1-jdk15.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/testng-4.5.1-jdk15.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/thirdparty-all.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/thirdparty-all.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+
+<suite name="Ping Tests" verbose="2"
parallel="false">
+ <test name="Ping Test">
+ <classes>
+ <class name="org.domain.lamp.session.PingTest"/>
+ </classes>
+ </test>
+</suite>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,26 @@
+package org.domain.lamp.session;
+
+import org.testng.annotations.Test;
+import org.jboss.seam.mock.SeamTest;
+
+public class PingTest extends SeamTest {
+
+ @Test
+ public void test() throws Exception {
+ new FacesRequest() {
+ @Override
+ protected void updateModelValues() throws Exception {
+ //set form input to model attributes
+ }
+ @Override
+ protected void invokeApplication() {
+ //call action methods here
+ invokeMethod("#{ping.ping}");
+ }
+ @Override
+ protected void renderResponse() {
+ //check model attributes if needed
+ }
+ }.run();
+ }
+}
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,79 @@
+<html>
+<head>
+<title>TestNG: Ping Test</title>
+<link href="../testng.css" rel="stylesheet"
type="text/css" />
+<link href="../my-testng.css" rel="stylesheet"
type="text/css" />
+
+<style type="text/css">
+.log { display: none;}
+.stack-trace { display: none;}
+</style>
+<script type="text/javascript">
+<!--
+function flip(e) {
+ current = e.style.display;
+ if (current == 'block') {
+ e.style.display = 'none';
+ }
+ else {
+ e.style.display = 'block';
+ }
+}
+
+function toggleBox(szDivId)
+{
+ if (document.getElementById) {
+ flip(document.getElementById(szDivId));
+ }
+ else if (document.all) {
+ // this is the way old msie versions work
+ var style2 = document.all[szDivId].style;
+ style2.display = style2.display? "":"block";
+ }
+
+}
+
+function toggleAllBoxes() {
+ if (document.getElementsByTagName) {
+ d = document.getElementsByTagName('div');
+ for (i = 0; i < d.length; i++) {
+ if (d[i].className == 'log') {
+ flip(d[i]);
+ }
+ }
+ }
+}
+
+// -->
+</script>
+
+</head>
+<body>
+<h2 align='center'>Ping Test</h2><table border='1'
align="center">
+<tr>
+<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td>
+</tr><tr>
+<td>Started on:</td><td>Mon Aug 27 11:54:02 CEST 2007</td>
+</tr>
+<tr><td>Total time:</td><td>2 seconds (2893 ms)</td>
+</tr><tr>
+<td>Included groups:</td><td></td>
+</tr><tr>
+<td>Excluded groups:</td><td></td>
+</tr>
+</table><p/>
+<small><i>(Hover the method name to see the test class
name)</i></small><p/>
+<table width='100%' border='1' class='invocation-passed'>
+<tr><td colspan='3' align='center'><b>PASSED
TESTS</b></td></tr>
+<tr><td><b>Test method</b></td>
+<td width="10%"><b>Time (seconds)</b></td>
+<td width="30%"><b>Exception</b></td>
+</tr>
+<tr>
+<td title='org.domain.lamp.session.PingTest.test()'>test</td>
+<td>0</td>
+<td></td>
+</tr>
+</table><p>
+</body>
+</html>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.properties
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.properties (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.properties 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+[SuiteResult Ping Test]
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.xml (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/Ping Test.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite name="Ping Test" failures="0" tests="1"
time="2.893" errors="0">
+ <properties/>
+ <testcase name="test" time="0.304"
classname="org.domain.lamp.session.PingTest"/>
+</testsuite>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/classes.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/classes.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/classes.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,44 @@
+<table border='1'>
+<tr>
+<th>Class name</th>
+<th>Method name</th>
+<th>Groups</th>
+</tr><tr>
+<td>org.domain.lamp.session.PingTest</td>
+<td> </td><td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td> </td>
+<td>test</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td> </td>
+<td>init</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td> </td>
+<td>begin</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td> </td>
+<td>end</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+<tr>
+<td> </td>
+<td>cleanup</td>
+<td> </td></tr>
+</table>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/groups.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/groups.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/groups.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+<h2>Groups used for this test run</h2>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/index.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/index.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/index.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+<html><head><title>Results for Ping Tests</title></head>
+<frameset cols="26%,74%">
+<frame src="toc.html" name="navFrame">
+<frame src="main.html" name="mainFrame">
+</frameset>
+</html>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/main.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/main.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/main.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,2 @@
+<html><head><title>Results for Ping Tests</title></head>
+<body>Select a result on the left-hand pane.</body></html>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-alphabetical.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-alphabetical.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-alphabetical.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+<h2>Methods run, sorted chronologically</h2><h3>>> means
before, << means after</h3><p/><br/><em>Ping
Tests</em><p/><small><i>(Hover the method name to see the test
class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta
(ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td>
<td>0</td>
<td> </td><td> </td><td> </td><td> </td><td
title=">>org.jboss.seam.mock.SeamTest.begin()">>>begin</td>
+<td> </td> <td>main@9182681</td>
<td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td>
<td>308</td>
<td> </td><td> </td><td
title="<<org.jboss.seam.mock.SeamTest.cleanup()"><<cleanup</td>
+<td> </td><td> </td><td> </td>
<td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td>
<td>305</td>
<td> </td><td> </td><td> </td><td> </td><td
title="<<org.jboss.seam.mock.SeamTest.end()"><<end</td>
+<td> </td> <td>main@9182681</td>
<td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:02</td>
<td>-2572</td>
<td> </td><td> </td><td
title=">>org.jboss.seam.mock.SeamTest.init()">>>init</td>
+<td> </td><td> </td><td> </td>
<td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="6c68c3"> <td>07/08/27 11:54:05</td>
<td>4</td>
<td> </td><td> </td><td> </td><td> </td><td> </td><td
title="org.domain.lamp.session.PingTest.test()">test</td>
+ <td>main@9182681</td> <td></td> </tr>
+</table>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-not-run.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-not-run.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods-not-run.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,2 @@
+<h2>Methods that were not run</h2><table>
+</table>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/methods.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+<h2>Methods run, sorted chronologically</h2><h3>>> means
before, << means after</h3><p/><br/><em>Ping
Tests</em><p/><small><i>(Hover the method name to see the test
class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta
(ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:02</td>
<td>0</td>
<td> </td><td> </td><td
title=">>org.jboss.seam.mock.SeamTest.init()">>>init</td>
+<td> </td><td> </td><td> </td>
<td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td>
<td>2572</td>
<td> </td><td> </td><td> </td><td> </td><td
title=">>org.jboss.seam.mock.SeamTest.begin()">>>begin</td>
+<td> </td> <td>main@9182681</td>
<td></td> </tr>
+<tr bgcolor="6c68c3"> <td>07/08/27 11:54:05</td>
<td>2576</td>
<td> </td><td> </td><td> </td><td> </td><td> </td><td
title="org.domain.lamp.session.PingTest.test()">test</td>
+ <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td>
<td>2877</td>
<td> </td><td> </td><td> </td><td> </td><td
title="<<org.jboss.seam.mock.SeamTest.end()"><<end</td>
+<td> </td> <td>main@9182681</td>
<td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td>
<td>2880</td>
<td> </td><td> </td><td
title="<<org.jboss.seam.mock.SeamTest.cleanup()"><<cleanup</td>
+<td> </td><td> </td><td> </td>
<td>main@9182681</td> <td></td> </tr>
+</table>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/reporter-output.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/reporter-output.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/reporter-output.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+<h2>Reporter output</h2><table></table>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng-failed.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng-failed.xml (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng-failed.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,16 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite thread-count="5" verbose="2" name="Failed suite [Ping
Tests]" junit="false" parallel="false"
annotations="JDK">
+ <test name="Ping Test(failed)" junit="false"
parallel="false" annotations="JDK">
+ <classes>
+ <class name="org.domain.lamp.session.PingTest">
+ <methods>
+ <include name="begin"/>
+ <include name="cleanup"/>
+ <include name="init"/>
+ <include name="end"/>
+ <include name="test"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+</suite>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng.xml.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng.xml.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/testng.xml.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+<html><head><title>testng.xml for Ping
Tests</title></head><body><tt><!DOCTYPE&am...
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/toc.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/toc.html (rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping
Tests/toc.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Results for Ping Tests</title>
+<link href="../testng.css" rel="stylesheet"
type="text/css" />
+<link href="../my-testng.css" rel="stylesheet"
type="text/css" />
+</head>
+<body>
+<h3><p align="center">Results for<br/><em>Ping
Tests</em></p></h3>
+<table border='1' width='100%'>
+<tr valign='top'>
+<td>1 test</td>
+<td><a target='mainFrame' href='classes.html'>1
class</a></td>
+<td>1 method:<br/>
+ <a target='mainFrame'
href='methods.html'>chronological</a><br/>
+ <a target='mainFrame'
href='methods-alphabetical.html'>alphabetical</a><br/>
+ <a target='mainFrame'
href='methods-not-run.html'>not run (0)</a></td>
+</tr>
+<tr>
+<td><a target='mainFrame' href='groups.html'>0
group</a></td>
+<td><a target='mainFrame'
href='reporter-output.html'>reporter output</a></td>
+<td><a target='mainFrame'
href='testng.xml.html'>testng.xml</a></td>
+</tr></table>
+<table width='100%' class='test-passed'>
+<tr><td>
+<table style='width: 100%'><tr><td valign='top'>Ping
Test (1/0/0)</td><td valign='top' align='right'>
+ <a href='Ping Test.html' target='mainFrame'>Results</a>
+</td></tr></table>
+</td></tr><p/>
+</table>
+</body></html>
\ No newline at end of file
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>TestNG: Unit Test</title>
+<style type="text/css">
+table caption,table.info_table,table.param,table.passed,table.failed
{margin-bottom:10px;border:1px solid #000099;border-collapse:collapse;empty-cells:show;}
+table.info_table td,table.info_table th,table.param td,table.param th,table.passed
td,table.passed th,table.failed td,table.failed th {
+border:1px solid #000099;padding:.25em .5em .25em .5em
+}
+table.param th {vertical-align:bottom}
+td.numi,th.numi,td.numi_attn {
+text-align:right
+}
+tr.total td {font-weight:bold}
+table caption {
+text-align:center;font-weight:bold;
+}
+table.passed tr.stripe td,table tr.passedodd td {background-color: #00AA00;}
+table.passed td,table tr.passedeven td {background-color: #33FF33;}
+table.passed tr.stripe td,table tr.skippedodd td {background-color: #cccccc;}
+table.passed td,table tr.skippedodd td {background-color: #dddddd;}
+table.failed tr.stripe td,table tr.failedodd td,table.param td.numi_attn
{background-color: #FF3333;}
+table.failed td,table tr.failedeven td,table.param tr.stripe td.numi_attn
{background-color: #DD0000;}
+tr.stripe td,tr.stripe th {background-color: #E6EBF9;}
+p.totop {font-size:85%;text-align:center;border-bottom:2px black solid}
+div.shootout {padding:2em;border:3px #4854A8 solid}
+</style>
+</head>
+<body>
+<table cellspacing=0 cellpadding=0 class="param">
+<tr><th>Test</th><th
class="numi">Methods<br/>Passed</th><th
class="numi">Scenarios<br/>Passed</th><th
class="numi"># skipped</th><th class="numi">#
failed</th><th class="numi">Total<br/>Time</th><th
class="numi">Included<br/>Groups</th><th
class="numi">Excluded<br/>Groups</th></tr>
+<tr><td style="text-align:left;padding-right:2em">Ping
Test</td><td class="numi">1</td><td
class="numi">1</td><td class="numi">0</td><td
class="numi">0</td><td class="numi">2.9
seconds</td><td class="numi"></td><td
class="numi"></td></tr>
+</table>
+<a id="summary"></a>
+<table cellspacing=0 cellpadding=0 class="passed">
+<tr><th>Class</th><th>Method</th><th>#
of<br/>Scenarios</th><th>Time<br/>(Msecs)</th></tr>
+<tr><th colspan="4">Ping Test —
passed</th></tr>
+<tr class="passedodd"><td
rowspan="1">org.domain.lamp.session.PingTest<td><a
href="#m1">test</a></td><td
class="numi">1</td><td
class="numi">304</td></tr>
+</table>
+<h1>Ping Test</h1>
+<a
id="m1"></a><h2>org.domain.lamp.session.PingTest:test</h2>
+<p class="totop"><a href="#summary">back to
summary</a></p>
+</body></html>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+<html>
+<head><title>Test results</title><link href="./testng.css"
rel="stylesheet" type="text/css" />
+<link href="./my-testng.css" rel="stylesheet"
type="text/css" />
+</head><body>
+<h2><p align='center'>Test results</p></h2>
+<table border='1' width='100%'
class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
+<tr align='center'
class='invocation-passed'><td><em>Total</em></td><td><em>1</em></td><td><em>0</em></td><td><em>0</em></td><td> </td></tr>
+<tr align='center' class='invocation-passed'><td><a
href='Ping Tests/index.html'>Ping Tests</a></td>
+<td>1</td><td>0</td><td>0</td><td><a
href='Ping
Tests/testng.xml.html'>Link</a></td></tr></table></body></html>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,16 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite thread-count="5" verbose="2" name="Failed suite [Ping
Tests]" junit="false" parallel="false"
annotations="JDK">
+ <test name="Ping Test(failed)" junit="false"
parallel="false" annotations="JDK">
+ <classes>
+ <class name="org.domain.lamp.session.PingTest">
+ <methods>
+ <include name="begin"/>
+ <include name="cleanup"/>
+ <include name="init"/>
+ <include name="end"/>
+ <include name="test"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+</suite>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,22 @@
+<testng-results>
+ <reporter-output>
+ </reporter-output>
+ <suite name="Ping Tests">
+ <groups>
+ </groups>
+ <test name="Ping Test">
+ <class name="org.domain.lamp.session.PingTest">
+ <test-method status="PASS" signature="test()"
name="test" duration-ms="304"
started-at="2007-08-27T11:54:05Z"
finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="cleanup()"
name="cleanup" is-config="true" duration-ms="2"
started-at="2007-08-27T11:54:05Z"
finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="begin()"
name="begin" is-config="true" duration-ms="0"
started-at="2007-08-27T11:54:05Z"
finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="init()"
name="init" is-config="true" duration-ms="2573"
started-at="2007-08-27T11:54:02Z"
finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="end()"
name="end" is-config="true" duration-ms="2"
started-at="2007-08-27T11:54:05Z"
finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ </class>
+ </test>
+ </suite>
+</testng-results>
Added:
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css
===================================================================
---
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css
(rev 0)
+++
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css 2007-08-27
13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+.invocation-failed, .test-failed { background-color: #DD0000; }
+.invocation-percent, .test-percent { background-color: #006600; }
+.invocation-passed, .test-passed { background-color: #00AA00; }
+.invocation-skipped, .test-skipped { background-color: #CCCC00; }
+
+.main-page {
+ font-size: x-large;
+}
+