geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r390638 [2/3] - in /geronimo/trunk/applications: ./ magicGball/ magicGball/magicGball-client/ magicGball/magicGball-client/src/ magicGball/magicGball-client/src/java/ magicGball/magicGball-client/src/java/org/ magicGball/magicGball-client/s...
Date Sat, 01 Apr 2006 10:08:04 GMT
Added: geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,368 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorba"
+    parentId="org/apache/geronimo/ServerCORBA">
+
+    <import>
+        <uri>org/apache/geronimo/Security</uri>
+    </import>
+
+    <module>
+        <ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+        <openejb-jar
+            xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"
+            configId="MagicGBallEJB"
+            parentId="org/apache/geronimo/ServerCORBA">
+
+            <enterprise-beans>
+                <session>
+                    <ejb-name>MagicGBall</ejb-name>
+                    <jndi-name>MagicGBall</jndi-name>
+                    <tss-link>SSLClientPassword </tss-link>
+                </session>
+            </enterprise-beans>
+        </openejb-jar>
+    </module>
+
+    <module>
+        <web>magicGball-${geronimo_version}.war</web>
+        <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0" configId="MagicGBallWAR">
+            <context-priority-classloader>false</context-priority-classloader>
+        </web-app>
+    </module>
+
+    <module>
+        <java>magicGball-client-${geronimo_version}.jar</java>
+        <application-client xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client"
+            configId="client"
+            clientConfigId="org/apache/geronimo/MagicGBallClient"
+            clientParentId="org/apache/geronimo/ClientCORBA">
+            <import>
+                <uri>org/apache/geronimo/ClientSecurity</uri>
+            </import>
+            <ejb-ref>
+                <ref-name>mGball</ref-name>
+                <ns-corbaloc>corbaloc::localhost:1050/NameService</ns-corbaloc>
+                <name>MagicGBall</name>
+                <css-link>SSLClientPassword</css-link>
+            </ejb-ref>
+            <realm-name>client-properties-realm</realm-name>
+            <callback-handler>org.acme.MagicGBallCallbackHandler</callback-handler>
+        </application-client>
+    </module>
+
+    <security>
+        <default-principal>
+            <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="system"/>
+        </default-principal>
+        <role-mappings>
+            <role role-name="admin">
+                <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin" designated-run-as="true"/>
+            </role>
+        </role-mappings>
+    </security>
+
+    <dep:gbean name="default"
+         class="org.apache.geronimo.security.realm.GenericSecurityRealm"
+        xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.0">
+         <dep:attribute name="realmName">default</dep:attribute>
+         <dep:xml-reference name="LoginModuleConfiguration">
+             <lc:login-config xmlns:lc="http://geronimo.apache.org/xml/ns/loginconfig">
+                 <lc:login-module control-flag="REQUIRED" server-side="true">
+                     <lc:login-domain-name>default</lc:login-domain-name>
+                     <lc:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</lc:login-module-class>
+                     <lc:option name="usersURI">var/security/users.properties</lc:option>
+                     <lc:option name="groupsURI">var/security/groups.properties</lc:option>
+                 </lc:login-module>
+             </lc:login-config>
+         </dep:xml-reference>
+         <dep:reference name="ServerInfo">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/System</dep:module>
+             <dep:name>ServerInfo</dep:name>
+         </dep:reference>
+         <dep:reference name="LoginService">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/Security</dep:module>
+             <dep:name>JaasLoginService</dep:name>
+         </dep:reference>
+     </dep:gbean>
+
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorba"
+    parentId="org/apache/geronimo/ServerCORBA">
+
+    <import>
+        <uri>org/apache/geronimo/Security</uri>
+    </import>
+
+    <module>
+        <ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+        <openejb-jar
+            xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"
+            configId="MagicGBallEJB"
+            parentId="org/apache/geronimo/ServerCORBA">
+
+            <enterprise-beans>
+                <session>
+                    <ejb-name>MagicGBall</ejb-name>
+                    <jndi-name>MagicGBall</jndi-name>
+                    <tss-link>SSLClientPassword </tss-link>
+                </session>
+            </enterprise-beans>
+        </openejb-jar>
+    </module>
+
+    <module>
+        <web>magicGball-${geronimo_version}.war</web>
+        <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0" configId="MagicGBallWAR">
+            <context-priority-classloader>false</context-priority-classloader>
+        </web-app>
+    </module>
+
+    <module>
+        <java>magicGball-client-${geronimo_version}.jar</java>
+        <application-client xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client"
+            configId="client"
+            clientConfigId="org/apache/geronimo/MagicGBallClient"
+            clientParentId="org/apache/geronimo/ClientCORBA">
+            <import>
+                <uri>org/apache/geronimo/ClientSecurity</uri>
+            </import>
+            <ejb-ref>
+                <ref-name>mGball</ref-name>
+                <ns-corbaloc>corbaloc::localhost:1050/NameService</ns-corbaloc>
+                <name>MagicGBall</name>
+                <css-link>SSLClientPassword</css-link>
+            </ejb-ref>
+            <realm-name>client-properties-realm</realm-name>
+            <callback-handler>org.acme.MagicGBallCallbackHandler</callback-handler>
+        </application-client>
+    </module>
+
+    <security>
+        <default-principal>
+            <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="system"/>
+        </default-principal>
+        <role-mappings>
+            <role role-name="admin">
+                <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin" designated-run-as="true"/>
+            </role>
+        </role-mappings>
+    </security>
+
+    <dep:gbean name="default"
+         class="org.apache.geronimo.security.realm.GenericSecurityRealm"
+        xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.0">
+         <dep:attribute name="realmName">default</dep:attribute>
+         <dep:xml-reference name="LoginModuleConfiguration">
+             <lc:login-config xmlns:lc="http://geronimo.apache.org/xml/ns/loginconfig">
+                 <lc:login-module control-flag="REQUIRED" server-side="true">
+                     <lc:login-domain-name>default</lc:login-domain-name>
+                     <lc:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</lc:login-module-class>
+                     <lc:option name="usersURI">var/security/users.properties</lc:option>
+                     <lc:option name="groupsURI">var/security/groups.properties</lc:option>
+                 </lc:login-module>
+             </lc:login-config>
+         </dep:xml-reference>
+         <dep:reference name="ServerInfo">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/System</dep:module>
+             <dep:name>ServerInfo</dep:name>
+         </dep:reference>
+         <dep:reference name="LoginService">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/Security</dep:module>
+             <dep:name>JaasLoginService</dep:name>
+         </dep:reference>
+     </dep:gbean>
+
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorba"
+    parentId="org/apache/geronimo/ServerCORBA">
+
+    <import>
+        <uri>org/apache/geronimo/Security</uri>
+    </import>
+
+    <module>
+        <ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+        <openejb-jar
+            xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"
+            configId="MagicGBallEJB"
+            parentId="org/apache/geronimo/ServerCORBA">
+
+            <enterprise-beans>
+                <session>
+                    <ejb-name>MagicGBall</ejb-name>
+                    <jndi-name>MagicGBall</jndi-name>
+                    <tss-link>SSLClientPassword </tss-link>
+                </session>
+            </enterprise-beans>
+        </openejb-jar>
+    </module>
+
+    <module>
+        <web>magicGball-${geronimo_version}.war</web>
+        <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0" configId="MagicGBallWAR">
+            <context-priority-classloader>false</context-priority-classloader>
+        </web-app>
+    </module>
+
+    <module>
+        <java>magicGball-client-${geronimo_version}.jar</java>
+        <application-client xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client"
+            configId="client"
+            clientConfigId="org/apache/geronimo/MagicGBallClient"
+            clientParentId="org/apache/geronimo/ClientCORBA">
+            <import>
+                <uri>org/apache/geronimo/ClientSecurity</uri>
+            </import>
+            <ejb-ref>
+                <ref-name>mGball</ref-name>
+                <ns-corbaloc>corbaloc::localhost:1050/NameService</ns-corbaloc>
+                <name>MagicGBall</name>
+                <css-link>SSLClientPassword</css-link>
+            </ejb-ref>
+            <realm-name>client-properties-realm</realm-name>
+            <callback-handler>org.acme.MagicGBallCallbackHandler</callback-handler>
+        </application-client>
+    </module>
+
+    <security>
+        <default-principal>
+            <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="system"/>
+        </default-principal>
+        <role-mappings>
+            <role role-name="admin">
+                <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin" designated-run-as="true"/>
+            </role>
+        </role-mappings>
+    </security>
+
+    <dep:gbean name="default"
+         class="org.apache.geronimo.security.realm.GenericSecurityRealm"
+        xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.0">
+         <dep:attribute name="realmName">default</dep:attribute>
+         <dep:xml-reference name="LoginModuleConfiguration">
+             <lc:login-config xmlns:lc="http://geronimo.apache.org/xml/ns/loginconfig">
+                 <lc:login-module control-flag="REQUIRED" server-side="true">
+                     <lc:login-domain-name>default</lc:login-domain-name>
+                     <lc:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</lc:login-module-class>
+                     <lc:option name="usersURI">var/security/users.properties</lc:option>
+                     <lc:option name="groupsURI">var/security/groups.properties</lc:option>
+                 </lc:login-module>
+             </lc:login-config>
+         </dep:xml-reference>
+         <dep:reference name="ServerInfo">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/System</dep:module>
+             <dep:name>ServerInfo</dep:name>
+         </dep:reference>
+         <dep:reference name="LoginService">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/Security</dep:module>
+             <dep:name>JaasLoginService</dep:name>
+         </dep:reference>
+     </dep:gbean>
+
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorba"
+    parentId="org/apache/geronimo/ServerCORBA">
+
+    <import>
+        <uri>org/apache/geronimo/Security</uri>
+    </import>
+
+    <module>
+        <ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+        <openejb-jar
+            xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"
+            configId="MagicGBallEJB"
+            parentId="org/apache/geronimo/ServerCORBA">
+
+            <enterprise-beans>
+                <session>
+                    <ejb-name>MagicGBall</ejb-name>
+                    <jndi-name>MagicGBall</jndi-name>
+                    <tss-link>SSLClientPassword </tss-link>
+                </session>
+            </enterprise-beans>
+        </openejb-jar>
+    </module>
+
+    <module>
+        <web>magicGball-${geronimo_version}.war</web>
+        <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0" configId="MagicGBallWAR">
+            <context-priority-classloader>false</context-priority-classloader>
+        </web-app>
+    </module>
+
+    <module>
+        <java>magicGball-client-${geronimo_version}.jar</java>
+        <application-client xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client"
+            configId="client"
+            clientConfigId="org/apache/geronimo/MagicGBallClient"
+            clientParentId="org/apache/geronimo/ClientCORBA">
+            <import>
+                <uri>org/apache/geronimo/ClientSecurity</uri>
+            </import>
+            <ejb-ref>
+                <ref-name>mGball</ref-name>
+                <ns-corbaloc>corbaloc::localhost:1050/NameService</ns-corbaloc>
+                <name>MagicGBall</name>
+                <css-link>SSLClientPassword</css-link>
+            </ejb-ref>
+            <realm-name>client-properties-realm</realm-name>
+            <callback-handler>org.acme.MagicGBallCallbackHandler</callback-handler>
+        </application-client>
+    </module>
+
+    <security>
+        <default-principal>
+            <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="system"/>
+        </default-principal>
+        <role-mappings>
+            <role role-name="admin">
+                <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin" designated-run-as="true"/>
+            </role>
+        </role-mappings>
+    </security>
+
+    <dep:gbean name="default"
+         class="org.apache.geronimo.security.realm.GenericSecurityRealm"
+        xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.0">
+         <dep:attribute name="realmName">default</dep:attribute>
+         <dep:xml-reference name="LoginModuleConfiguration">
+             <lc:login-config xmlns:lc="http://geronimo.apache.org/xml/ns/loginconfig">
+                 <lc:login-module control-flag="REQUIRED" server-side="true">
+                     <lc:login-domain-name>default</lc:login-domain-name>
+                     <lc:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</lc:login-module-class>
+                     <lc:option name="usersURI">var/security/users.properties</lc:option>
+                     <lc:option name="groupsURI">var/security/groups.properties</lc:option>
+                 </lc:login-module>
+             </lc:login-config>
+         </dep:xml-reference>
+         <dep:reference name="ServerInfo">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/System</dep:module>
+             <dep:name>ServerInfo</dep:name>
+         </dep:reference>
+         <dep:reference name="LoginService">
+             <dep:application>null</dep:application>
+             <dep:module>org/apache/geronimo/Security</dep:module>
+             <dep:name>JaasLoginService</dep:name>
+         </dep:reference>
+     </dep:gbean>
+
+</application>

