If you're trying to move an orbital habitat through an ungated JP, you're going to need a colossal jump engine that can handle it, as each habitat module by itself is 100k tons.
On the other hand, you can tow anything through a jumpgate no matter how big it is.