Maven Dependencies for JBoss 7.1 EJB Client

I wanted to implement the EJB client for JBoss 7.1 after this tutorial http://middlewaremagic.com/jboss/?p=1177#comments , which is based on the JBoss tutorial: https://docs.jboss.org/author/display/AS71/ EJB + invocations + from + a + remote + client + using + JNDI

I already tried troubleshooting tips, but still get an exception: javax.naming.NoInitialContextException: you must specify the class name in the environment or system property either as an applet parameter or in the application resource file: java.naming.factory.initial

Has anyone else come across this type of problem and know which banks (or the best Maven dependencies) are needed to get to the classes?

Regards, Helge

+6
source share
1 answer

Have you referred to ejb quick start? https://github.com/jboss-jdf/jboss-as-quickstart/tree/master/ejb-remote

This quick start contains two Maven projects that are listed in the jboss.org document and have all the necessary dependencies.

+6
source

Source: https://habr.com/ru/post/906581/


All Articles