I don't understand the question. Could you please elaborate?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
But what makes EjbHome to act as Factory ....A factory should allow its subclasse to create instances...
The intent of the GoF pattern "Factory Method": Define an interface for creating an object, but let subclasses decide which class to instantiate. "Define an interface" has been fulfilled with javax.ejb.EJBHome. "let subclasses decide which class to instantiate" is fulfilled by the container generating vendor-specific decorating classes of the EJBHome interface specified by the bean developer, such as com.foobar.MySessionHome_impl for a home interface called com.foobar.MySessionHome.