I think this is a simple question for many of you but I have problem to get Home object from JNDI lookup it have error ClassCastException (in method narrow of PortableRemoteObject) I try many way to solve this problem (I think I'm missed some environment setting) If anyone have solution please help me or give me a simple example and tell me how to set environment to run Thanks in advance,