I've tried to create a sample application EAR but it is not easy. I tried an application with two modules (ejb, war) to build. But my WAR module can not find any EJB from the EJB module. Is there a guide how to do that? Intellij says that you can fix it, it does not.