Cable glands are typically 2 thread assemblies. Normal nut and sealing O-ring mounts gland on wall of enclosure. Special nut tightens seal rubber on cable, producing IP67 or better ingress protection. Upside, natural pull resistance. Simple, low cost. Downside, requires space for cable to board assembly inside enclosure. Requires additional connector for middle of cable separation when disconnecting modules for maintenance/repair.
Sealed connectors are wire to wire (panel mount) or wire to board (compact fit PCB enclosure). Screws fasten housing with seal on wall of enclosure. Mating housing and seal mounts with friction, locking detent, screws, or thread. Upside (WtB), compact assembly with no install work inside enclosure. Enclosure is easily disconnected from cable for hassle free transport/maintenance. Downside, requires close fitting custom enclosure. Shock at connector transmitted closer to PCB. Harder to replace considering longterm part availability.
Deeper and other ideas appreciated.