a bit of progress, not yet functional, hit the usual javax.naming.NameNotFoundException: null

but it was not expected to work anyways, more testing is needed.