You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2005/09/27 16:09:45 UTC

svn commit: r291950 - in /jakarta/tapestry/trunk: ./ config/ config/jboss/ config/jboss/data/ config/jboss/data/hypersonic/ config/jboss/deploy/ examples/Vlib/ examples/Vlib/src/ear-conf/META-INF/ examples/Vlib/src/java/org/apache/tapestry/vlib/pages/ ...

Author: hlship
Date: Tue Sep 27 07:09:34 2005
New Revision: 291950

URL: http://svn.apache.org/viewcvs?rev=291950&view=rev
Log:
Switch the Virtual Library application to use its own Hypersonic database

Added:
    jakarta/tapestry/trunk/config/jboss/data/
    jakarta/tapestry/trunk/config/jboss/data/hypersonic/
    jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.properties
    jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.script
    jakarta/tapestry/trunk/config/jboss/deploy/
    jakarta/tapestry/trunk/config/jboss/deploy/vlib-ds.xml
    jakarta/tapestry/trunk/config/tapestry-db.zip   (props changed)
      - copied unchanged from r291921, jakarta/tapestry/trunk/config/jboss/tapestry-db.zip
Removed:
    jakarta/tapestry/trunk/config/jboss/tapestry-db.zip
    jakarta/tapestry/trunk/examples/Vlib/src/ear-conf/META-INF/jboss-app.xml
Modified:
    jakarta/tapestry/trunk/build.xml
    jakarta/tapestry/trunk/examples/Vlib/src/java/org/apache/tapestry/vlib/pages/Login.java
    jakarta/tapestry/trunk/examples/Vlib/upgrade-notes.txt
    jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml
    jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml
    jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml
    jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/BookBean.java
    jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PersonBean.java
    jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PublisherBean.java

Modified: jakarta/tapestry/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/build.xml?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/build.xml (original)
+++ jakarta/tapestry/trunk/build.xml Tue Sep 27 07:09:34 2005
@@ -89,6 +89,10 @@
 		<fail unless="available.vlib.ear" message="You must run the 'install' target to build the vlib.ear first."/>
 		<property name="jboss.default.dir" value="${jboss.dir}/server/default"/>
 
+		<copy todir="${jboss.default.dir}">
+			<fileset dir="config/jboss"/>
+		</copy>
+		
 		<copy todir="${jboss.default.dir}/deploy">
 			<fileset dir="target/vlib" includes="*.ear"/>
 		</copy>

Added: jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.properties?rev=291950&view=auto
==============================================================================
--- jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.properties (added)
+++ jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.properties Tue Sep 27 07:09:34 2005
@@ -0,0 +1,20 @@
+#HSQL Database Engine
+#Tue Sep 27 09:47:09 EDT 2005
+hsqldb.cache_file_scale=1
+runtime.gc_interval=0
+hsqldb.first_identity=0
+version=1.8.0
+modified=yes
+hsqldb.script_format=0
+sql.enforce_size=false
+hsqldb.cache_size_scale=8
+hsqldb.cache_scale=14
+hsqldb.log_size=200
+sql.enforce_strict_size=false
+readonly=false
+hsqldb.compatible_version=1.7.2
+hsqldb.original_version=1.8.0
+sql.compare_in_locale=false
+hsqldb.nio_data_file=true
+hsqldb.cache_version=1.7.0
+hsqldb.default_table_type=memory

Added: jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.script
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.script?rev=291950&view=auto
==============================================================================
--- jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.script (added)
+++ jakarta/tapestry/trunk/config/jboss/data/hypersonic/vlib.script Tue Sep 27 07:09:34 2005
@@ -0,0 +1,6 @@
+CREATE MEMORY TABLE PUBLISHER(PUBLISHER_ID INTEGER NOT NULL,NAME VARCHAR(40),CONSTRAINT PK_PUBLISHER PRIMARY KEY(PUBLISHER_ID))
+CREATE MEMORY TABLE PERSON(PERSON_ID INTEGER NOT NULL,EMAIL VARCHAR(60),PASSWD VARCHAR(20),FIRST_NAME VARCHAR(30),LAST_NAME VARCHAR(30),LOCKED_OUT BOOLEAN NOT NULL,ADMIN BOOLEAN NOT NULL,LAST_ACCESS TIMESTAMP,CONSTRAINT PK_PERSON PRIMARY KEY(PERSON_ID))
+CREATE MEMORY TABLE BOOK(BOOK_ID INTEGER NOT NULL,DESCRIPTION VARCHAR(2000),PUBLISHER_ID INTEGER,HOLDER_ID INTEGER,ISBN VARCHAR(20),OWNER_ID INTEGER,TITLE VARCHAR(100),AUTHOR VARCHAR(100),HIDDEN BOOLEAN NOT NULL,LENDABLE BOOLEAN NOT NULL,DATE_ADDED TIMESTAMP,CONSTRAINT PK_BOOK PRIMARY KEY(BOOK_ID))
+CREATE USER SA PASSWORD "" ADMIN
+SET WRITE_DELAY 20
+INSERT INTO PUBLISHER VALUES(5000,'Prentice Hall')

