I am calling below method which is deployed in the remote network.the application is deployed in JBOSS as a EJB services.

So am calling below program as a standalone program in eclipse then below exception is coming.

My question is how to access below service.can't i call this service as standalone program which is deployed as EJB service in some other network.

AuthenticationServices.getInstance().createSession("abcd");


Caused by: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:845)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.ejb.EjbHomeLoader.getRemoteHome(EjbHomeLoader.java:68)
at com.ejb.EjbHomeLoader.getRemoteHome(EjbHomeLoader.java:45)
at com.ejb.EjbManager.getEjbHome(EjbManager.java:238)
at com.ejb.EjbManager.getEjbObject(EjbManager.java:184)
at com.services.BaseServices.executeLocalEjbMethod(BaseServices.java:294)
... 2 more
Caused by: java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)