[jboss-user] [EJB/JBoss] - Re: How To Modify Global JNDI Name

Crucifix do-not-reply at jboss.com
Thu Sep 25 12:07:34 EDT 2008


This is exactly what I wanted.  Thanks so much for your help!

I see I no longer need to specify the 'name' in the @Stateless attribute either.  This is my Global JNDI Namespace before and after the change:

Before:

  | @Stateless(name="TestEJB")
  | @Remote(IPing.class)
  | 


  |   +- TestEAR-1.0.0 (class: org.jnp.interfaces.NamingContext)
  |   |   +- TestEJB (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- remote (proxy: $Proxy161 implements interface test.IPing,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
  | 

After:

  | @Stateless
  | @Remote(IPing.class)
  | @RemoteBinding(jndiBinding="TestEAR/TestEJB/remote")
  | 


  |   +- TestEAR (class: org.jnp.interfaces.NamingContext)
  |   |   +- TestEJB (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- remote (proxy: $Proxy177 implements interface test.Ping,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
  | 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178865#4178865

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178865



More information about the jboss-user mailing list