Here I am assuming that you can add a J2EE Module in NetBeans IDE. Suppose we have created a J2EE Enterprise Application that have two J2EE modules named JavaTipsSessionBean-EJbModule and JavaTipsSessionBean-WebModule. So in this step we will add a stateless session bean to the EJB module. Right click on SessionBean EJB-Module and select Session Bean.