hi,
we are migrating ejb from jboss to weblogic. In my ServiceBean class application context is set as following
@Resource(name="appContext",mappedName="java:lnp/appContext")
public void setApplicationContext(ApplicationContext ac){
}
when deployed war and trying to query am getting following exception
No Unique Bean Found ApplicationContext
in jboss
they are injecting applicationContext in ejb-jar.xml as following
<res-ref>
<res-env-name>appContext</res-env-name>
<jndi-name>java:lnp/appContext</jndi-name>
<injection-target>applicationContext</injection-target>
<bean>xxxBean</bean>
</res-ref>
how can i inject application context in weblogic?. we are using 10.3.5 version