The process of developing and deploying an MDB application consists of the following steps, that is these are the steps for an MDB application receiver:
...
1. Create an EJB Project.
2. Develop the enterprise bean (EJB).
3. Assemble the enterprise bean archive (EAR file).
You can choose the type of the sender to be either an internal J2EE client (another EJB, Servlet or JSP) or a remote Java client.