- moved logic related to EJB initialization and termination to a common superclass
- now DataSource lookup works properly