]> git.mxchange.org Git - jcustomer-lib.git/commitdiff
Well, if that is EJB, it sucks somehow: Logging not allowed and a complexer class...
authorRoland Haeder <roland@mxchange.org>
Mon, 7 Sep 2015 13:30:48 +0000 (15:30 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 7 Sep 2015 13:30:48 +0000 (15:30 +0200)
----------------------------------------
Caused by: java.lang.NoClassDefFoundError: [Lorg/mxchange/jcore/model/contact/gender/Gender;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.privateGetPublicMethods(Class.java:2690)
at java.lang.Class.getMethods(Class.java:1467)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.addAllInterfaceMethodsIn(EjbDescriptor.java:2577)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.getLocalRemoteBusinessMethodDescriptors(EjbDescriptor.java:2530)
... 53 more
Caused by: java.lang.ClassNotFoundException: org.mxchange.jcore.model.contact.gender.Gender
----------------------------------------
Signed-off-by:Roland Häder <roland@mxchange.org>

.gitignore
lib/jcore.jar
lib/jcoreee.jar
lib/jshop-core.jar
src/org/mxchange/jshopeelib/beans/ShopBean.java [deleted file]
src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java
src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java
src/org/mxchange/jshopeelib/beans/remote/data/ShopDataBeanRemote.java
src/org/mxchange/jshopeelib/beans/remote/shop/ShopSessionBeanRemote.java

index 1cd7a864ebb8bea89250b3347abbb6064e2db0fc..4a544a763bd6fe6c5bbf719c0f6c9f3b62611fb2 100644 (file)
@@ -3,3 +3,4 @@
 /build/
 /dist/
 /*.properties
+/src/test/
\ No newline at end of file
index e5e79d680b3b7d3ac93636320b4098e7f4ee8fd7..c7c6f6cf569623195a065aefc56bf4572cea8b01 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index fa4c45affbb005bc6bb41f9728683f4a0733e8c8..53e009a30363cd191c63d830f5e95d3042a0be3a 100644 (file)
Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ
index 1828f72b08b683d7e72dd4fc04c2082fdecd7705..9bfd620240d83aced9c3aa454f99d0e03d43ad0f 100644 (file)
Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ
diff --git a/src/org/mxchange/jshopeelib/beans/ShopBean.java b/src/org/mxchange/jshopeelib/beans/ShopBean.java
deleted file mode 100644 (file)
index cf51e6a..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (C) 2015 Roland Haeder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopeelib.beans;
-
-import org.mxchange.jcoreee.beans.FrameworkBean;
-
-/**
- * A shop bean interface
- *
- * @author Roland Haeder
- */
-public interface ShopBean extends FrameworkBean {
-}
index 0c1733975eb96d139b204842f17b0f0953cf5a6e..e2bb56865e83885f534648297e70033c37b28ad5 100644 (file)
  */
 package org.mxchange.jshopeelib.beans.remote.basket;
 
+import java.io.Serializable;
 import java.rmi.RemoteException;
 import java.util.Map;
 import javax.ejb.Remote;
 import org.mxchange.jshopcore.model.item.AddableBasketItem;
-import org.mxchange.jshopeelib.beans.ShopBean;
 
 /**
  * An interface for a basket bean
@@ -28,7 +28,7 @@ import org.mxchange.jshopeelib.beans.ShopBean;
  * @author Roland Haeder
  */
 @Remote
-public interface BasketSessionBeanRemote extends ShopBean {
+public interface BasketSessionBeanRemote extends Serializable {
        /**
         * Adds given item instance to this basket
         * @param item Item instance to add
index 69598eec7efb1ec0fcd11a0f11ef4d7bccb60ffb..2644ed98615ef25c289c79771578a793c8784665 100644 (file)
@@ -16,8 +16,8 @@
  */
 package org.mxchange.jshopeelib.beans.remote.customer;
 
+import java.io.Serializable;
 import javax.ejb.Remote;
-import org.mxchange.jshopeelib.beans.ShopBean;
 
 /**
  * An interface for customer beans
@@ -25,5 +25,5 @@ import org.mxchange.jshopeelib.beans.ShopBean;
  * @author Roland Haeder
  */
 @Remote
-public interface CustomerSessionBeanRemote extends ShopBean {
+public interface CustomerSessionBeanRemote extends Serializable {
 }
index 0c3157e66bae8026eeb75e59ae113fa233bc1d01..203a8e7652898336a4471002d7313cc7a40790c9 100644 (file)
  */
 package org.mxchange.jshopeelib.beans.remote.data;
 
+import java.io.Serializable;
 import java.util.List;
 import javax.ejb.Remote;
 import org.mxchange.jcore.model.contact.gender.Gender;
-import org.mxchange.jshopeelib.beans.ShopBean;
 
 /**
  * A remote interface for static shop data
@@ -27,7 +27,7 @@ import org.mxchange.jshopeelib.beans.ShopBean;
  * @author Roland Haeder
  */
 @Remote
-public interface ShopDataBeanRemote extends ShopBean {
+public interface ShopDataBeanRemote extends Serializable {
 
        /**
         * Getter for all genders as array
index 2076e2245b6323b259d01f6bce117c4400285482..7181d17db3801229ef3bdc2cd10333391b76ac78 100644 (file)
  */
 package org.mxchange.jshopeelib.beans.remote.shop;
 
+import java.io.Serializable;
 import java.rmi.RemoteException;
 import java.util.Deque;
-import java.util.Iterator;
 import javax.ejb.Remote;
 import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
 import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
 import org.mxchange.jshopcore.model.category.Category;
 import org.mxchange.jshopcore.model.product.Product;
-import org.mxchange.jshopeelib.beans.ShopBean;
 
 /**
  * A remote-call interface for the shop
@@ -32,31 +31,7 @@ import org.mxchange.jshopeelib.beans.ShopBean;
  * @author Roland Haeder
  */
 @Remote
-public interface ShopSessionBeanRemote extends ShopBean {
-
-       /**
-        * Some "getter" for an iterator of only available products
-        *
-        * @return Only available products
-        * @throws java.rmi.RemoteException If anything went wrong
-        */
-       public Iterator<Product> getAvailableProductsIterator () throws RemoteException;
-
-       /**
-        * Some "getter" for an iterator of all products
-        *
-        * @return All products
-        * @throws java.rmi.RemoteException If anything went wrong
-        */
-       public Iterator<Product> getAllProductsIterator () throws RemoteException;
-
-       /**
-        * Some "getter" for an iterator of all categories
-        *
-        * @return All categories
-        * @throws java.rmi.RemoteException If anything went wrong
-        */
-       public Iterator<Category> getAllCategoriesIterator () throws RemoteException;
+public interface ShopSessionBeanRemote extends Serializable {
 
        /**
         * Some "getter" for a linked list of only available products