From: Roland Häder Date: Wed, 3 Aug 2016 08:05:10 +0000 (+0200) Subject: Continued a bit (cleanup): X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=003c12864f65a665442b34ae6355ba4449c775b1;p=jmailer-ee.git 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 --- diff --git a/lib/juser-lib.jar b/lib/juser-lib.jar deleted file mode 100644 index 6057cd1..0000000 Binary files a/lib/juser-lib.jar and /dev/null differ 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 { /**