improved EjbConnector for choosing write interface classes