[jboss-cvs] jboss-seam/examples/icefaces/resources/META-INF ...
Michael Yuan
michael.yuan at jboss.com
Mon Oct 1 12:15:51 EDT 2007
User: myuan
Date: 07/10/01 12:15:51
Added: examples/icefaces/resources/META-INF application.xml
ejb-jar.xml jboss-app.xml persistence.xml
Log:
icefaces booking example
Revision Changes Path
1.11 +7 -8 jboss-seam/examples/icefaces/resources/META-INF/application.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: application.xml
===================================================================
RCS file: application.xml
diff -N application.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ application.xml 1 Oct 2007 16:15:51 -0000 1.11
@@ -0,0 +1,24 @@
+<?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>ICEfaces Seam Booking</display-name>
+
+ <module>
+ <web>
+ <web-uri>icefaces-booking.war</web-uri>
+ <context-root>/icefaces-booking</context-root>
+ </web>
+ </module>
+
+ <module>
+ <ejb>icefaces-booking.jar</ejb>
+ </module>
+
+ <module>
+ <ejb>jboss-seam.jar</ejb>
+ </module>
+
+</application>
\ No newline at end of file
1.4 +20 -20 jboss-seam/examples/icefaces/resources/META-INF/ejb-jar.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ejb-jar.xml
===================================================================
RCS file: ejb-jar.xml
diff -N ejb-jar.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ ejb-jar.xml 1 Oct 2007 16:15:51 -0000 1.4
@@ -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>
1.5 +4 -4 jboss-seam/examples/icefaces/resources/META-INF/jboss-app.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: jboss-app.xml
===================================================================
RCS file: jboss-app.xml
diff -N jboss-app.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ jboss-app.xml 1 Oct 2007 16:15:51 -0000 1.5
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!DOCTYPE jboss-app
+ PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
+
+<jboss-app>
+ <loader-repository>
+ seam.jboss.org:loader=icefaces-booking
+ </loader-repository>
+</jboss-app>
\ No newline at end of file
1.5 +11 -11 jboss-seam/examples/icefaces/resources/META-INF/persistence.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence.xml
===================================================================
RCS file: persistence.xml
diff -N persistence.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ persistence.xml 1 Oct 2007 16:15:51 -0000 1.5
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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="icefaces-bookingDatabase">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <jta-data-source>java:/icefaces-bookingDatasource</jta-data-source>
+ <properties>
+ <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
+ <property name="hibernate.show_sql" value="true"/>
+ <!-- These are the default for JBoss EJB3, but not for HEM: -->
+ <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
+ <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
+ </properties>
+ </persistence-unit>
+</persistence>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list