Hello!
I would like to know how I could access from a ManagedBean to the remote interface of a Session Bean. The structure of my ear file is de folowing:
-Prototipo.ear -META-INF - MANIFEST.MF - application.xml - jboss-app.xml -PrototipoEJB.jar -entity -ProyectoCMP.class -META-INF -MANIFEST.MF -ejb-jar.xml -persistence.xml -session -GestorProyectosBean -GestorProyectosHome -GestorProyectosRemote -PrototipoWeb -META-INF -MANIFEST.MF -WEB-INF -classes -ManagedBean.class -lib -faces-config.xml -web.xml
<?xml version="1.0" encoding="utf-8"?> <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"> </ejb-jar>
Sorry!!!
This is a stupid mistake! I forget establish the dependece between my web tier and my ejb tier in Eclipse.
Thanks