3 Replies Latest reply: Apr 21, 2012 9:46 AM by Gajendra Rathore RSS

Will JBoss AS 7.1.1 support both acess type @Remote and @Local ?

Gajendra Rathore Newbie

Hi,

 

I am using Jboss as 7.1.1 Final. trying to migrating my project from Jboss4 to Jboss7, We are using both EJB2 and EJB3. In some of the beans we are using both the access type remote and and local

 

@Stateless

@Remote(EliBroker.class)

@Local(EliBroker.class)

 

and getting this exception.

 

[EJB 3.1 spec, section 4.9.7] - Can't add view class: AbcBroker as local view since it's already marked as remote view for bean : AbcBrokerBean

 

need help to resolve this issue.

 

Thanks,

Gajendra