Propchange: geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+<application>
+	<display-name>MagicGBall</display-name>
+	<module>
+		<ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+	</module>
+	<module>
+		<web>
+			<web-uri>magicGball-${geronimo_version}.war</web-uri>
+			<context-root>magicGball</context-root>
+		</web>
+	</module>
+	<module>
+		<java>magicGball-client-${geronimo_version}.jar</java>
+	</module>
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+<application>
+	<display-name>MagicGBall</display-name>
+	<module>
+		<ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+	</module>
+	<module>
+		<web>
+			<web-uri>magicGball-${geronimo_version}.war</web-uri>
+			<context-root>magicGball</context-root>
+		</web>
+	</module>
+	<module>
+		<java>magicGball-client-${geronimo_version}.jar</java>
+	</module>
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+<application>
+	<display-name>MagicGBall</display-name>
+	<module>
+		<ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+	</module>
+	<module>
+		<web>
+			<web-uri>magicGball-${geronimo_version}.war</web-uri>
+			<context-root>magicGball</context-root>
+		</web>
+	</module>
+	<module>
+		<java>magicGball-client-${geronimo_version}.jar</java>
+	</module>
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+<application>
+	<display-name>MagicGBall</display-name>
+	<module>
+		<ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+	</module>
+	<module>
+		<web>
+			<web-uri>magicGball-${geronimo_version}.war</web-uri>
+			<context-root>magicGball</context-root>
+		</web>
+	</module>
+	<module>
+		<java>magicGball-client-${geronimo_version}.jar</java>
+	</module>
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
+<application>
+	<display-name>MagicGBall</display-name>
+	<module>
+		<ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
+	</module>
+	<module>
+		<web>
+			<web-uri>magicGball-${geronimo_version}.war</web-uri>
+			<context-root>magicGball</context-root>
+		</web>
+	</module>
+	<module>
+		<java>magicGball-client-${geronimo_version}.jar</java>
+	</module>
+</application>

