[jboss-as7-dev] Migration - Remote access / naming of EJB beans

Carlo de Wolf cdewolf at redhat.com
Mon Feb 13 07:20:41 EST 2012


On 02/13/2012 11:59 AM, Wolf-Dieter Fink wrote:
> Hi all,
>
> I'm looking for possibilities how to migrate an application from AS4/5
> to AS7.1/EAP6 and try to document the todo's
>
> Is there a possibility to avoid jboss-ejb-client.properties?
> I miss the @RemoteBinding @LocalBinding annotation to set the JNDI name,
> is is gone and no other one?

You can simply use @EJB on the bean class of which you want to define a 
JNDI name.

https://community.jboss.org/message/647139

Carlo

>
> regards
> Wolf
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list