Added: jakarta/tapestry/trunk/config/jboss/deploy/vlib-ds.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/config/jboss/deploy/vlib-ds.xml?rev=291950&view=auto
==============================================================================
--- jakarta/tapestry/trunk/config/jboss/deploy/vlib-ds.xml (added)
+++ jakarta/tapestry/trunk/config/jboss/deploy/vlib-ds.xml Tue Sep 27 07:09:34 2005
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Based on hsqldb-ds.xml from JBoss 4.0.2 distibution -->
+
+
+<datasources>
+   <local-tx-datasource>
+      
+      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
+      <!-- Datasources are not available outside the virtual machine -->
+      <jndi-name>VlibDS</jndi-name>
+      
+      <!-- for tcp connection, allowing other processes to use the hsqldb
+      database. This requires the org.jboss.jdbc.HypersonicDatabase mbean.-->
+      <connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url>
+      
+      <!-- for totally in-memory db, not saved when jboss stops. 
+      The org.jboss.jdbc.HypersonicDatabase mbean necessary
+      <connection-url>jdbc:hsqldb:.</connection-url>
+-->
+      
+      <!-- for in-process persistent db, saved when jboss stops. The
+      org.jboss.jdbc.HypersonicDatabase mbean is necessary for properly db shutdown
+      <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
+-->
+      
+      <!-- The driver class -->
+      <driver-class>org.hsqldb.jdbcDriver</driver-class>
+      
+      <!-- The login and password -->
+      <user-name>sa</user-name>
+      <password></password>
+      
+      <!--example of how to specify class that determines if exception means connection should be destroyed-->
+      <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
+      
+      <!-- this will be run before a managed connection is removed from the pool for use by a client-->
+      <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
+      
+      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
+      <min-pool-size>5</min-pool-size>
+      
+      <!-- The maximum connections in a pool/sub-pool -->
+      <max-pool-size>20</max-pool-size>
+      
+      <!-- The time before an unused connection is destroyed -->
+      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
+      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
+      <idle-timeout-minutes>0</idle-timeout-minutes>
+      
+      <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+      
+      <!-- sql to call on an existing pooled connection when it is obtained from pool 
+         <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+      
+      <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
+         <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
+      -->
+      
+      <!-- Whether to check all statements are closed when the connection is returned to the pool,
+           this is a debugging feature that should be turned off in production -->
+      <track-statements/>
+      
+      <!-- Use the getConnection(user, pw) for logins
+        <application-managed-security/>
+      -->
+      
+      <!-- Use the security domain defined in conf/login-config.xml -->
+      <security-domain>HsqlDbRealm</security-domain>
+      
+      <!-- Use the security domain defined in conf/login-config.xml or the
+           getConnection(user, pw) for logins. The security domain takes precedence.
+        <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+      -->
+      
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
+      <metadata>
+         <type-mapping>Hypersonic SQL</type-mapping>
+      </metadata>
+      
+      <!-- This mbean can be used when using in process persistent hypersonic -->
+      <depends>jboss:service=Hypersonic,database=vlib</depends>
+   </local-tx-datasource>
+   
+   <!-- This mbean should be used only when using tcp connections. Uncomment
+   when the tcp based connection-url is used. -->
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+      name="jboss:service=Hypersonic,database=vlib">
+      <attribute name="Port">1701</attribute>
+      <attribute name="Silent">true</attribute>
+      <attribute name="Database">vlib</attribute>
+      <attribute name="Trace">false</attribute>
+      <attribute name="No_system_exit">true</attribute>
+   </mbean>
+   
+   
+   <!-- This mbean can be used when using in process persistent db
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic,database=localDB">
+     <attribute name="Database">vlib</attribute>
+     <attribute name="InProcessMode">true</attribute>
+   </mbean>
+ -->   
+</datasources>

