OrdersHome ordershome=(OrdersHome)obj;你的是LocalBean吗?
如果不是问题就在这!
应该改成
PortableRemoteObject.narrow(obj,Class.forName("The path of OrdersHome"))