I can deploy the rar generated using code generator successfully.
Next step for me is to get the jndi name of the connection factories, and the transaction support type of the connection factories, from ManagementRepository class. But it seems that the ManagementRepository does not provide such methods, any idea on this?