just add app-serv-rt.jar(for GlassFish 2.0) in your client project it would be working fine Thanx Sabbirali Kadiwala
Separate names with a comma.