Access EJB from Application Client (project configuration)
问题 I know this has been asked before, but i can't find a good answer So I want to have an client application that calls remote ejbs. For this i have 2 ear applications. One ear with the ejb module, and another ear with the application client module. In the client module i am trying to inject in the Main() class the EJB with @EJB annotation. application.xml for the EJB: <?xml version="1.0" encoding="UTF-8"?> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun