fortunately you can't have a real holodeck without a replicator so the latter would probably be invented before the former is perfected
and with that comes transporters though they may not be acceptable for personal transportation at any point because then you get into a metaphysical argument that even at that point we probably wouldn't have the data to approach