User: jung
Date: 00/12/04 04:35:44
Modified: src/de/infor/businessservices/implementations/test
TestService.java test.dfPackage
Log:
adopted to latest jboss container,
added decimal and date
removed some problems due to forward-referencing in meta-data
added serialisation policy
Revision Changes Path
1.2 +170 -162
zoap/src/de/infor/businessservices/implementations/test/TestService.java
Index: TestService.java
===================================================================
RCS file:
/products/cvs/ejboss/zoap/src/de/infor/businessservices/implementations/test/TestService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestService.java 2000/08/10 21:06:37 1.1
+++ TestService.java 2000/12/04 12:35:44 1.2
@@ -1,165 +1,179 @@
-/*
- * $Id: TestService.java,v 1.1 2000/08/10 21:06:37 jung Exp $
- * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * License Statement
- *
- * Redistribution and use of this software and associated documentation
("Software"), with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain copyright statements and
notices.
- * Redistributions must also contain a copy of this document.
- *
- * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
- * conditions and the following disclaimer in the documentation and/or
other materials provided
- * with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any,
must include the following
- * acknowledgment: "This product includes software developed by infor:
business solutions AG
- * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The name "infor" must not be used to endorse or promote products
derived from this
- * Software without prior written permission of infor: business solutions
AG.
- * For written permission, please contact [EMAIL PROTECTED]
- *
- * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
- * in their names without prior written permission of infor: business
solutions AG. infor
- * is a registered trademark of infor:business solutions AG.
- *
- * Disclaimer
- *
- * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- *
- * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package de.infor.businessservices.implementations.test;
-
-import de.infor.businessobjects.test.*;
-import de.infor.businessservices.test.*;
-
-import javax.ejb.SessionBean;
-import javax.ejb.EJBException;
-import javax.ejb.SessionContext;
-import javax.ejb.CreateException;
-import java.rmi.RemoteException;
-
-/**
- * A test service implementation that checks the basic functionalities of the
- * service framework
- *
- * @see <related>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public class TestService implements javax.ejb.SessionBean {
-
- /**
- * EJB stuff
- */
-
- public void ejbCreate() throws CreateException {
- }
-
- public void ejbActivate() throws EJBException {
- }
-
- public void ejbPassivate() throws EJBException {
- }
-
- public void ejbRemove() throws EJBException {
- }
-
- public void setSessionContext(SessionContext p0) throws EJBException {
- }
-
- public boolean testBoolean() {
- return true;
- }
-
- // a test call to route an object through
- public String testString(String in) {
- return in;
- }
-
- // a test call to route an object through
- public TestObject1 testObject(TestObject1 in) {
- return in;
- }
-
- // a test call to call an exception
- public void testException() throws TestException {
- throw new TestException();
- }
-
-}
-
-/**
+/*
+ * $Id: TestService.java,v 1.2 2000/12/04 12:35:44 jung Exp $
+ * Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * License Statement
+ *
+ * Redistribution and use of this software and associated documentation
("Software"), with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain copyright statements and
notices.
+ * Redistributions must also contain a copy of this document.
+ *
+ * 2. Redistributions in binary form must reproduce the attached copyright
notice, this list of
+ * conditions and the following disclaimer in the documentation and/or
other materials provided
+ * with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must include the following
+ * acknowledgment: "This product includes software developed by infor:
business solutions AG
+ * (http://www.infor.de/)." Alternately, this acknowledgment may appear
in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "infor" must not be used to endorse or promote products
derived from this
+ * Software without prior written permission of infor: business solutions
AG.
+ * For written permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this Software may not be called "infor" nor may
"infor" appear
+ * in their names without prior written permission of infor: business
solutions AG. infor
+ * is a registered trademark of infor:business solutions AG.
+ *
+ * Disclaimer
+ *
+ * THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS
IS" AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ *
+ * IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE
FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package de.infor.businessservices.implementations.test;
+
+import de.infor.businessobjects.test.*;
+import de.infor.businessservices.test.*;
+
+import javax.ejb.SessionBean;
+import javax.ejb.EJBException;
+import javax.ejb.SessionContext;
+import javax.ejb.CreateException;
+import java.rmi.RemoteException;
+
+/**
+ * A test service implementation that checks the basic functionalities of the
+ * service framework
+ *
+ * @see <related>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public class TestService implements javax.ejb.SessionBean {
+
+ /**
+ * EJB stuff
+ */
+
+ public void ejbCreate() throws CreateException {
+ }
+
+ public void ejbActivate() throws EJBException {
+ }
+
+ public void ejbPassivate() throws EJBException {
+ }
+
+ public void ejbRemove() throws EJBException {
+ }
+
+ public void setSessionContext(SessionContext p0) throws EJBException {
+ }
+
+ public boolean testBoolean() {
+ return true;
+ }
+
+ // a test call to route an object through
+ public String testString(String in) {
+ return in;
+ }
+
+ // a test call to route an object through
+ public TestObject1 testObject(TestObject1 in) {
+ return in;
+ }
+
+ // a test call to call an exception
+ public void testException() throws TestException {
+ throw new TestException();
+ }
+
+}
+
+/**
* $Log: TestService.java,v $
- * Revision 1.1 2000/08/10 21:06:37 jung
- * Initial revision
- *
- * Revision 1.1.1.1.2.2 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.1.1.2.1 2000/07/13 12:46:13 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.1.1.1 2000/07/06 14:11:25 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- * Revision 1.1.1.1 2000/06/19 12:04:12 jung
- * imported ZOAPackage that should
- * go into a seperate Open Source project
- *
- * Revision 1.6 2000/06/07 10:18:57 jung
- * added some service functionality to llokup other
- * beans and yourself as a bean. extended the test case
- * for that purpose.
- *
- * added a lookup service.
- *
- * Revision 1.5 2000/06/07 08:52:37 jung
- * wrong import
- *
- * Revision 1.4 2000/06/06 19:42:30 jung
- * added transaction support.
- *
- * redesigned the dataAccess package to provide BSF database
- * sessions as transactional resources under any TXManager.
- *
- * DataAccess now manages the mappingData associations to apartments
- * and threads.
- *
- * test component runs.
- *
- * Revision 1.3 2000/05/26 16:08:18 jung
- * - extended the test case with references (do not yet work because of
- * the heavy BSF restrictions.
- *
- * - improved the IDGenerator implementation.
- *
- * Revision 1.2 2000/05/23 20:10:10 jung
- * first service tests with persistence work
- *
- * Revision 1.1 2000/05/19 16:18:05 jung
- * moved the meta-inf stuff into src/<component> and made
- * packager accepting a component name
- *
- */
+ * Revision 1.2 2000/12/04 12:35:44 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/11/16 14:49:53 jung
+ * added the up-to-date ZOAP source (how I know: I
+ * made it).
+ *
+ * Revision 1.1.1.1 2000/08/10 21:06:37 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.1.1.2.2 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.1.1.2.1 2000/07/13 12:46:13 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:25 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ * Revision 1.1.1.1 2000/06/19 12:04:12 jung
+ * imported ZOAPackage that should
+ * go into a seperate Open Source project
+ *
+ * Revision 1.6 2000/06/07 10:18:57 jung
+ * added some service functionality to llokup other
+ * beans and yourself as a bean. extended the test case
+ * for that purpose.
+ *
+ * added a lookup service.
+ *
+ * Revision 1.5 2000/06/07 08:52:37 jung
+ * wrong import
+ *
+ * Revision 1.4 2000/06/06 19:42:30 jung
+ * added transaction support.
+ *
+ * redesigned the dataAccess package to provide BSF database
+ * sessions as transactional resources under any TXManager.
+ *
+ * DataAccess now manages the mappingData associations to apartments
+ * and threads.
+ *
+ * test component runs.
+ *
+ * Revision 1.3 2000/05/26 16:08:18 jung
+ * - extended the test case with references (do not yet work because of
+ * the heavy BSF restrictions.
+ *
+ * - improved the IDGenerator implementation.
+ *
+ * Revision 1.2 2000/05/23 20:10:10 jung
+ * first service tests with persistence work
+ *
+ * Revision 1.1 2000/05/19 16:18:05 jung
+ * moved the meta-inf stuff into src/<component> and made
+ * packager accepting a component name
+ *
+ */
1.2 +27 -27
zoap/src/de/infor/businessservices/implementations/test/test.dfPackage
Index: test.dfPackage
===================================================================
RCS file:
/products/cvs/ejboss/zoap/src/de/infor/businessservices/implementations/test/test.dfPackage,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- test.dfPackage 2000/08/10 21:06:36 1.1
+++ test.dfPackage 2000/12/04 12:35:44 1.2
@@ -1,27 +1,27 @@
-package id1ufypcac2ai2dcac68skj;
-
-/**
-@version 2.0
-@physicalPackage
-@__modelType diagram
-*/
-class diagram {
-/**
-@__ref
<oiref:java#Class#de.infor.businessservices.implementations.test.TestService:oiref><oihard>
-@__modelType reference
-*/
-class reference {
-}}/**
-@__tags
-@shapeType ClassDiagram
-*/
-class __tags {
-}/**
-@__options
-*/
-class __options {
-}/**
-@__positions
-*/
-class __positions {
-}
\ No newline at end of file
+package id1ufypcac2ai2dcac68skj;
+
+/**
+@version 2.0
+@physicalPackage
+@__modelType diagram
+*/
+class diagram {
+/**
+@__ref
<oiref:java#Class#de.infor.businessservices.implementations.test.TestService:oiref><oihard>
+@__modelType reference
+*/
+class reference {
+}}/**
+@__tags
+@shapeType ClassDiagram
+*/
+class __tags {
+}/**
+@__options
+*/
+class __options {
+}/**
+@__positions
+*/
+class __positions {
+}