From ef55a79132b7df1c6d1de01e1601982a9b89bd86 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 7 Sep 2015 15:30:48 +0200 Subject: [PATCH] =?utf8?q?Well,=20if=20that=20is=20EJB,=20it=20sucks=20som?= =?utf8?q?ehow:=20Logging=20not=20allowed=20and=20a=20complexer=20class=20?= =?utf8?q?structure=20leaves=20strange=20errors=20behind:=20--------------?= =?utf8?q?--------------------------=20Caused=20by:=20java.lang.NoClassDef?= =?utf8?q?FoundError:=20[Lorg/mxchange/jcore/model/contact/gender/Gender;?= =?utf8?q?=20=09at=20java.lang.Class.getDeclaredMethods0(Native=20Method)?= =?utf8?q?=20=09at=20java.lang.Class.privateGetDeclaredMethods(Class.java:?= =?utf8?q?2570)=20=09at=20java.lang.Class.privateGetPublicMethods(Class.ja?= =?utf8?q?va:2690)=20=09at=20java.lang.Class.getMethods(Class.java:1467)?= =?utf8?q?=20=09at=20org.glassfish.ejb.deployment.descriptor.EjbDescriptor?= =?utf8?q?.addAllInterfaceMethodsIn(EjbDescriptor.java:2577)=20=09at=20org?= =?utf8?q?.glassfish.ejb.deployment.descriptor.EjbDescriptor.getLocalRemot?= =?utf8?q?eBusinessMethodDescriptors(EjbDescriptor.java:2530)=20=09...=205?= =?utf8?q?3=20more=20Caused=20by:=20java.lang.ClassNotFoundException:=20or?= =?utf8?q?g.mxchange.jcore.model.contact.gender.Gender=20-----------------?= =?utf8?q?-----------------------=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + lib/jcore.jar | Bin 29196 -> 29138 bytes lib/jcoreee.jar | Bin 20447 -> 19652 bytes lib/jshop-core.jar | Bin 28048 -> 28048 bytes .../mxchange/jshopeelib/beans/ShopBean.java | 27 ---------------- .../basket/BasketSessionBeanRemote.java | 4 +-- .../customer/CustomerSessionBeanRemote.java | 4 +-- .../beans/remote/data/ShopDataBeanRemote.java | 4 +-- .../remote/shop/ShopSessionBeanRemote.java | 29 ++---------------- 9 files changed, 9 insertions(+), 60 deletions(-) delete mode 100644 src/org/mxchange/jshopeelib/beans/ShopBean.java diff --git a/.gitignore b/.gitignore index 1cd7a86..4a544a7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /build/ /dist/ /*.properties +/src/test/ \ No newline at end of file diff --git a/lib/jcore.jar b/lib/jcore.jar index e5e79d680b3b7d3ac93636320b4098e7f4ee8fd7..c7c6f6cf569623195a065aefc56bf4572cea8b01 100644 GIT binary patch delta 1054 zcmY+CZAep57=Yh%-QD~ux9c`@Tc$0YAF0byvt^DnhpohN{m6noe%R(dbOeD?lvGBa zX0K5Mf`MfJl&l~M`XVZdG7%D_`jI7MWw_{1g`M|gVi(SR?)$vwyyv}#b83tYy=U;4vX zs|@)}#%4pQJRfA1Al#5)tHB6yEE#mn3}&_ntZXslF)KQau8gI?pcw!pXqkJiHrM5% zeHA4V0F4~%_875$fr9M;HI5o%G)4_1YCw+@##PLKchnAyXqMx8_1b~x1#yh`u&p*d zS$h9?SZeRF~MQWbrr=Y(&{AQN9$kzJY6f|x30EXI delta 1247 zcmZ{je`r%z6vw~!H7}`6wRz9JM4P8gs9B6{V{CPucBMhB!9}yo7W^^6mcf?vhixf^ zWo(vi%Gl~3(^Ig{`G;En(m$Ln8;A_YrWS`LHPh)MDy@^mfy@wnltK9=%rVr$+rv^)PHWLW6ppdQ8qAm-8O_ zQ(vZjivpaa;Ot9*A5elHu>e1#5@!*?7;10`a2vR z8T70d!cP9ifZqk!1T^R}x4>+xLh;KLMtpPk3fb|I(UM7vUz?*g_LKfC3iEi`i}>Dv z%kqbV=Pg}FXsg9v7G1ZqZg|Nm%fDaszL))X5;iNov1!Q3{^M zJD7?vF3X@qLAst1PsbTU={1a7>9-gatuaP#Ya`=AYXd`TThC~2Ys%ghI^DKmCSRRw z=g8Z>j#cS)Q%TIFmV`lP!X7d@bRX-=yUoc#0kAEV4Vr$2`)`*_i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F!-7J1gA7z-ea#doE;hps}!=cPP!|luohEJIj!N#G&g#+_ZK5DpP`mow> z?b4nm97*@!)dRhrVdeRUb-D`RHCeMFT)R}#$*{9F`54t(u{qnud3&>lwAoU}?x-<; z5c9eNTXQii#>4n3+g43-9zBkYDi-Ak#U}bp3E82+hNk;xHLGjYc40GcDeS4 zm9XBQlCv8$JiPWbgg7|v<+~zl=uU)jGVj$mn>VDNrni^?-pF?cBM^ZUb@`gb{+|IF CYaMC; diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar index 1828f72b08b683d7e72dd4fc04c2082fdecd7705..9bfd620240d83aced9c3aa454f99d0e03d43ad0f 100644 GIT binary patch delta 563 zcmbPmn{mQzMxFp~W)?061`Y-WhU$qtnoNJICYn!Y0ITp<3O&GXGKHcAzh}GfeImP@a^{Ia$m6JV@nl^Y36AzF4}0b=cZ6 za)ZPjJiJ*!bg%Cwu!)WljbQmB(U(EulV>Jc0z+%^l|-=5#gYs_f*wiW;Al>A2Jr+^ zWhOsKG6FFrl0n{@oSYm0q7r}-7n8wCc~XMFA}LWIY7c}bkm?6f77C)arv`#3uCz!H zm6`??+>;gt;)$e}f~fBF5)j3hkpQBSGh#s0!HiT8rIDEeqWUtyavw7DLA=B)Fz;{{ eSWYt=ta3s&Sl>GcFEl3!q;h9Y9Eg(4Ee8PO4XC#O delta 563 zcmbPmn{mQzMxFp~W)?061`Y;>=dKfZG?|{cPBfp+1Y}=O0Fj?Gf#hUaMq?1A#jH8` z11}FZl9tJn7%f3kXBizp6hD(IhzetJ0#UP=yg<}52v3XI4x&VVa)CYTWP==b6w4=X zWOf9}e_{3nQk(5r1erl}5PKUVh`z;f1I*vTa~4cD3tZy`iAT#dvViD&O1@xmUA668 zApSE0b1+}t*0HP9r5*L%fN_kR(z#=J8AZibUCy?p~Q5FiKwx. - */ -package org.mxchange.jshopeelib.beans; - -import org.mxchange.jcoreee.beans.FrameworkBean; - -/** - * A shop bean interface - * - * @author Roland Haeder - */ -public interface ShopBean extends FrameworkBean { -} diff --git a/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java b/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java index 0c17339..e2bb568 100644 --- a/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java +++ b/src/org/mxchange/jshopeelib/beans/remote/basket/BasketSessionBeanRemote.java @@ -16,11 +16,11 @@ */ 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 diff --git a/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java b/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java index 69598ee..2644ed9 100644 --- a/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java +++ b/src/org/mxchange/jshopeelib/beans/remote/customer/CustomerSessionBeanRemote.java @@ -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 { } diff --git a/src/org/mxchange/jshopeelib/beans/remote/data/ShopDataBeanRemote.java b/src/org/mxchange/jshopeelib/beans/remote/data/ShopDataBeanRemote.java index 0c3157e..203a8e7 100644 --- a/src/org/mxchange/jshopeelib/beans/remote/data/ShopDataBeanRemote.java +++ b/src/org/mxchange/jshopeelib/beans/remote/data/ShopDataBeanRemote.java @@ -16,10 +16,10 @@ */ 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 diff --git a/src/org/mxchange/jshopeelib/beans/remote/shop/ShopSessionBeanRemote.java b/src/org/mxchange/jshopeelib/beans/remote/shop/ShopSessionBeanRemote.java index 2076e22..7181d17 100644 --- a/src/org/mxchange/jshopeelib/beans/remote/shop/ShopSessionBeanRemote.java +++ b/src/org/mxchange/jshopeelib/beans/remote/shop/ShopSessionBeanRemote.java @@ -16,15 +16,14 @@ */ 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 getAvailableProductsIterator () throws RemoteException; - - /** - * Some "getter" for an iterator of all products - * - * @return All products - * @throws java.rmi.RemoteException If anything went wrong - */ - public Iterator getAllProductsIterator () throws RemoteException; - - /** - * Some "getter" for an iterator of all categories - * - * @return All categories - * @throws java.rmi.RemoteException If anything went wrong - */ - public Iterator getAllCategoriesIterator () throws RemoteException; +public interface ShopSessionBeanRemote extends Serializable { /** * Some "getter" for a linked list of only available products -- 2.39.5