]> git.mxchange.org Git - jmailer-ee.git/commitdiff
Continued a bit (cleanup):
authorRoland Häder <roland@mxchange.org>
Wed, 3 Aug 2016 08:05:10 +0000 (10:05 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 3 Aug 2016 08:05:10 +0000 (10:05 +0200)
- 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 [deleted file]
nbproject/project.properties
src/org/mxchange/jmailee/model/delivery/DeliverableEmail.java
src/org/mxchange/jmailee/model/delivery/wrapper/WrapableEmailDelivery.java

diff --git a/lib/juser-lib.jar b/lib/juser-lib.jar
deleted file mode 100644 (file)
index 6057cd1..0000000
Binary files a/lib/juser-lib.jar and /dev/null differ
index a5deac8995fd3094e3c5744d9a3509ea0d31123e..4e22c6eb96a6e0ba88ea8335429b2096bf437865 100644 (file)
@@ -32,7 +32,6 @@ excludes=
 file.reference.jcontacts-core.jar=lib/jcontacts-core.jar\r
 file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar\r
 file.reference.juser-core.jar=lib/juser-core.jar\r
-file.reference.juser-lib.jar=lib/juser-lib.jar\r
 file.reference.velocity-1.7.jar=lib/velocity-1.7.jar\r
 includes=**\r
 jar.archive.disabled=${jnlp.enabled}\r
@@ -40,7 +39,6 @@ jar.compress=false
 jar.index=${jnlp.enabled}\r
 javac.classpath=\\r
     ${file.reference.juser-core.jar}:\\r
-    ${file.reference.juser-lib.jar}:\\r
     ${file.reference.jcontacts-core.jar}:\\r
     ${file.reference.jcore-logger-lib.jar}:\\r
     ${file.reference.velocity-1.7.jar}:\\r
@@ -105,6 +103,5 @@ source.encoding=UTF-8
 source.reference.jcontacts-core.jar=../jcontacts-core/src/\r
 source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/\r
 source.reference.juser-core.jar=../juser-core/src/\r
-source.reference.juser-lib.jar=../juser-lib/src/\r
 src.dir=src\r
 test.src.dir=test\r
index 895dda8f9f499bd6ab2d97d64b0c39e64ee72965..d8506eaff9e31dade1e112e48eaa58adaec4e1fa 100644 (file)
@@ -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;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface DeliverableEmail extends Serializable {
 
        /**
index fb31459abeb4ff10a06497099d407cdbf31a0cf6..de2330b22ec4015cc0d90db815db9dbe6693c247 100644 (file)
@@ -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;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface WrapableEmailDelivery extends Serializable {
 
        /**