ejb refactor (#2528)

* ejb refactor

* Remove unused module
This commit is contained in:
Grzegorz Piwowarek 2017-08-29 23:33:35 +02:00 committed by GitHub
parent 5945d5ceb3
commit 7df2635822
7 changed files with 4 additions and 27 deletions

View File

@ -1,7 +1,5 @@
package com.baeldung.ejbclient.application;
package com.baeldung.ejb.wildfly;
import com.baeldung.ejbmodule.TextProcessorBean;
import com.baeldung.ejbmodule.TextProcessorRemote;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

View File

@ -1,4 +1,4 @@
package com.baeldung.ejbclient.application;
package com.baeldung.ejb.wildfly;
import org.junit.AfterClass;
import org.junit.BeforeClass;

View File

@ -1,4 +1,4 @@
package com.baeldung.ejbmodule;
package com.baeldung.ejb.wildfly;
import javax.ejb.Stateless;

View File

@ -1,4 +1,4 @@
package com.baeldung.ejbmodule;
package com.baeldung.ejb.wildfly;
import javax.ejb.Remote;

View File

@ -1,8 +0,0 @@
endpoint.name=client-endpoint
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default
remote.connection.default.host=127.0.0.1
remote.connection.default.port=8080
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.default.username=myusername
remote.connection.default.password=mypassword

View File

@ -1,12 +0,0 @@
package com.baeldung.ejbmodule;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class TextProcessorBeanTest {
@Test
public void givenInputString_whenComparedToStringParsedByBean_thenSuccessful() {
TextProcessorBean textProcessor = new TextProcessorBean();
assertEquals("TEST", textProcessor.processText("test"));
}
}

View File

@ -81,6 +81,5 @@
<module>ejb-remote</module>
<module>ejb-client</module>
<module>ejb-session-beans</module>
<module>ejb-session-beans-client</module>
</modules>
</project>