Blindhari, I have done a bunch of handi barrels in wildcats and non factory chamberings. The way I do it is by relining a shotgun barrel with a turned down rifle barrel of the caliber I want to make it then permenently epoxy glue it in the bore of the shotgun barrel. Usually I try to use a 20 ga. barrel because you need your rifle barrel to be large enough in diameter at the breech end to fit the shotguns chamber and if possible to be large enough dia. to turn a rim also but not necessary. The muzzle end of your barrel needs to be at least bore dia. of the shotgun barrel to work best also. With a 20 ga. that would require a barrel blank that could finish at .705 minimum dia. at the breech and .615 at the muzzle end. If you leave the O.D. of the shotgun barrel as is it makes a very heavy profile but I have turned some of them from paper thin at the muzzle to taper right up to the forend attachment lug and it reduces the weight alot and you can still use your shotguns forend unmodified if you want or you can glass bed it. I turn the barrel blank to about .005 to .007 clearance fit to the bore and chamber dimentions and usually take a 5/8- 11 tap and run it thru the full length of the bore to give the epoxy more to bond to, ( not necessary ) and will run a 3/4=10 tap into the 20 Ga. chamber a ways for the same purpose. Dont worry about the strength of the epoxy not holding things together because you could shoot the barrel with the liner barrel inside without any epoxy at all with complete safety, because if you or who ever does the machine work turns the liner to the correct sizes and gets the chamber end tight to the forcing cone of the shotguns chamber the inner barrel could never move forward.
The epoxy I use has a 3500 PSI strength and with all of the surface area between the liner and the inside of the shotgun barrel it will never shoot lose if cleaned properly and bonded as the epoxy requires.
I would think a ejector for a 223 Rem. would work with the 9 mm rimless case.
For a barrel look online at Numrich Arms / Gun Parts Corp. they usually have barrels or blanks sometimes pre chambered for reasonable cost. With this methood you can make just about any caliber barrel you want if you can find a rifle barrel that will work with the guage of shotgun barrel you have.
Hope you understand the concept, it's really not to difficult if you have a friend who can do the lathe and mill work, to me it is much less work than stubbing and the finished barrel looks facory made. Hope that helps, Jedman