Revision: 15983
Author: jean.deruelle
Date: Tue Dec 21 11:56:10 2010
Log: removing examples using the old MSC API instead of JSR 309
http://code.google.com/p/mobicents/source/detail?r=15983
Deleted:
/trunk/servers/sip-servlets/sip-servlets-examples/conference-demo
/trunk/servers/sip-servlets/sip-servlets-examples/media-playback-servlet
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/.classpath
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/.project
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/README.TXT
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/business
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/ear
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/pom.xml
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/shopping-demo-dar.properties
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/java
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/resources
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/components.xml
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/faces-config.xml
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/incl
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/lib
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/sip.xml
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/template.xhtml
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/web.xml
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/help.xhtml
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/home.xhtml
Modified:
/trunk/servers/sip-servlets/sip-servlets-examples/custom-call-forwarding-distributable
/trunk/servers/sip-servlets/sip-servlets-examples/pure-jruby-telco
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/.classpath
Thu Oct 8 08:51:11 2009
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" output="business/target/classes"
path="business/src/main/java"/>
- <classpathentry kind="src" output="web/src/main/webapp/WEB-INF/classes"
path="web/src/main/resources"/>
- <classpathentry kind="src" output="business/target/test-classes"
path="business/src/test/java"/>
- <classpathentry kind="src" output="business/target/classes"
path="business/src/main/resources"/>
- <classpathentry kind="src" output="web/src/main/webapp/WEB-INF/classes"
path="web/src/main/java"/>
- <classpathentry kind="src" output="business/target/test-classes"
path="business/src/test/resources"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var"
path="M2_REPO/org/apache/lucene/lucene-core/2.3.0/lucene-core-2.3.0.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/hibernate/hibernate-annotations/3.3.0.ga/hibernate-annotations-3.3.0.ga.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/hibernate/hibernate-search/3.0.0.GA/hibernate-search-3.0.0.GA.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/hibernate/hibernate-validator/3.0.0.GA/hibernate-validator-3.0.0.GA.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jboss/seam/jboss-el/2.0.0.GA/jboss-el-2.0.0.GA.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jboss/seam/jboss-seam/2.0.1.GA/jboss-seam-2.0.1.GA.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jboss/seam/jboss-seam-debug/2.0.1.GA/jboss-seam-debug-2.0.1.GA.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jboss/seam/jboss-seam-ui/2.0.1.GA/jboss-seam-ui-2.0.1.GA.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jbpm/jbpm-jpdl/3.2.2/jbpm-jpdl-3.2.2.jar"/>
- <classpathentry kind="var"
path="M2_REPO/javax/el/el-api/1.0/el-api-1.0.jar"/>
- <classpathentry kind="var"
path="M2_REPO/javax/faces/jsf-api/1.2_02/jsf-api-1.2_02.jar"/>
- <classpathentry kind="var"
path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar"/>
- <classpathentry kind="var"
path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
- <classpathentry kind="var"
path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/mobicents/external/freetts/freetts/1.0/freetts-1.0.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/testng/testng/4.7/testng-4.7-jdk15.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0/geronimo-ejb_3.0_spec-1.0.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/apache/tomcat/annotations-api/6.0.14/annotations-api-6.0.14.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/hibernate/hibernate/3.2.4.sp1/hibernate-3.2.4.sp1.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/mobicents/servlet/sip/sip-servlets-spec/1.1.11-SNAPSHOT/sip-servlets-spec-1.1.11-SNAPSHOT.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jboss/seam/embedded/jboss-embedded-all/beta3/jboss-embedded-all-beta3.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jboss/seam/embedded/jboss-embedded-api/beta3/jboss-embedded-api-beta3.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/jboss/seam/embedded/thirdparty-all/beta3/thirdparty-all-beta3.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/mobicents/servers/media/mobicents-media-server-constants/1.0.3.GA/mobicents-media-server-constants-1.0.3.GA.jar"/>
- <classpathentry kind="var"
path="M2_REPO/org/mobicents/servers/media/mobicents-media-server-msc-api/1.0.3.GA/mobicents-media-server-msc-api-1.0.3.GA.jar"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/.project
Tue Apr 15 18:17:55 2008
+++ /dev/null
@@ -1,13 +0,0 @@
-<projectDescription>
- <name>shopping-demo</name>
- <comment/>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/README.TXT
Thu Jul 3 06:43:57 2008
+++ /dev/null
@@ -1,32 +0,0 @@
-IMPORTANT NOTE : make JBoss a converged sip servlets AS before following
those steps.
-Checkout the instructions at
https://sip-servlets.dev.java.net/installation-jboss.html
-
-Instructions to build and deploy
---------------------------------
-
-To build:
-1.Install Mobicents Media Server 1.0.0.BETA2 from
http://www.mobicents.org/mms-downloads.html and drop the .sar file in
-your <jboss_home>/server/default/deploy
-
-2. Modify the context params in
sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/sip.xml
file.
- order.approval.waitingtime : the time between the moment the customer
confirm
- its order and the next phone call made to ask for delivery date or for
admin to confirm if order is > 100$.
- You can let the default
- admin.sip : the sip address of the admin to be called for
confirmation on orders > 100$
-
-mvn clean install -Dmaven.skip.test=true from shopping-demo dir (we are
skipping the tests because haven't figured out something with hibernate in
the tests )
-
-To deploy:
-
-1. use the shopping-demo-dar.properties located in the same dir as this
README file
-2. drop the ear file located in shopping-demo/ear/target into the Jboss
deploy directory.
-
-To use
-------
-
-1. Start Jboss
-2. Go to http://localhost:8080/shopping-demo and follow instructions on
how to play with the example at
-https://sip-servlets.dev.java.net/examples/shopping-demo.html
groups.google.com/group/mobicents-public/web/converged-application-demo or
http://groups.google.com/group/mobicents-public/web/converged-application-demo
-
-working nicely on linphone on linux for SIP info
-working nicely with wengo for inband
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/pom.xml
Tue Oct 19 15:22:30 2010
+++ /dev/null
@@ -1,63 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.mobicents.servlet.sip.example</groupId>
- <artifactId>sip-servlets-examples-parent</artifactId>
- <version>1.5.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <groupId>org.mobicents.servlet.sip.example</groupId>
- <artifactId>shopping-demo-parent</artifactId>
- <packaging>pom</packaging>
- <version>1.5.0-SNAPSHOT</version>
- <name>Shopping Demo Parent</name>
- <url>http://www.mobicents.org/shopping-demo.html</url>
- <modules>
- <module>business</module>
- <module>web</module>
- <module>ear</module>
- </modules>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <!-- repositories -->
- <repositories>
- <repository>
- <id>maven2-repository.dev.java.net</id>
- <name>Java.net Repository for Maven</name>
- <url>http://download.java.net/maven/2/</url>
- <layout>default</layout>
- </repository>
- <repository>
- <id>JbossRepository</id>
- <name>Jboss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
- <id>jboss-snapshots</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-</project>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/shopping-demo-dar.properties
Tue Apr 15 19:46:38 2008
+++ /dev/null
@@ -1,2 +0,0 @@
-REGISTER: ("shopping-demo", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
-OPTIONS: ("shopping-demo", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/components.xml
Wed Jan 28 06:56:42 2009
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<components xmlns="http://jboss.com/products/seam/components"
- xmlns:core="http://jboss.com/products/seam/core"
- xmlns:persistence="http://jboss.com/products/seam/persistence"
- xmlns:framework="http://jboss.com/products/seam/framework"
- xmlns:bpm="http://jboss.com/products/seam/bpm"
- 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-2.0.xsd
- http://jboss.com/products/seam/persistence
http://jboss.com/products/seam/persistence-2.0.xsd
- http://jboss.com/products/seam/drools
http://jboss.com/products/seam/drools-2.0.xsd
- http://jboss.com/products/seam/bpm
http://jboss.com/products/seam/bpm-2.0.xsd
- http://jboss.com/products/seam/security
http://jboss.com/products/seam/security-2.0.xsd
- http://jboss.com/products/seam/mail
http://jboss.com/products/seam/mail-2.0.xsd
- http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-2.0.xsd">
-
- <core:init debug="true" jndi-pattern="shopping-demo/#{ejbName}/local"/>
-
- <!-- 120 second conversation timeout -->
- <core:manager conversation-timeout="120000"/>
-
- <bpm:jbpm>
- <bpm:process-definitions>
- <value>ordermanagement3.jpdl.xml</value>
- </bpm:process-definitions>
- <bpm:pageflow-definitions>
- <value>checkout.jpdl.xml</value>
- <value>newuser.jpdl.xml</value>
- </bpm:pageflow-definitions>
- </bpm:jbpm>
-
- <security:identity
authenticate-method="#{authenticator.authenticate}"/>
-
-
- <persistence:managed-persistence-context name="entityManager"
- auto-create="true"
-
persistence-unit-jndi-name="java:/ShoppingDemoEntityManagerFactory"/>
-
- <factory name="order"
- value="#{orderHome.instance}"
- scope="stateless"
- auto-create="true"/>
- <framework:entity-home name="orderHome"
- entity-class="org.jboss.mobicents.seam.model.Order"
- scope="conversation"
- auto-create="true">
- <framework:id>#{orderId}</framework:id>
- </framework:entity-home>
-
-
- <framework:entity-query name="allCategories"
- ejbql="select c from Category c"
- order="c.name">
- <!-- waiting for hibernate issue EJB-277
- <framework:hints>
- <key>org.hibernate.cacheable</key>
- <value>true</value>
- </framework:hints>
- -->
- </framework:entity-query>
-
-
- <factory name="topProducts"
- value="#{topQuery.resultList}" />
- <framework:entity-query name="topQuery"
- ejbql="select p from Product p"
- order="p.inventory.sales desc"
- max-results="8" />
-
-</components>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/faces-config.xml
Tue Apr 15 18:17:55 2008
+++ /dev/null
@@ -1,14 +0,0 @@
-<?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">
-
- <application>
- <locale-config>
- <default-locale>en</default-locale>
- </locale-config>
- <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
- </application>
-
-</faces-config>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/sip.xml
Tue Jun 16 08:32:22 2009
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<sip-app>
- <app-name>shopping-demo</app-name>
- <display-name>Shopping Demo Sip Servlet</display-name>
- <description>Shopping Demo Sip Servlet</description>
-
- <servlet>
- <servlet-name>ShoppingSipServlet</servlet-name>
- <display-name>ShoppingSipServlet</display-name>
- <description>Shopping SIP servlet</description>
- <servlet-class>
- org.mobicents.servlet.sip.example.ShoppingSipServlet
- </servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <!--context-param>
- <param-name>audio.files.path</param-name>
-
<param-value>file:///home/dereuelle/workspaces/sip-servlets/sip-servlets-examples/shopping-demo/resources/audio/</param-value>
- </context-param-->
-
- <context-param>
- <param-name>order.approval.waitingtime</param-name>
- <param-value>30000</param-value>
- </context-param>
-
- <context-param>
- <param-name>admin.sip</param-name>
- <param-value>sip:[email protected]</param-value>
- </context-param>
-
- <context-param>
- <param-name>admin.sip.default.contact</param-name>
- <param-value>sip:[email protected]:5055</param-value>
- </context-param>
-
- <context-param>
- <param-name>call.center.contact</param-name>
- <param-value>sip:[email protected]:5090</param-value>
- </context-param>
-
- <context-param>
- <param-name>caller.domain</param-name>
- <param-value>sip.callwithus.com</param-value>
- </context-param>
-
- <context-param>
- <param-name>caller.sip</param-name>
- <param-value>650390127</param-value>
- </context-param>
-
- <context-param>
- <param-name>caller.password</param-name>
- <param-value>311578</param-value>
- </context-param>
-
- <listener>
- <listener-class>
- org.mobicents.servlet.sip.example.ShoppingSipServlet
- </listener-class>
- </listener>
-</sip-app>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/template.xhtml
Tue Apr 15 18:17:55 2008
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!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">
-<head>
- <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
- <title>Mobicents Seam Furniture Store</title>
- <link
href="#{facesContext.externalContext.requestContextPath}/screen.css"
rel="stylesheet" type="text/css" />
-</head>
-
-<body id="pgMainMenu">
- <div id="document">
- <div id="header"><span>Mobicents Seam Furniture Store</span></div>
- <div id="nav">
- <ui:insert name="topnav">
- TOPNAV
- </ui:insert>
- </div>
-
- <div id="container">
- <div id="sidebar">
- <ui:insert name="sidebar">
- SIDEBAR
- </ui:insert>
- </div>
-
- <div id="errors">
- <ui:insert name="errors">
- <h:messages globalOnly="true"
- layout="table"
- styleClass="cntError" />
- </ui:insert>
- </div>
-
- <div id="content">
- <ui:debug hotkey="D"/>
- <ui:insert name="body">
- PAGE BODY
- </ui:insert>
- </div>
- </div>
- </div>
-</body>
-</html>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/web.xml
Tue Apr 15 19:13:37 2008
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" ?>
-<web-app 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-app_2_5.xsd"
- version="2.5">
-
- <listener>
- <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
- </listener>
-
- <listener>
-
<listener-class>org.mobicents.servlet.sip.example.InitializationListener</listener-class>
- </listener>
-
- <context-param>
- <param-name>facelets.DEVELOPMENT</param-name>
- <param-value>true</param-value>
- </context-param>
-
- <context-param>
- <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
- <param-value>.xhtml</param-value>
- </context-param>
-
- <filter>
- <filter-name>Seam Filter</filter-name>
- <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
- </filter>
-
- <filter-mapping>
- <filter-name>Seam Filter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
-
- <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 XHTML Documents</display-name>
- <web-resource-collection>
- <web-resource-name>XHTML</web-resource-name>
- <url-pattern>*.xhtml</url-pattern>
- </web-resource-collection>
- <auth-constraint>
- <role-name>NONE</role-name>
- </auth-constraint>
- </security-constraint>
-
- <session-config>
- <session-timeout>10</session-timeout>
- </session-config>
-
-
-
-</web-app>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/help.xhtml
Tue Jun 16 04:46:53 2009
+++ /dev/null
@@ -1,24 +0,0 @@
-<f:subview xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:s="http://jboss.com/products/seam/taglib"
- id="help">
- <div class="menu">
- <dl>
- <dt class="menuHeader">Need Help ?</dt>
- <div class="bestimage">
- <img src="./img/help.jpg" />
- </div>
- Enter your phone number below and click the button, we will
call you back instantly to help you out for free !
- <dd class="menuForm"><h:form>
- <dd>
- <dt><h:outputText value="Your Phone Number
(+33655443322)" /></dt>
- <dd><h:inputText value="#{help.phoneNumber}" size="16"
/></dd>
- <h:commandButton action="#{help.call}" value="Call"
- styleClass="formButton" style="width:
166px;" />
- </dd>
- </h:form></dd>
- </dl>
- </div>
-</f:subview>
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/home.xhtml
Tue Apr 15 18:17:55 2008
+++ /dev/null
@@ -1,58 +0,0 @@
-<!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: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">
-<body>
- <ui:composition template="/WEB-INF/template.xhtml">
- <ui:define name="topnav">
- <ui:include src="/WEB-INF/incl/store_nav.xhtml">
- <ui:param name="page" value="home" />
- </ui:include>
- </ui:define>
-
- <ui:define name="sidebar">
- <ui:include src="/WEB-INF/incl/login.xhtml" />
- </ui:define>
-
- <ui:define name="body">
- <h1>Welcome to the Furniture Store</h1>
-
- <p>
- Welcome to the Mobicents Furniture Store Demo. The
Furniture Store is a simple storefront
- application written using the latest JBoss technologies:
EJB3, Seam and jBPM.
- </p>
-
- <h2>How to use the Furniture Store</h2>
- <p>
- You can enter the store immediately by clicking on
- the shopping link below. However, in order to complete
- a purchase, you'll need to first log in as a customer.
- There are 5 customer accounts: <b>user1</b> through
- <b>user5</b> (with password <b>password</b>). You can
- login using any of the customer accounts or create
- your own customer account to browse the DVD Store and
- make purchases. Once an order is submitted, you can
- check the status of the order from the <em>My
- Orders</em> screen. When the order is fulfilled by
- the store manager, the status of the order will be
- updated.
- </p>
-
- <p>
- When a customer places an order, the application
- starts a jBPM order management process. Depending on
- the version of the process deployed, the store manager
- (username <b>manager</b>, password <b>password</b>)
- will be presented with different fulfilment options.
- </p>
-
-
- <s:button view="/browse.xhtml" value="Start Shopping" />
-
- </ui:define>
- </ui:composition>
-</body>
-</html>