Propchange: jakarta/tapestry/trunk/config/tapestry-db.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: jakarta/tapestry/trunk/examples/Vlib/src/java/org/apache/tapestry/vlib/pages/Login.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/java/org/apache/tapestry/vlib/pages/Login.java?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/java/org/apache/tapestry/vlib/pages/Login.java (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/java/org/apache/tapestry/vlib/pages/Login.java Tue Sep 27 07:09:34 2005
@@ -58,7 +58,7 @@
 
     public abstract void setPassword(String password);
 
-    @InjectObject("infrastructure:CookieSource")
+    @InjectObject("infrastructure:cookieSource")
     public abstract CookieSource getCookieSource();
 
     protected IValidationDelegate getValidationDelegate()

Modified: jakarta/tapestry/trunk/examples/Vlib/upgrade-notes.txt
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/upgrade-notes.txt?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/upgrade-notes.txt (original)
+++ jakarta/tapestry/trunk/examples/Vlib/upgrade-notes.txt Tue Sep 27 07:09:34 2005
@@ -21,7 +21,11 @@
 - Changed interface from PageRenderListener to PageBeginRenderListener
 loginUser()
 	- IEngine.getServletPath() has been removed, as has RequestContext.addCookie()
-	- Replaced with calls to infrastructure:CookieSource [TAPESTRY-438]
+	- Replaced with calls to infrastructure:cookieSource [TAPESTRY-438]
 	- Replace IEngine.forgetPage() with IRequestCycle.forgetPage()
 pageBeginRender()
-	- Replaced with calls to infrastructure:CookieSource (to read the user's email)
\ No newline at end of file
+	- Replaced with calls to infrastructure:cookieSource (to read the user's email)
+	
+application.xml
+	Can't deploy vlib.war as "/" due to conflict, deployed as "/vlib"
+	
\ No newline at end of file

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml Tue Sep 27 07:09:34 2005
@@ -1,7 +1,6 @@
 <?xml version="1.0"?>
 <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" 
  "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
- 
 <ejb-jar>
   <enterprise-beans>
     <session>
@@ -72,7 +71,6 @@
         <res-auth>Container</res-auth>
       </resource-ref>
     </session>
-     
     <entity>
       <display-name>Person</display-name>
       <ejb-name>Person</ejb-name>
@@ -82,9 +80,7 @@
       <persistence-type>Container</persistence-type>
       <prim-key-class>java.lang.Integer</prim-key-class>
       <reentrant>False</reentrant>
-      
       <abstract-schema-name>Person</abstract-schema-name>
-      
       <cmp-field>
         <description>email address; must be unique, used as login identifier</description>
         <field-name>email</field-name>
@@ -106,7 +102,8 @@
         <field-name>lastName</field-name>
       </cmp-field>
       <cmp-field>
-        <description>If true, the user has been locked out of the system (for misconduct, or excessive invalid passwords).</description>
+        <description>If true, the user has been locked out of the system (for misconduct, or excessive invalid
+          passwords).</description>
         <field-name>lockedOut</field-name>
       </cmp-field>
       <cmp-field>
@@ -114,28 +111,25 @@
         <field-name>admin</field-name>
       </cmp-field>
       <cmp-field>
-      	<description>The time of last access to the system by the user; this is set when the user logs in.</description>
-      	<field-name>lastAccess</field-name>
+        <description>The time of last access to the system by the user; this is set when the user logs in.</description>
+        <field-name>lastAccess</field-name>
       </cmp-field>
       <primkey-field>personId</primkey-field>
-      
       <query>
-      	<query-method>
-      		<method-name>findByEmail</method-name>
-      		<method-params>
-      			<method-param>java.lang.String</method-param>
-      		</method-params>
-      	</query-method>
-      		
-      	<ejb-ql>
-<![CDATA[
+        <query-method>
+          <method-name>findByEmail</method-name>
+          <method-params>
+            <method-param>java.lang.String</method-param>
+          </method-params>
+        </query-method>
+        <ejb-ql>
+          <![CDATA[
 			select object(p)
 			from Person p
 			where p.email = ?1
-]]>      	
-		</ejb-ql>
-	   </query>
-	   	
+]]>
+        </ejb-ql>
+      </query>
       <ejb-ref>
         <description/>
         <ejb-ref-name>ejb/KeyAllocator</ejb-ref-name>
@@ -144,7 +138,6 @@
         <remote>org.apache.tapestry.vlib.ejb.IKeyAllocator</remote>
       </ejb-ref>
     </entity>
-    
     <entity>
       <display-name>Book</display-name>
       <ejb-name>Book</ejb-name>
@@ -196,8 +189,8 @@
         <field-name>lendable</field-name>
       </cmp-field>
       <cmp-field>
-      	<description>The time at which the book was initially added to the database.</description>
-      	<field-name>dateAdded</field-name>
+        <description>The time at which the book was initially added to the database.</description>
+        <field-name>dateAdded</field-name>
       </cmp-field>
       <primkey-field>bookId</primkey-field>
       <ejb-ref>
@@ -208,7 +201,6 @@
         <remote>org.apache.tapestry.vlib.ejb.IKeyAllocator</remote>
       </ejb-ref>
     </entity>
-
     <entity>
       <display-name>Publisher</display-name>
       <ejb-name>Publisher</ejb-name>
@@ -226,25 +218,21 @@
         <field-name>publisherId</field-name>
       </cmp-field>
       <primkey-field>publisherId</primkey-field>
-      
-      
       <query>
-      	<query-method>
-      		<method-name>findByName</method-name>
-      		<method-params>
-      			<method-param>java.lang.String</method-param>
-      		</method-params>
-      	</query-method>
-      		
-      	<ejb-ql>
-<![CDATA[
+        <query-method>
+          <method-name>findByName</method-name>
+          <method-params>
+            <method-param>java.lang.String</method-param>
+          </method-params>
+        </query-method>
+        <ejb-ql>
+          <![CDATA[
 			select object(p)
 			from Publisher p
 			where p.name = ?1
-]]>      	
-		</ejb-ql>
-	   </query>
-	         
+]]>
+        </ejb-ql>
+      </query>
       <ejb-ref>
         <description/>
         <ejb-ref-name>ejb/KeyAllocator</ejb-ref-name>
@@ -253,29 +241,6 @@
         <remote>org.apache.tapestry.vlib.ejb.IKeyAllocator</remote>
       </ejb-ref>
     </entity>
-    
-    <!-- Temporarily removed 
-    
-    <message-driven>
-      <ejb-name>MailQueue</ejb-name>
-      <ejb-class>org.apache.tapestry.vlib.ejb.impl.MailQueueBean</ejb-class>
-      <transaction-type>Bean</transaction-type>
-      <message-selector/>
-      <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
-      <message-driven-destination>
-        <destination-type>javax.jms.Queue</destination-type>
-        <subscription-durability>NonDurable</subscription-durability>
-      </message-driven-destination>
-      <ejb-ref>
-        <ejb-ref-name>ejb/MailSender</ejb-ref-name>
-        <ejb-ref-type>Session</ejb-ref-type>
-        <home>org.apache.tapestry.vlib.ejb.IMailSenderHome</home>
-        <remote>org.apache.tapestry.vlib.ejb.IMailSender</remote>
-      </ejb-ref>
-    </message-driven>
-    
-    -->
-    
   </enterprise-beans>
   <assembly-descriptor>
     <container-transaction>
@@ -303,20 +268,6 @@
         <ejb-name>Operations</ejb-name>
         <method-name>*</method-name>
       </method>
-      
-      <!--
-      
-      <method>
-        <ejb-name>MailQueue</ejb-name>
-        <method-name>*</method-name>
-      </method>
-      <method>
-        <ejb-name>MailSender</ejb-name>
-        <method-name>*</method-name>
-      </method>
-      
-      -->
-      
       <trans-attribute>Required</trans-attribute>
     </container-transaction>
   </assembly-descriptor>

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml Tue Sep 27 07:09:34 2005
@@ -4,7 +4,7 @@
   <resource-managers>
     <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
       <res-name>jdbc/dataSource</res-name>
-      <res-jndi-name>java:/DefaultDS</res-jndi-name>
+      <res-jndi-name>java:/VlibDS</res-jndi-name>
     </resource-manager>
     
   </resource-managers>

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml Tue Sep 27 07:09:34 2005
@@ -5,7 +5,7 @@
       "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
 <jbosscmp-jdbc>
   <defaults>
-    <datasource>java:/DefaultDS</datasource>
+    <datasource>java:/VlibDS</datasource>
     <datasource-mapping>Hypersonic SQL</datasource-mapping>
   </defaults>
   <enterprise-beans>

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/BookBean.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/BookBean.java?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/BookBean.java (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/BookBean.java Tue Sep 27 07:09:34 2005
@@ -85,6 +85,7 @@
 
     // Create methods
 
+    @SuppressWarnings("unused")
     public Integer ejbCreate(Map attributes) throws CreateException, RemoteException
     {
         setLendable(true);

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PersonBean.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PersonBean.java?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PersonBean.java (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PersonBean.java Tue Sep 27 07:09:34 2005
@@ -71,6 +71,7 @@
 
     public abstract Timestamp getLastAccess();
 
+    @SuppressWarnings("unused")
     public Integer ejbCreate(Map attributes) throws CreateException, RemoteException
     {
         updateEntityAttributes(attributes);

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PublisherBean.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PublisherBean.java?rev=291950&r1=291949&r2=291950&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PublisherBean.java (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/java/org/apache/tapestry/vlib/ejb/impl/PublisherBean.java Tue Sep 27 07:09:34 2005
@@ -44,6 +44,7 @@
         { "name" };
     }
 
+    @SuppressWarnings("unused")
     public Integer ejbCreate(String name) throws CreateException, RemoteException
     {
         setPublisherId(allocateKey());



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org