One way to solve your trouble is to implement a current open-source job according to the usage of JDT named : Spoon, now available on Github. This is what I don't do today any longer. Today I place factories from the entity layer which will benefit from the offer scope https://www.adult-vod.tv/