I deployed a global module with remote ejbs defined, but I can't access them from deployed applications.

 

Here is the interface:

@Remote

public interface ICryptoAPI..

 

and bean definition:

@Stateless

public class CryptoAPI implements ICryptoAPI ...

 

How can I find jndi name of the ejbs deployed, since default @Ejb cannot find bean? Just to mention, /subsystem=naming:jndi-view() from jboss-cli doesn't print anything about deployed module and there are no errors in wildfly log.

 

Maybe, it is not possible to define injectable ejbs in global modules?