hi thanks kola for you help i had already solved the problem, and yes you're right i had the naming wrong i also managed to create a class with a static function witch gives the names of the EJB for lookup it took me a while to understand the documentation of AS 7!!!