Fixed Package Names

This commit is contained in:
Pritam Banerjee 2017-05-21 13:34:17 -07:00
parent 7b7f8bed8e
commit 93b4f36202
14 changed files with 76 additions and 113 deletions

View File

@ -0,0 +1,11 @@
package com.baeldung.ejb.stateful;
import javax.ejb.EJB;
public class EJBClient1 {
@EJB
public StatefulEJB statefulEJB;
}

View File

@ -0,0 +1,11 @@
package com.baeldung.ejb.stateful;
import javax.ejb.EJB;
public class EJBClient2 {
@EJB
public StatefulEJB statefulEJB;
}

View File

@ -0,0 +1,10 @@
package com.baeldung.ejb.stateful;
import javax.ejb.Stateful;
@Stateful
public class StatefulEJB {
public String name;
}

View File

@ -0,0 +1,10 @@
package com.baeldung.ejb.stateless;
import javax.ejb.EJB;
public class EJBClient1 {
@EJB
public StatelessEJB statelessEJB;
}

View File

@ -0,0 +1,11 @@
package com.baeldung.ejb.stateless;
import javax.ejb.EJB;
public class EJBClient2 {
@EJB
public StatelessEJB statelessEJB;
}

View File

@ -0,0 +1,11 @@
package com.baeldung.ejb.stateless;
import javax.ejb.Stateless;
@Stateless
public class StatelessEJB {
public String name;
}

View File

@ -1,17 +0,0 @@
package com.readlearncode.stateful;
import javax.ejb.EJB;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
public class EJBClient1 {
@EJB
public StatefulEJB statefulEJB;
}

View File

@ -1,17 +0,0 @@
package com.readlearncode.stateful;
import javax.ejb.EJB;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
public class EJBClient2 {
@EJB
public StatefulEJB statefulEJB;
}

View File

@ -1,16 +0,0 @@
package com.readlearncode.stateful;
import javax.ejb.Stateful;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
@Stateful
public class StatefulEJB {
public String name;
}

View File

@ -1,16 +0,0 @@
package com.readlearncode.stateless;
import javax.ejb.EJB;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
public class EJBClient1 {
@EJB
public StatelessEJB statelessEJB;
}

View File

@ -1,17 +0,0 @@
package com.readlearncode.stateless;
import javax.ejb.EJB;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
public class EJBClient2 {
@EJB
public StatelessEJB statelessEJB;
}

View File

@ -1,16 +0,0 @@
package com.readlearncode.stateless;
import javax.ejb.Stateless;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
@Stateless
public class StatelessEJB {
public String name;
}

View File

@ -1,4 +1,4 @@
package com.readlearncode.stateful;
package com.baeldung.ejb.test.stateful;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
@ -9,14 +9,13 @@ import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import com.baeldung.ejb.stateful.EJBClient1;
import com.baeldung.ejb.stateful.EJBClient2;
import com.baeldung.ejb.stateful.StatefulEJB;
import javax.inject.Inject;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
@RunWith(Arquillian.class)
public class StatefulEJBTest {

View File

@ -1,4 +1,4 @@
package com.readlearncode.stateless;
package com.baeldung.ejb.test.stateless;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
@ -9,14 +9,13 @@ import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import com.baeldung.ejb.stateless.EJBClient1;
import com.baeldung.ejb.stateless.EJBClient2;
import com.baeldung.ejb.stateless.StatelessEJB;
import javax.inject.Inject;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
@RunWith(Arquillian.class)
public class StatelessEJBTest {