I have tried to migrate the EAR file to GF v3 maintaining the EE5 technology.
I use a portable global JNDI name that is,
public CustomerDetails() {
try {
InitialContext ic = new InitialContext();
customerSessionBean = (CustomerSessionLocal)
ic.lookup("java:global/MyCustomer-ear/MyCustomer-ejb/CustomerSessionBean!com.mycustomer.ejb.CustomerSessionLocal");
} catch (NamingException ex) {
Logger.getLogger(CustomerDetails.class.getName()).log(Level.SEVERE, null, ex);
}
}
But it does not work. The estrange thing is that NB console does not show any error message.
It is possible that everything is correct and the JSF pages does not show any information because another reason.
Cheers.
[Message sent by forum member 'josealvarezdelara' (dakhla.0563_at_hotmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=385171