From 003c12864f65a665442b34ae6355ba4449c775b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 3 Aug 2016 10:05:10 +0200 Subject: [PATCH] Continued a bit (cleanup): - removed juser-lib dependency as this (remote interfaces to call EJBs) is not needed and should never be done. Better is to have already all data loaded and then just handle all over to the mailer class. - added @Local annotation as these interfaces are never supposed to be called remotely --- lib/juser-lib.jar | Bin 7047 -> 0 bytes nbproject/project.properties | 3 --- .../jmailee/model/delivery/DeliverableEmail.java | 2 ++ .../delivery/wrapper/WrapableEmailDelivery.java | 2 ++ 4 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 lib/juser-lib.jar diff --git a/lib/juser-lib.jar b/lib/juser-lib.jar deleted file mode 100644 index 6057cd146c17ee46e00e5e4f15afb4e6113ff8c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7047 zcmd5=O>7%g5S~rkY~#j>o8SJ@w1p5;5~rk6ph*i(8j~o$#BD%GsM^>s&Zg_#uwIu2 z4p0g8z=b;!x84!r#(@inLyw#}a6kwNap129OW%(7udO*$Vwsb*A|=8+fNfGcrRSxr&3yGo^EvU)v&(d9Tsno(8t z2nHi@3`|y4>lQO3cwCC(LB@=jKbdI$o>H%WV3?J=JGdUh+z&8ZDE-v`Wg7t9D{&0{ z=A9>F&v73qp}EobW|^XIu$p19@v??;pFI8cJLEYD12Xi=&?iH`1cPdw&n$>tn%CcN zum-D0Ffh8jtK3)e8hTy6WSOd7ozA^0L9e1|Z*dxX3ajJbXiiW!ELF=dqi)j@be7br zu2>C|NifnvFw@HZCQdrX#0tENDjKFxOoDetmkBQp8eA6_-s-oBn5ArK%*$@NRdQ|< zb!hBW5Z7Kx35x%QJmQ`%84a_{imHazxX6WsZ5Ekbg3}uf-BN38Q?0A0Ktb0Hi-#04 zH`m}np6zbs#SWw8-aLe1qU1}EbvJ%(YnPQR3HtevYUE4IR25DAkc`?Pfdp-Mx1(F7 zQWA!W*6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X6ly0m;c7ybkOCHqFrpf-oNXt}@PU*C>IO{Ffb zxM(W&DEw31hF265>gu{ois4KIroF5V>hij*9>%d^fu66sFG0o_wCsx%eGQ^uquE diff --git a/nbproject/project.properties b/nbproject/project.properties index a5deac8..4e22c6e 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -32,7 +32,6 @@ excludes= file.reference.jcontacts-core.jar=lib/jcontacts-core.jar file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar file.reference.juser-core.jar=lib/juser-core.jar -file.reference.juser-lib.jar=lib/juser-lib.jar file.reference.velocity-1.7.jar=lib/velocity-1.7.jar includes=** jar.archive.disabled=${jnlp.enabled} @@ -40,7 +39,6 @@ jar.compress=false jar.index=${jnlp.enabled} javac.classpath=\ ${file.reference.juser-core.jar}:\ - ${file.reference.juser-lib.jar}:\ ${file.reference.jcontacts-core.jar}:\ ${file.reference.jcore-logger-lib.jar}:\ ${file.reference.velocity-1.7.jar}:\ @@ -105,6 +103,5 @@ source.encoding=UTF-8 source.reference.jcontacts-core.jar=../jcontacts-core/src/ source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/ source.reference.juser-core.jar=../juser-core/src/ -source.reference.juser-lib.jar=../juser-lib/src/ src.dir=src test.src.dir=test diff --git a/src/org/mxchange/jmailee/model/delivery/DeliverableEmail.java b/src/org/mxchange/jmailee/model/delivery/DeliverableEmail.java index 895dda8..d8506ea 100644 --- a/src/org/mxchange/jmailee/model/delivery/DeliverableEmail.java +++ b/src/org/mxchange/jmailee/model/delivery/DeliverableEmail.java @@ -18,6 +18,7 @@ package org.mxchange.jmailee.model.delivery; import java.io.Serializable; import java.util.Properties; +import javax.ejb.Local; import org.apache.velocity.app.VelocityEngine; /** @@ -25,6 +26,7 @@ import org.apache.velocity.app.VelocityEngine; *

* @author Roland Haeder */ +@Local public interface DeliverableEmail extends Serializable { /** diff --git a/src/org/mxchange/jmailee/model/delivery/wrapper/WrapableEmailDelivery.java b/src/org/mxchange/jmailee/model/delivery/wrapper/WrapableEmailDelivery.java index fb31459..de2330b 100644 --- a/src/org/mxchange/jmailee/model/delivery/wrapper/WrapableEmailDelivery.java +++ b/src/org/mxchange/jmailee/model/delivery/wrapper/WrapableEmailDelivery.java @@ -19,6 +19,7 @@ package org.mxchange.jmailee.model.delivery.wrapper; import java.io.Serializable; import java.util.Locale; import java.util.Properties; +import javax.ejb.Local; import javax.mail.Address; /** @@ -26,6 +27,7 @@ import javax.mail.Address; *

* @author Roland Haeder */ +@Local public interface WrapableEmailDelivery extends Serializable { /** -- 2.39.5