geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r390638 [1/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
Author: jlaskowski
Date: Sat Apr  1 02:07:59 2006
New Revision: 390638

URL: http://svn.apache.org/viewcvs?rev=390638&view=rev
Log:
GERONIMO-1785 - Application migration to Maven 2: magicGball
Submitted by: Prasad Kashyap

Added:
    geronimo/trunk/applications/magicGball/magicGball-client/
    geronimo/trunk/applications/magicGball/magicGball-client/pom.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-client/src/
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBall.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallCallbackHandler.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallClient.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallHome.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallJaxRpcClient.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-client/src/resources/
    geronimo/trunk/applications/magicGball/magicGball-client/src/resources/META-INF/
    geronimo/trunk/applications/magicGball/magicGball-client/src/resources/META-INF/application-client.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ear/
    geronimo/trunk/applications/magicGball/magicGball-ear/pom.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ear/src/
    geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/
    geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-nosec-plan.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-plan.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/
    geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/
    geronimo/trunk/applications/magicGball/magicGball-ear/src/resources/META-INF/application.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/
    geronimo/trunk/applications/magicGball/magicGball-ejb/pom.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBall.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallBean.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallCallbackHandler.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallEndpoint.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallHome.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocal.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/java/org/acme/MagicGBallLocalHome.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/ejb-jar.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/webservices.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/wsdl/
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/wsdl/MagicGBall-mapping.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-ejb/src/resources/META-INF/wsdl/MagicGBall.wsdl   (with props)
    geronimo/trunk/applications/magicGball/magicGball-web/
    geronimo/trunk/applications/magicGball/magicGball-web/pom.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-web/src/
    geronimo/trunk/applications/magicGball/magicGball-web/src/java/
    geronimo/trunk/applications/magicGball/magicGball-web/src/java/org/
    geronimo/trunk/applications/magicGball/magicGball-web/src/java/org/acme/
    geronimo/trunk/applications/magicGball/magicGball-web/src/java/org/acme/MagicGBallServlet.java   (with props)
    geronimo/trunk/applications/magicGball/magicGball-web/src/webapp/
    geronimo/trunk/applications/magicGball/magicGball-web/src/webapp/WEB-INF/
    geronimo/trunk/applications/magicGball/magicGball-web/src/webapp/WEB-INF/web.xml   (with props)
    geronimo/trunk/applications/magicGball/magicGball-web/src/webapp/index.html   (with props)
    geronimo/trunk/applications/magicGball/pom.xml   (with props)
Modified:
    geronimo/trunk/applications/magicGball/LICENSE.txt   (props changed)
    geronimo/trunk/applications/magicGball/NOTICE   (props changed)
    geronimo/trunk/applications/magicGball/maven.xml   (props changed)
    geronimo/trunk/applications/magicGball/project.properties   (props changed)
    geronimo/trunk/applications/magicGball/project.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBall.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallBean.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallCallbackHandler.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallClient.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallEndpoint.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallHome.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallJaxRpcClient.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallLocal.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallLocalHome.java   (props changed)
    geronimo/trunk/applications/magicGball/src/java/org/acme/MagicGBallServlet.java   (props changed)
    geronimo/trunk/applications/magicGball/src/plan/magicgball-corba-nosec-plan.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/plan/magicgball-corba-plan.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/resources/client/META-INF/application-client.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/resources/ear/META-INF/application.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/resources/ejb/META-INF/ejb-jar.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/resources/ejb/META-INF/webservices.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/resources/ejb/META-INF/wsdl/MagicGBall-mapping.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/resources/ejb/META-INF/wsdl/MagicGBall.wsdl   (props changed)
    geronimo/trunk/applications/magicGball/src/webapp/WEB-INF/web.xml   (props changed)
    geronimo/trunk/applications/magicGball/src/webapp/index.html   (props changed)
    geronimo/trunk/applications/pom.xml

Propchange: geronimo/trunk/applications/magicGball/LICENSE.txt
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Apr  1 02:07:59 2006
@@ -1 +1 @@
-Date Author Id Revision HeadURL
+Rev Date

Propchange: geronimo/trunk/applications/magicGball/NOTICE
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: geronimo/trunk/applications/magicGball/magicGball-client/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-client/pom.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-client/pom.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-client/pom.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,110 @@
+<?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-client</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>Geronimo :: The Magic G Ball Sample :: Client</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-ejb</artifactId>
+      <version>1.2-SNAPSHOT</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-ejb-plugin</artifactId>
+        <configuration>
+           <generateClient>true</generateClient>
+        </configuration>
+      </plugin>
+    </plugins>
+
+  
+  </build>
+
+</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-client</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>Geronimo :: The Magic G Ball Sample :: Client</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-ejb</artifactId>
+      <version>1.2-SNAPSHOT</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-ejb-plugin</artifactId>
+        <configuration>
+           <generateClient>true</generateClient>
+        </configuration>
+      </plugin>
+    </plugins>
+
+  
+  </build>
+
+</project>

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

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBall.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBall.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBall.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-client/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-client/src/java/org/acme/MagicGBall.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallCallbackHandler.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallCallbackHandler.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallCallbackHandler.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-client/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-client/src/java/org/acme/MagicGBallCallbackHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallClient.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallClient.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallClient.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallClient.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,312 @@
+/**
+ *
+ * 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;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.rmi.PortableRemoteObject;
+
+/**
+ * Run this app client from the command line and pass in a question as an argument.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallClient {
+    public static void main(String[] args) throws Exception{
+        if (args.length < 1){
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        MagicGBallClient magicGBallClient = new MagicGBallClient();
+        for (int i = 0; i < args.length; i++) {
+            magicGBallClient.ask(args[i]);
+        }
+    }
+
+	public void ask(String question) throws Exception {
+        Context ctx = new InitialContext();
+        Object o = ctx.lookup("java:comp/env/mGball");
+        MagicGBallHome ejbHome = (MagicGBallHome) PortableRemoteObject.narrow(o, MagicGBallHome.class);
+        MagicGBall mGball = ejbHome.create();
+        String answer = mGball.ask(question);
+
+        System.out.println(answer);
+	}
+
+}
+/**
+ *
+ * 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;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.rmi.PortableRemoteObject;
+
+/**
+ * Run this app client from the command line and pass in a question as an argument.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallClient {
+    public static void main(String[] args) throws Exception{
+        if (args.length < 1){
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        MagicGBallClient magicGBallClient = new MagicGBallClient();
+        for (int i = 0; i < args.length; i++) {
+            magicGBallClient.ask(args[i]);
+        }
+    }
+
+	public void ask(String question) throws Exception {
+        Context ctx = new InitialContext();
+        Object o = ctx.lookup("java:comp/env/mGball");
+        MagicGBallHome ejbHome = (MagicGBallHome) PortableRemoteObject.narrow(o, MagicGBallHome.class);
+        MagicGBall mGball = ejbHome.create();
+        String answer = mGball.ask(question);
+
+        System.out.println(answer);
+	}
+
+}
+/**
+ *
+ * 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;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.rmi.PortableRemoteObject;
+
+/**
+ * Run this app client from the command line and pass in a question as an argument.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallClient {
+    public static void main(String[] args) throws Exception{
+        if (args.length < 1){
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        MagicGBallClient magicGBallClient = new MagicGBallClient();
+        for (int i = 0; i < args.length; i++) {
+            magicGBallClient.ask(args[i]);
+        }
+    }
+
+	public void ask(String question) throws Exception {
+        Context ctx = new InitialContext();
+        Object o = ctx.lookup("java:comp/env/mGball");
+        MagicGBallHome ejbHome = (MagicGBallHome) PortableRemoteObject.narrow(o, MagicGBallHome.class);
+        MagicGBall mGball = ejbHome.create();
+        String answer = mGball.ask(question);
+
+        System.out.println(answer);
+	}
+
+}
+/**
+ *
+ * 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;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.rmi.PortableRemoteObject;
+
+/**
+ * Run this app client from the command line and pass in a question as an argument.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallClient {
+    public static void main(String[] args) throws Exception{
+        if (args.length < 1){
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        MagicGBallClient magicGBallClient = new MagicGBallClient();
+        for (int i = 0; i < args.length; i++) {
+            magicGBallClient.ask(args[i]);
+        }
+    }
+
+	public void ask(String question) throws Exception {
+        Context ctx = new InitialContext();
+        Object o = ctx.lookup("java:comp/env/mGball");
+        MagicGBallHome ejbHome = (MagicGBallHome) PortableRemoteObject.narrow(o, MagicGBallHome.class);
+        MagicGBall mGball = ejbHome.create();
+        String answer = mGball.ask(question);
+
+        System.out.println(answer);
+	}
+
+}
+/**
+ *
+ * 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;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.rmi.PortableRemoteObject;
+
+/**
+ * Run this app client from the command line and pass in a question as an argument.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallClient {
+    public static void main(String[] args) throws Exception{
+        if (args.length < 1){
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        MagicGBallClient magicGBallClient = new MagicGBallClient();
+        for (int i = 0; i < args.length; i++) {
+            magicGBallClient.ask(args[i]);
+        }
+    }
+
+	public void ask(String question) throws Exception {
+        Context ctx = new InitialContext();
+        Object o = ctx.lookup("java:comp/env/mGball");
+        MagicGBallHome ejbHome = (MagicGBallHome) PortableRemoteObject.narrow(o, MagicGBallHome.class);
+        MagicGBall mGball = ejbHome.create();
+        String answer = mGball.ask(question);
+
+        System.out.println(answer);
+	}
+
+}
+/**
+ *
+ * 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;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.rmi.PortableRemoteObject;
+
+/**
+ * Run this app client from the command line and pass in a question as an argument.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MagicGBallClient {
+    public static void main(String[] args) throws Exception{
+        if (args.length < 1){
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        MagicGBallClient magicGBallClient = new MagicGBallClient();
+        for (int i = 0; i < args.length; i++) {
+            magicGBallClient.ask(args[i]);
+        }
+    }
+
+	public void ask(String question) throws Exception {
+        Context ctx = new InitialContext();
+        Object o = ctx.lookup("java:comp/env/mGball");
+        MagicGBallHome ejbHome = (MagicGBallHome) PortableRemoteObject.narrow(o, MagicGBallHome.class);
+        MagicGBall mGball = ejbHome.create();
+        String answer = mGball.ask(question);
+
+        System.out.println(answer);
+	}
+
+}

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

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallHome.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallHome.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallHome.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-client/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-client/src/java/org/acme/MagicGBallHome.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallJaxRpcClient.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallJaxRpcClient.java?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallJaxRpcClient.java (added)
+++ geronimo/trunk/applications/magicGball/magicGball-client/src/java/org/acme/MagicGBallJaxRpcClient.java Sat Apr  1 02:07:59 2006
@@ -0,0 +1,300 @@
+/**
+ *
+ * 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;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+
+public class MagicGBallJaxRpcClient {
+    public static void main(String[] args) {
+        if (args.length < 1) {
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        try {
+            URL wsdlURL = new URL("http://localhost:8000/services/MagicGBall?wsdl");
+            String namespaceURI = "http://acme.org/magicGball";
+            QName serviceQName = new QName(namespaceURI, "MagicGBallService");
+            QName portQName = new QName(namespaceURI, "MagicGBallPort");
+
+            ServiceFactory serviceFactory = ServiceFactory.newInstance();
+            Service service = serviceFactory.createService(wsdlURL, serviceQName);
+            MagicGBallEndpoint mGball = (MagicGBallEndpoint) service.getPort(portQName, MagicGBallEndpoint.class);
+
+            for (int i = 0; i < args.length; i++) {
+                String question = args[i];
+                String answer = mGball.ask(question);
+                System.out.println(answer);
+            }
+        } catch (Exception e) {
+            System.err.println(e.toString());
+        }
+    }
+}
+/**
+ *
+ * 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;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+
+public class MagicGBallJaxRpcClient {
+    public static void main(String[] args) {
+        if (args.length < 1) {
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        try {
+            URL wsdlURL = new URL("http://localhost:8000/services/MagicGBall?wsdl");
+            String namespaceURI = "http://acme.org/magicGball";
+            QName serviceQName = new QName(namespaceURI, "MagicGBallService");
+            QName portQName = new QName(namespaceURI, "MagicGBallPort");
+
+            ServiceFactory serviceFactory = ServiceFactory.newInstance();
+            Service service = serviceFactory.createService(wsdlURL, serviceQName);
+            MagicGBallEndpoint mGball = (MagicGBallEndpoint) service.getPort(portQName, MagicGBallEndpoint.class);
+
+            for (int i = 0; i < args.length; i++) {
+                String question = args[i];
+                String answer = mGball.ask(question);
+                System.out.println(answer);
+            }
+        } catch (Exception e) {
+            System.err.println(e.toString());
+        }
+    }
+}
+/**
+ *
+ * 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;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+
+public class MagicGBallJaxRpcClient {
+    public static void main(String[] args) {
+        if (args.length < 1) {
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        try {
+            URL wsdlURL = new URL("http://localhost:8000/services/MagicGBall?wsdl");
+            String namespaceURI = "http://acme.org/magicGball";
+            QName serviceQName = new QName(namespaceURI, "MagicGBallService");
+            QName portQName = new QName(namespaceURI, "MagicGBallPort");
+
+            ServiceFactory serviceFactory = ServiceFactory.newInstance();
+            Service service = serviceFactory.createService(wsdlURL, serviceQName);
+            MagicGBallEndpoint mGball = (MagicGBallEndpoint) service.getPort(portQName, MagicGBallEndpoint.class);
+
+            for (int i = 0; i < args.length; i++) {
+                String question = args[i];
+                String answer = mGball.ask(question);
+                System.out.println(answer);
+            }
+        } catch (Exception e) {
+            System.err.println(e.toString());
+        }
+    }
+}
+/**
+ *
+ * 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;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+
+public class MagicGBallJaxRpcClient {
+    public static void main(String[] args) {
+        if (args.length < 1) {
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        try {
+            URL wsdlURL = new URL("http://localhost:8000/services/MagicGBall?wsdl");
+            String namespaceURI = "http://acme.org/magicGball";
+            QName serviceQName = new QName(namespaceURI, "MagicGBallService");
+            QName portQName = new QName(namespaceURI, "MagicGBallPort");
+
+            ServiceFactory serviceFactory = ServiceFactory.newInstance();
+            Service service = serviceFactory.createService(wsdlURL, serviceQName);
+            MagicGBallEndpoint mGball = (MagicGBallEndpoint) service.getPort(portQName, MagicGBallEndpoint.class);
+
+            for (int i = 0; i < args.length; i++) {
+                String question = args[i];
+                String answer = mGball.ask(question);
+                System.out.println(answer);
+            }
+        } catch (Exception e) {
+            System.err.println(e.toString());
+        }
+    }
+}
+/**
+ *
+ * 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;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+
+public class MagicGBallJaxRpcClient {
+    public static void main(String[] args) {
+        if (args.length < 1) {
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        try {
+            URL wsdlURL = new URL("http://localhost:8000/services/MagicGBall?wsdl");
+            String namespaceURI = "http://acme.org/magicGball";
+            QName serviceQName = new QName(namespaceURI, "MagicGBallService");
+            QName portQName = new QName(namespaceURI, "MagicGBallPort");
+
+            ServiceFactory serviceFactory = ServiceFactory.newInstance();
+            Service service = serviceFactory.createService(wsdlURL, serviceQName);
+            MagicGBallEndpoint mGball = (MagicGBallEndpoint) service.getPort(portQName, MagicGBallEndpoint.class);
+
+            for (int i = 0; i < args.length; i++) {
+                String question = args[i];
+                String answer = mGball.ask(question);
+                System.out.println(answer);
+            }
+        } catch (Exception e) {
+            System.err.println(e.toString());
+        }
+    }
+}
+/**
+ *
+ * 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;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+
+public class MagicGBallJaxRpcClient {
+    public static void main(String[] args) {
+        if (args.length < 1) {
+            System.err.println("Please ask a question");
+            System.exit(-1);
+        }
+
+        try {
+            URL wsdlURL = new URL("http://localhost:8000/services/MagicGBall?wsdl");
+            String namespaceURI = "http://acme.org/magicGball";
+            QName serviceQName = new QName(namespaceURI, "MagicGBallService");
+            QName portQName = new QName(namespaceURI, "MagicGBallPort");
+
+            ServiceFactory serviceFactory = ServiceFactory.newInstance();
+            Service service = serviceFactory.createService(wsdlURL, serviceQName);
+            MagicGBallEndpoint mGball = (MagicGBallEndpoint) service.getPort(portQName, MagicGBallEndpoint.class);
+
+            for (int i = 0; i < args.length; i++) {
+                String question = args[i];
+                String answer = mGball.ask(question);
+                System.out.println(answer);
+            }
+        } catch (Exception e) {
+            System.err.println(e.toString());
+        }
+    }
+}

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

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-client/src/resources/META-INF/application-client.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-client/src/resources/META-INF/application-client.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-client/src/resources/META-INF/application-client.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-client/src/resources/META-INF/application-client.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,105 @@
+<?xml version="1.0"?> 
+
+<!--DOCTYPE application-client PUBLIC 
+    "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" 
+    "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"--> 
+    
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/applicationclient_1_4.xsd"
+    version="1.4">
+
+    <display-name>Magic G Ball</display-name>
+	<ejb-ref>
+		<ejb-ref-name>mGball</ejb-ref-name>
+		<ejb-ref-type>Session</ejb-ref-type>
+		<home>org.acme.MagicGBallHome</home>
+		<remote>org.acme.MagicGBall</remote>
+		<ejb-link>magicGball-ejb.jar#MagicGBall</ejb-link>
+	</ejb-ref>
+</application-client>
+
+<?xml version="1.0"?> 
+
+<!--DOCTYPE application-client PUBLIC 
+    "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" 
+    "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"--> 
+    
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/applicationclient_1_4.xsd"
+    version="1.4">
+
+    <display-name>Magic G Ball</display-name>
+	<ejb-ref>
+		<ejb-ref-name>mGball</ejb-ref-name>
+		<ejb-ref-type>Session</ejb-ref-type>
+		<home>org.acme.MagicGBallHome</home>
+		<remote>org.acme.MagicGBall</remote>
+		<ejb-link>magicGball-ejb.jar#MagicGBall</ejb-link>
+	</ejb-ref>
+</application-client>
+
+<?xml version="1.0"?> 
+
+<!--DOCTYPE application-client PUBLIC 
+    "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" 
+    "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"--> 
+    
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/applicationclient_1_4.xsd"
+    version="1.4">
+
+    <display-name>Magic G Ball</display-name>
+	<ejb-ref>
+		<ejb-ref-name>mGball</ejb-ref-name>
+		<ejb-ref-type>Session</ejb-ref-type>
+		<home>org.acme.MagicGBallHome</home>
+		<remote>org.acme.MagicGBall</remote>
+		<ejb-link>magicGball-ejb.jar#MagicGBall</ejb-link>
+	</ejb-ref>
+</application-client>
+
+<?xml version="1.0"?> 
+
+<!--DOCTYPE application-client PUBLIC 
+    "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" 
+    "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"--> 
+    
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/applicationclient_1_4.xsd"
+    version="1.4">
+
+    <display-name>Magic G Ball</display-name>
+	<ejb-ref>
+		<ejb-ref-name>mGball</ejb-ref-name>
+		<ejb-ref-type>Session</ejb-ref-type>
+		<home>org.acme.MagicGBallHome</home>
+		<remote>org.acme.MagicGBall</remote>
+		<ejb-link>magicGball-ejb.jar#MagicGBall</ejb-link>
+	</ejb-ref>
+</application-client>
+
+<?xml version="1.0"?> 
+
+<!--DOCTYPE application-client PUBLIC 
+    "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" 
+    "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"--> 
+    
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/applicationclient_1_4.xsd"
+    version="1.4">
+
+    <display-name>Magic G Ball</display-name>
+	<ejb-ref>
+		<ejb-ref-name>mGball</ejb-ref-name>
+		<ejb-ref-type>Session</ejb-ref-type>
+		<home>org.acme.MagicGBallHome</home>
+		<remote>org.acme.MagicGBall</remote>
+		<ejb-link>magicGball-ejb.jar#MagicGBall</ejb-link>
+	</ejb-ref>
+</application-client>
+

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

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-ear/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ear/pom.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ear/pom.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ear/pom.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,106 @@
+<?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-ear</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>ear</packaging>
+  <name>Geronimo :: The Magic G Ball Sample Application</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-client</artifactId>
+      <version>1.2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-ejb</artifactId>
+      <version>1.2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-web</artifactId>
+      <version>1.2-SNAPSHOT</version>
+      <type>war</type>
+    </dependency>
+  </dependencies>
+
+</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-ear</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>ear</packaging>
+  <name>Geronimo :: The Magic G Ball Sample Application</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-client</artifactId>
+      <version>1.2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-ejb</artifactId>
+      <version>1.2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.applications.magicGball</groupId>
+      <artifactId>magicGball-web</artifactId>
+      <version>1.2-SNAPSHOT</version>
+      <type>war</type>
+    </dependency>
+  </dependencies>
+
+</project>

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

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

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

Added: geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-nosec-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-nosec-plan.xml?rev=390638&view=auto
==============================================================================
--- geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-nosec-plan.xml (added)
+++ geronimo/trunk/applications/magicGball/magicGball-ear/src/plan/magicgball-corba-nosec-plan.xml Sat Apr  1 02:07:59 2006
@@ -0,0 +1,264 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorbaNoSec"
+    parentId="geronimo/j2ee-server-corba/1.2-SNAPSHOT/car">
+
+    <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>IdentityTokenNoSecurity </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/MagicGBallClientNoSec"
+            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>NoSecurity</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>
+
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorbaNoSec"
+    parentId="geronimo/j2ee-server-corba/1.2-SNAPSHOT/car">
+
+    <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>IdentityTokenNoSecurity </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/MagicGBallClientNoSec"
+            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>NoSecurity</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>
+
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorbaNoSec"
+    parentId="geronimo/j2ee-server-corba/1.2-SNAPSHOT/car">
+
+    <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>IdentityTokenNoSecurity </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/MagicGBallClientNoSec"
+            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>NoSecurity</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>
+
+</application>
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+    configId="org/apache/geronimo/MagicGBallCorbaNoSec"
+    parentId="geronimo/j2ee-server-corba/1.2-SNAPSHOT/car">
+
+    <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>IdentityTokenNoSecurity </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/MagicGBallClientNoSec"
+            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>NoSecurity</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>
+
+</application>

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

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

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



Mime
View raw message