diff --git a/spring-ejb-modules/wildfly/pom.xml b/spring-ejb-modules/wildfly/pom.xml
index f122e99001..412fa1b244 100644
--- a/spring-ejb-modules/wildfly/pom.xml
+++ b/spring-ejb-modules/wildfly/pom.xml
@@ -16,11 +16,6 @@
- widlfly-web
- wildfly-ear
- wildfly-jpa
- wildfly-ejb-interfaces
- wildfly-ejb
wildfly-mdb
diff --git a/spring-ejb-modules/wildfly/widlfly-web/pom.xml b/spring-ejb-modules/wildfly/widlfly-web/pom.xml
deleted file mode 100644
index 46c3f7d0bc..0000000000
--- a/spring-ejb-modules/wildfly/widlfly-web/pom.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
- 4.0.0
- widlfly-web
- widlfly-web
- war
-
-
- com.baeldung.wildfly
- wildfly
- 0.0.1-SNAPSHOT
-
-
-
-
-
- javax
- javaee-api
- ${javaee-api.version}
- provided
-
-
-
- com.baeldung.wildfly
- wildfly-jpa
- ${wildlfy.version}
-
-
-
- com.baeldung.wildfly
- wildfly-ejb-interfaces
- ${wildlfy.version}
-
-
-
- com.baeldung.wildfly
- wildfly-ejb
- ${wildlfy.version}
-
-
-
-
- 3.3.2
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestEJBServlet.java b/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestEJBServlet.java
deleted file mode 100644
index 57376e9c4a..0000000000
--- a/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestEJBServlet.java
+++ /dev/null
@@ -1,41 +0,0 @@
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.List;
-
-import javax.ejb.EJB;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import model.User;
-import wildfly.beans.UserBeanLocal;
-
-/**
- * Servlet implementation class TestEJBServlet
- */
-public class TestEJBServlet extends HttpServlet {
-
- @EJB
- private UserBeanLocal userBean;
-
- protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- List users = userBean.getUsers();
-
- PrintWriter out = response.getWriter();
-
- out.println("");
- out.println("");
- for (User user : users) {
- out.print(user.getUsername());
- out.print(" " + user.getEmail() + "
");
- }
- out.println("");
- out.println("");
- }
-
- protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- doGet(request, response);
- }
-}
diff --git a/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestJPAServlet.java b/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestJPAServlet.java
deleted file mode 100644
index 609366c53a..0000000000
--- a/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestJPAServlet.java
+++ /dev/null
@@ -1,54 +0,0 @@
-
-import java.io.IOException;
-import java.util.List;
-
-import javax.annotation.Resource;
-import javax.persistence.EntityManager;
-import javax.persistence.PersistenceContext;
-import javax.persistence.Query;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import javax.transaction.UserTransaction;
-
-import model.User;
-
-/**
- * Servlet implementation class TestJPAServlet
- */
-public class TestJPAServlet extends HttpServlet {
- private static final long serialVersionUID = 1L;
- @PersistenceContext(unitName = "wildfly-jpa")
- EntityManager em;
-
- @Resource
- UserTransaction tx;
-
- /**
- * @see HttpServlet#HttpServlet()
- */
- public TestJPAServlet() {
- super();
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
- */
- protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- Query q = em.createNamedQuery("User.findAll");
- List users = q.getResultList();
- response.getWriter()
- .append("JPA users returned: " + users.size());
- }
-
- /**
- * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
- */
- protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- // TODO Auto-generated method stub
- doGet(request, response);
- }
-
-}
diff --git a/spring-ejb-modules/wildfly/widlfly-web/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/widlfly-web/src/main/resources/logback.xml
deleted file mode 100644
index 7d900d8ea8..0000000000
--- a/spring-ejb-modules/wildfly/widlfly-web/src/main/resources/logback.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/widlfly-web/src/main/webapp/WEB-INF/web.xml b/spring-ejb-modules/wildfly/widlfly-web/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 5b3f664443..0000000000
--- a/spring-ejb-modules/wildfly/widlfly-web/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
- widlfly-web
-
- index.html
- index.htm
- index.jsp
- default.html
- default.htm
- default.jsp
-
-
-
- TestJPAServlet
- TestJPAServlet
- TestJPAServlet
-
-
- TestJPAServlet
- /TestJPAServlet
-
-
-
- TestEJBServlet
- TestEJBServlet
- TestEJBServlet
-
-
- TestEJBServlet
- /TestEJBServlet
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-ear/pom.xml b/spring-ejb-modules/wildfly/wildfly-ear/pom.xml
deleted file mode 100644
index da321cb9eb..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ear/pom.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
- 4.0.0
- wildfly-ear
- wildfly-ear
- ear
-
-
- com.baeldung.wildfly
- wildfly
- 0.0.1-SNAPSHOT
-
-
-
-
-
- com.baeldung.wildfly
- widlfly-web
- ${wildlfy.version}
- war
-
-
-
- com.baeldung.wildfly
- wildfly-jpa
- ${wildlfy.version}
-
-
-
- com.baeldung.wildfly
- wildfly-ejb
-
-
-
- com.baeldung.wildfly
- wildfly-ejb-interfaces
-
-
-
-
-
-
- maven-ear-plugin
- ${maven-ear-plugin.version}
-
- lib/
- ${defaultLibBundleDir.version}
-
-
- com.baeldung.wildfly
- widlfly-web
- /wildfly
-
-
-
-
-
- org.wildfly.plugins
- wildfly-maven-plugin
- ${wildfly-maven-plugin.version}
-
-
-
-
-
- 2.10.1
- 1.2.0.Final
- 7
-
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/pom.xml b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/pom.xml
deleted file mode 100644
index bc9159b667..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/pom.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
- 4.0.0
- wildfly-ejb-interfaces
- wildfly-ejb-interfaces
-
-
- com.baeldung.wildfly
- wildfly
- 0.0.1-SNAPSHOT
-
-
-
-
-
- javax.ejb
- javax.ejb-api
- ${javax.ejb-api.version}
- provided
-
-
-
- com.baeldung.wildfly
- wildfly-jpa
- ${wildlfy.version}
-
-
-
-
- 3.2
-
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanLocal.java b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanLocal.java
deleted file mode 100644
index 16930cb5b9..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanLocal.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package wildfly.beans;
-
-import java.util.List;
-
-import javax.ejb.Local;
-
-import model.User;
-
-@Local
-public interface UserBeanLocal {
-
- List getUsers();
-}
diff --git a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanRemote.java b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanRemote.java
deleted file mode 100644
index 5b57d4283f..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanRemote.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package wildfly.beans;
-
-import java.util.List;
-
-import javax.ejb.Remote;
-
-import model.User;
-
-@Remote
-public interface UserBeanRemote {
-
- List getUsers();
-}
diff --git a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/resources/logback.xml
deleted file mode 100644
index 7d900d8ea8..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/resources/logback.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-ejb/pom.xml b/spring-ejb-modules/wildfly/wildfly-ejb/pom.xml
deleted file mode 100644
index 36574bf984..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ejb/pom.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
- 4.0.0
- wildfly-ejb
- wildfly-ejb
- ejb
-
-
- com.baeldung.wildfly
- wildfly
- 0.0.1-SNAPSHOT
-
-
-
-
-
- javax.ejb
- javax.ejb-api
- ${ejb.version}
- provided
-
-
-
- javax
- javaee-api
- provided
-
-
-
- org.hibernate
- hibernate-core
-
-
-
- com.baeldung.wildfly
- wildfly-ejb-interfaces
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-ejb-plugin
-
- ${ejb.version}
-
-
-
-
-
-
- 3.2
-
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-ejb/src/main/java/wildfly/beans/UserBean.java b/spring-ejb-modules/wildfly/wildfly-ejb/src/main/java/wildfly/beans/UserBean.java
deleted file mode 100644
index 07e3cbcb32..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ejb/src/main/java/wildfly/beans/UserBean.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package wildfly.beans;
-
-import java.util.List;
-
-import javax.ejb.Stateless;
-import javax.persistence.EntityManager;
-import javax.persistence.PersistenceContext;
-
-import model.User;
-
-/**
- * Session Bean implementation class UserBean
- */
-@Stateless
-public class UserBean implements UserBeanRemote, UserBeanLocal {
- @PersistenceContext(unitName = "wildfly-jpa")
- private EntityManager em;
-
- @Override
- public List getUsers() {
- return em.createNamedQuery("User.findAll")
- .getResultList();
- }
-}
diff --git a/spring-ejb-modules/wildfly/wildfly-ejb/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/wildfly-ejb/src/main/resources/logback.xml
deleted file mode 100644
index 7d900d8ea8..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-ejb/src/main/resources/logback.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-jpa/pom.xml b/spring-ejb-modules/wildfly/wildfly-jpa/pom.xml
deleted file mode 100644
index 603e337510..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-jpa/pom.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- 4.0.0
- wildfly-jpa
- wildfly-jpa
-
-
- com.baeldung.wildfly
- wildfly
- 0.0.1-SNAPSHOT
-
-
-
-
-
-
- org.hibernate
- hibernate-core
- provided
-
-
-
-
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/java/model/User.java b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/java/model/User.java
deleted file mode 100644
index 3a3f95bf8c..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/java/model/User.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package model;
-
-import java.io.Serializable;
-import javax.persistence.*;
-
-/**
- * The persistent class for the users database table.
- *
- */
-@Entity
-@Table(name = "users")
-@NamedQuery(name = "User.findAll", query = "SELECT u FROM User u")
-public class User implements Serializable {
- private static final long serialVersionUID = 1L;
-
- @Id
- private String username;
-
- private String email;
-
- @Column(name = "postal_number")
- private Integer postalNumber;
-
- public User() {
- }
-
- public String getUsername() {
- return this.username;
- }
-
- public void setUsername(String username) {
- this.username = username;
- }
-
- public String getEmail() {
- return this.email;
- }
-
- public void setEmail(String email) {
- this.email = email;
- }
-
- public Integer getPostalNumber() {
- return this.postalNumber;
- }
-
- public void setPostalNumber(Integer postalNumber) {
- this.postalNumber = postalNumber;
- }
-
-}
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/META-INF/persistence.xml b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/META-INF/persistence.xml
deleted file mode 100644
index 2aa6bc2cd7..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/META-INF/persistence.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- java:/H2DS
- model.User
-
-
-
-
-
-
-
-
diff --git a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/data.sql b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/data.sql
deleted file mode 100644
index 03eafa534e..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/data.sql
+++ /dev/null
@@ -1 +0,0 @@
-INSERT INTO users (username, email, postal_number) VALUES ('user1', 'user1@baeldung.com', 1000), ('user2', 'user2@baeldung.com', 2);
\ No newline at end of file
diff --git a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/logback.xml
deleted file mode 100644
index 7d900d8ea8..0000000000
--- a/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/logback.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
- %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
-
-
-
-
-
-
-
-
\ No newline at end of file