Propchange: geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  
+    Copyright 2006 The Apache Software Foundation
+    
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project>
+  <parent>
+    <groupId>org.apache.geronimo.applications.magicGball</groupId>
+    <version>1.2-SNAPSHOT</version>
+    <artifactId>magicGball-parent</artifactId>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>magicGball-ejb</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>ejb</packaging>
+  <name>Geronimo :: The Magic G Ball Sample :: EJB</name>
+
+</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  
+    Copyright 2006 The Apache Software Foundation
+    
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+    
+       http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project>
+  <parent>
+    <groupId>org.apache.geronimo.applications.magicGball</groupId>
+    <version>1.2-SNAPSHOT</version>
+    <artifactId>magicGball-parent</artifactId>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>magicGball-ejb</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>ejb</packaging>
+  <name>Geronimo :: The Magic G Ball Sample :: EJB</name>
+
+</project>

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,156 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Remote interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBall extends javax.ejb.EJBObject {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Remote interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBall extends javax.ejb.EJBObject {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Remote interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBall extends javax.ejb.EJBObject {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Remote interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBall extends javax.ejb.EJBObject {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Remote interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBall extends javax.ejb.EJBObject {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Remote interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBall extends javax.ejb.EJBObject {
+	public String ask(String question) throws java.rmi.RemoteException;
+}

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,390 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Bean implementation class for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallBean implements javax.ejb.SessionBean {
+
+	private static final String[] answers = {"It is certain","Outlook not so good","You may rely on it","My Sources say no","It is decidedly so", "Rephrase and ask again","Most likely","Don't count on it","Yes definitely","Very doubtful"}; 
+
+	public String ask(String question){
+		return answers[Math.abs(question.hashCode()) % answers.length];
+	}
+	
+	private javax.ejb.SessionContext mySessionCtx;
+	/**
+	 * getSessionContext
+	 */
+	public javax.ejb.SessionContext getSessionContext() {
+		return mySessionCtx;
+	}
+	/**
+	 * setSessionContext
+	 */
+	public void setSessionContext(javax.ejb.SessionContext ctx) {
+		mySessionCtx = ctx;
+	}
+	/**
+	 * ejbCreate
+	 */
+	public void ejbCreate() throws javax.ejb.CreateException {
+	}
+	/**
+	 * ejbActivate
+	 */
+	public void ejbActivate() {
+	}
+	/**
+	 * ejbPassivate
+	 */
+	public void ejbPassivate() {
+	}
+	/**
+	 * ejbRemove
+	 */
+	public void ejbRemove() {
+	}
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Bean implementation class for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallBean implements javax.ejb.SessionBean {
+
+	private static final String[] answers = {"It is certain","Outlook not so good","You may rely on it","My Sources say no","It is decidedly so", "Rephrase and ask again","Most likely","Don't count on it","Yes definitely","Very doubtful"}; 
+
+	public String ask(String question){
+		return answers[Math.abs(question.hashCode()) % answers.length];
+	}
+	
+	private javax.ejb.SessionContext mySessionCtx;
+	/**
+	 * getSessionContext
+	 */
+	public javax.ejb.SessionContext getSessionContext() {
+		return mySessionCtx;
+	}
+	/**
+	 * setSessionContext
+	 */
+	public void setSessionContext(javax.ejb.SessionContext ctx) {
+		mySessionCtx = ctx;
+	}
+	/**
+	 * ejbCreate
+	 */
+	public void ejbCreate() throws javax.ejb.CreateException {
+	}
+	/**
+	 * ejbActivate
+	 */
+	public void ejbActivate() {
+	}
+	/**
+	 * ejbPassivate
+	 */
+	public void ejbPassivate() {
+	}
+	/**
+	 * ejbRemove
+	 */
+	public void ejbRemove() {
+	}
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Bean implementation class for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallBean implements javax.ejb.SessionBean {
+
+	private static final String[] answers = {"It is certain","Outlook not so good","You may rely on it","My Sources say no","It is decidedly so", "Rephrase and ask again","Most likely","Don't count on it","Yes definitely","Very doubtful"}; 
+
+	public String ask(String question){
+		return answers[Math.abs(question.hashCode()) % answers.length];
+	}
+	
+	private javax.ejb.SessionContext mySessionCtx;
+	/**
+	 * getSessionContext
+	 */
+	public javax.ejb.SessionContext getSessionContext() {
+		return mySessionCtx;
+	}
+	/**
+	 * setSessionContext
+	 */
+	public void setSessionContext(javax.ejb.SessionContext ctx) {
+		mySessionCtx = ctx;
+	}
+	/**
+	 * ejbCreate
+	 */
+	public void ejbCreate() throws javax.ejb.CreateException {
+	}
+	/**
+	 * ejbActivate
+	 */
+	public void ejbActivate() {
+	}
+	/**
+	 * ejbPassivate
+	 */
+	public void ejbPassivate() {
+	}
+	/**
+	 * ejbRemove
+	 */
+	public void ejbRemove() {
+	}
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Bean implementation class for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallBean implements javax.ejb.SessionBean {
+
+	private static final String[] answers = {"It is certain","Outlook not so good","You may rely on it","My Sources say no","It is decidedly so", "Rephrase and ask again","Most likely","Don't count on it","Yes definitely","Very doubtful"}; 
+
+	public String ask(String question){
+		return answers[Math.abs(question.hashCode()) % answers.length];
+	}
+	
+	private javax.ejb.SessionContext mySessionCtx;
+	/**
+	 * getSessionContext
+	 */
+	public javax.ejb.SessionContext getSessionContext() {
+		return mySessionCtx;
+	}
+	/**
+	 * setSessionContext
+	 */
+	public void setSessionContext(javax.ejb.SessionContext ctx) {
+		mySessionCtx = ctx;
+	}
+	/**
+	 * ejbCreate
+	 */
+	public void ejbCreate() throws javax.ejb.CreateException {
+	}
+	/**
+	 * ejbActivate
+	 */
+	public void ejbActivate() {
+	}
+	/**
+	 * ejbPassivate
+	 */
+	public void ejbPassivate() {
+	}
+	/**
+	 * ejbRemove
+	 */
+	public void ejbRemove() {
+	}
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Bean implementation class for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallBean implements javax.ejb.SessionBean {
+
+	private static final String[] answers = {"It is certain","Outlook not so good","You may rely on it","My Sources say no","It is decidedly so", "Rephrase and ask again","Most likely","Don't count on it","Yes definitely","Very doubtful"}; 
+
+	public String ask(String question){
+		return answers[Math.abs(question.hashCode()) % answers.length];
+	}
+	
+	private javax.ejb.SessionContext mySessionCtx;
+	/**
+	 * getSessionContext
+	 */
+	public javax.ejb.SessionContext getSessionContext() {
+		return mySessionCtx;
+	}
+	/**
+	 * setSessionContext
+	 */
+	public void setSessionContext(javax.ejb.SessionContext ctx) {
+		mySessionCtx = ctx;
+	}
+	/**
+	 * ejbCreate
+	 */
+	public void ejbCreate() throws javax.ejb.CreateException {
+	}
+	/**
+	 * ejbActivate
+	 */
+	public void ejbActivate() {
+	}
+	/**
+	 * ejbPassivate
+	 */
+	public void ejbPassivate() {
+	}
+	/**
+	 * ejbRemove
+	 */
+	public void ejbRemove() {
+	}
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Bean implementation class for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallBean implements javax.ejb.SessionBean {
+
+	private static final String[] answers = {"It is certain","Outlook not so good","You may rely on it","My Sources say no","It is decidedly so", "Rephrase and ask again","Most likely","Don't count on it","Yes definitely","Very doubtful"}; 
+
+	public String ask(String question){
+		return answers[Math.abs(question.hashCode()) % answers.length];
+	}
+	
+	private javax.ejb.SessionContext mySessionCtx;
+	/**
+	 * getSessionContext
+	 */
+	public javax.ejb.SessionContext getSessionContext() {
+		return mySessionCtx;
+	}
+	/**
+	 * setSessionContext
+	 */
+	public void setSessionContext(javax.ejb.SessionContext ctx) {
+		mySessionCtx = ctx;
+	}
+	/**
+	 * ejbCreate
+	 */
+	public void ejbCreate() throws javax.ejb.CreateException {
+	}
+	/**
+	 * ejbActivate
+	 */
+	public void ejbActivate() {
+	}
+	/**
+	 * ejbPassivate
+	 */
+	public void ejbPassivate() {
+	}
+	/**
+	 * ejbRemove
+	 */
+	public void ejbRemove() {
+	}
+}

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,264 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.acme;
+
+import java.io.IOException;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.UnsupportedCallbackException;
+import javax.security.auth.callback.NameCallback;
+import javax.security.auth.callback.PasswordCallback;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallCallbackHandler implements CallbackHandler {
+
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            Callback callback = callbacks[i];
+            if (callback instanceof NameCallback) {
+                ((NameCallback)callback).setName("system");
+            } else if (callback instanceof PasswordCallback) {
+                ((PasswordCallback)callback).setPassword("manager".toCharArray());
+            } else {
+                throw new UnsupportedCallbackException(callback);
+            }
+            System.out.println("CallbackHandler set user=system, password=manager");
+        }
+    }
+}
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.acme;
+
+import java.io.IOException;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.UnsupportedCallbackException;
+import javax.security.auth.callback.NameCallback;
+import javax.security.auth.callback.PasswordCallback;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallCallbackHandler implements CallbackHandler {
+
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            Callback callback = callbacks[i];
+            if (callback instanceof NameCallback) {
+                ((NameCallback)callback).setName("system");
+            } else if (callback instanceof PasswordCallback) {
+                ((PasswordCallback)callback).setPassword("manager".toCharArray());
+            } else {
+                throw new UnsupportedCallbackException(callback);
+            }
+            System.out.println("CallbackHandler set user=system, password=manager");
+        }
+    }
+}
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.acme;
+
+import java.io.IOException;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.UnsupportedCallbackException;
+import javax.security.auth.callback.NameCallback;
+import javax.security.auth.callback.PasswordCallback;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallCallbackHandler implements CallbackHandler {
+
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            Callback callback = callbacks[i];
+            if (callback instanceof NameCallback) {
+                ((NameCallback)callback).setName("system");
+            } else if (callback instanceof PasswordCallback) {
+                ((PasswordCallback)callback).setPassword("manager".toCharArray());
+            } else {
+                throw new UnsupportedCallbackException(callback);
+            }
+            System.out.println("CallbackHandler set user=system, password=manager");
+        }
+    }
+}
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.acme;
+
+import java.io.IOException;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.UnsupportedCallbackException;
+import javax.security.auth.callback.NameCallback;
+import javax.security.auth.callback.PasswordCallback;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallCallbackHandler implements CallbackHandler {
+
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            Callback callback = callbacks[i];
+            if (callback instanceof NameCallback) {
+                ((NameCallback)callback).setName("system");
+            } else if (callback instanceof PasswordCallback) {
+                ((PasswordCallback)callback).setPassword("manager".toCharArray());
+            } else {
+                throw new UnsupportedCallbackException(callback);
+            }
+            System.out.println("CallbackHandler set user=system, password=manager");
+        }
+    }
+}
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.acme;
+
+import java.io.IOException;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.UnsupportedCallbackException;
+import javax.security.auth.callback.NameCallback;
+import javax.security.auth.callback.PasswordCallback;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallCallbackHandler implements CallbackHandler {
+
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            Callback callback = callbacks[i];
+            if (callback instanceof NameCallback) {
+                ((NameCallback)callback).setName("system");
+            } else if (callback instanceof PasswordCallback) {
+                ((PasswordCallback)callback).setPassword("manager".toCharArray());
+            } else {
+                throw new UnsupportedCallbackException(callback);
+            }
+            System.out.println("CallbackHandler set user=system, password=manager");
+        }
+    }
+}
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.acme;
+
+import java.io.IOException;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.UnsupportedCallbackException;
+import javax.security.auth.callback.NameCallback;
+import javax.security.auth.callback.PasswordCallback;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallCallbackHandler implements CallbackHandler {
+
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            Callback callback = callbacks[i];
+            if (callback instanceof NameCallback) {
+                ((NameCallback)callback).setName("system");
+            } else if (callback instanceof PasswordCallback) {
+                ((PasswordCallback)callback).setPassword("manager".toCharArray());
+            } else {
+                throw new UnsupportedCallbackException(callback);
+            }
+            System.out.println("CallbackHandler set user=system, password=manager");
+        }
+    }
+}

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,156 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * ServiceEndpoint interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallEndpoint extends java.rmi.Remote {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * ServiceEndpoint interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallEndpoint extends java.rmi.Remote {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * ServiceEndpoint interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallEndpoint extends java.rmi.Remote {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * ServiceEndpoint interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallEndpoint extends java.rmi.Remote {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * ServiceEndpoint interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallEndpoint extends java.rmi.Remote {
+	public String ask(String question) throws java.rmi.RemoteException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * ServiceEndpoint interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallEndpoint extends java.rmi.Remote {
+	public String ask(String question) throws java.rmi.RemoteException;
+}

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,174 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Home interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallHome extends javax.ejb.EJBHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public MagicGBall create() throws javax.ejb.CreateException, java.rmi.RemoteException;;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Home interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallHome extends javax.ejb.EJBHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public MagicGBall create() throws javax.ejb.CreateException, java.rmi.RemoteException;;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Home interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallHome extends javax.ejb.EJBHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public MagicGBall create() throws javax.ejb.CreateException, java.rmi.RemoteException;;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Home interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallHome extends javax.ejb.EJBHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public MagicGBall create() throws javax.ejb.CreateException, java.rmi.RemoteException;;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Home interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallHome extends javax.ejb.EJBHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public MagicGBall create() throws javax.ejb.CreateException, java.rmi.RemoteException;;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Home interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallHome extends javax.ejb.EJBHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public MagicGBall create() throws javax.ejb.CreateException, java.rmi.RemoteException;;
+}

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,156 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocal extends javax.ejb.EJBLocalObject {
+	public String ask(String question);
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocal extends javax.ejb.EJBLocalObject {
+	public String ask(String question);
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocal extends javax.ejb.EJBLocalObject {
+	public String ask(String question);
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocal extends javax.ejb.EJBLocalObject {
+	public String ask(String question);
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocal extends javax.ejb.EJBLocalObject {
+	public String ask(String question);
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local interface for Enterprise Bean: MagicGBall
+ *
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocal extends javax.ejb.EJBLocalObject {
+	public String ask(String question);
+}

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,174 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local Home interface for Enterprise Bean: MagicGBall
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocalHome extends javax.ejb.EJBLocalHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public org.acme.MagicGBallLocal create() throws javax.ejb.CreateException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local Home interface for Enterprise Bean: MagicGBall
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocalHome extends javax.ejb.EJBLocalHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public org.acme.MagicGBallLocal create() throws javax.ejb.CreateException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local Home interface for Enterprise Bean: MagicGBall
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocalHome extends javax.ejb.EJBLocalHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public org.acme.MagicGBallLocal create() throws javax.ejb.CreateException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local Home interface for Enterprise Bean: MagicGBall
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocalHome extends javax.ejb.EJBLocalHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public org.acme.MagicGBallLocal create() throws javax.ejb.CreateException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local Home interface for Enterprise Bean: MagicGBall
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocalHome extends javax.ejb.EJBLocalHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public org.acme.MagicGBallLocal create() throws javax.ejb.CreateException;
+}
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.acme;
+/**
+ * Local Home interface for Enterprise Bean: MagicGBall
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface MagicGBallLocalHome extends javax.ejb.EJBLocalHome {
+	/**
+	 * Creates a default instance of Session Bean: MagicGBall
+	 */
+	public org.acme.MagicGBallLocal create() throws javax.ejb.CreateException;
+}

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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>
+	<display-name>MagicGBallEJB</display-name>
+	<enterprise-beans>
+		<session id="MagicGBall">
+			<ejb-name>MagicGBall</ejb-name>
+			<home>org.acme.MagicGBallHome</home>
+			<remote>org.acme.MagicGBall</remote>
+			<local-home>org.acme.MagicGBallLocalHome</local-home>
+			<local>org.acme.MagicGBallLocal</local>
+			<ejb-class>org.acme.MagicGBallBean</ejb-class>
+			<session-type>Stateless</session-type>
+			<transaction-type>Container</transaction-type>
+		</session>
+	</enterprise-beans>
+</ejb-jar>
+<?xml version="1.0" encoding="UTF-8"?>
+<!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>
+	<display-name>MagicGBallEJB</display-name>
+	<enterprise-beans>
+		<session id="MagicGBall">
+			<ejb-name>MagicGBall</ejb-name>
+			<home>org.acme.MagicGBallHome</home>
+			<remote>org.acme.MagicGBall</remote>
+			<local-home>org.acme.MagicGBallLocalHome</local-home>
+			<local>org.acme.MagicGBallLocal</local>
+			<ejb-class>org.acme.MagicGBallBean</ejb-class>
+			<session-type>Stateless</session-type>
+			<transaction-type>Container</transaction-type>
+		</session>
+	</enterprise-beans>
+</ejb-jar>
+<?xml version="1.0" encoding="UTF-8"?>
+<!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>
+	<display-name>MagicGBallEJB</display-name>
+	<enterprise-beans>
+		<session id="MagicGBall">
+			<ejb-name>MagicGBall</ejb-name>
+			<home>org.acme.MagicGBallHome</home>
+			<remote>org.acme.MagicGBall</remote>
+			<local-home>org.acme.MagicGBallLocalHome</local-home>
+			<local>org.acme.MagicGBallLocal</local>
+			<ejb-class>org.acme.MagicGBallBean</ejb-class>
+			<session-type>Stateless</session-type>
+			<transaction-type>Container</transaction-type>
+		</session>
+	</enterprise-beans>
+</ejb-jar>
+<?xml version="1.0" encoding="UTF-8"?>
+<!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>
+	<display-name>MagicGBallEJB</display-name>
+	<enterprise-beans>
+		<session id="MagicGBall">
+			<ejb-name>MagicGBall</ejb-name>
+			<home>org.acme.MagicGBallHome</home>
+			<remote>org.acme.MagicGBall</remote>
+			<local-home>org.acme.MagicGBallLocalHome</local-home>
+			<local>org.acme.MagicGBallLocal</local>
+			<ejb-class>org.acme.MagicGBallBean</ejb-class>
+			<session-type>Stateless</session-type>
+			<transaction-type>Container</transaction-type>
+		</session>
+	</enterprise-beans>
+</ejb-jar>
+<?xml version="1.0" encoding="UTF-8"?>
+<!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>
+	<display-name>MagicGBallEJB</display-name>
+	<enterprise-beans>
+		<session id="MagicGBall">
+			<ejb-name>MagicGBall</ejb-name>
+			<home>org.acme.MagicGBallHome</home>
+			<remote>org.acme.MagicGBall</remote>
+			<local-home>org.acme.MagicGBallLocalHome</local-home>
+			<local>org.acme.MagicGBallLocal</local>
+			<ejb-class>org.acme.MagicGBallBean</ejb-class>
+			<session-type>Stateless</session-type>
+			<transaction-type>Container</transaction-type>
+		</session>
+	</enterprise-beans>
+</ejb-jar>

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message