Thank you very much!!!
I started two servers in the same machine.
When i set the property "jboss.node.name" unique for each server, this solved my EJBCLIENT000025 exepction.
I am a java barcode developer. I have found this question: What is the difference between @Inject and @EJB but I did not get any wiser. I have not done Java EE before nor do I have experience with dependency injection so I do not understand what I should use? Is @EJB and old way of injecting? Is the injection done by the EJB container when using this annotation while using @Inject use the new CDI framework? Is that the difference and should I be using @Inject instead of @EJB if this is the case?