To expose bean v3 over iiop in jboss 5 you need the right profile (look @ slimming jboss to know how to enable corba/iiop naming service etc...i remember "all" profile has corba enabled by default)
and ejb/interfaces like these:
1)
public interface MyRemote extends EJBObject {
String hello(String name) throws RemoteException;
}
2)
public interface MyRemoteHome extends javax.ejb.EJBHome {
MyRemote create() throws javax.ejb.CreateException, java.rmi.RemoteException
}
3)
@Stateless
@RemoteHome(MyRemoteHome.class)
@IIOP(interfaceRepositorySupported=false)
public class MySessionBean {
public String hello(String name) {
System.out.println("hello called for name: " + name);
return "Hello " + name;
}
}
then in jmx-console -> corbaNamingservice you should find the right name to use
Hoper this help,
bye