Good moves for both teams.
For NYJ: Revis clearly doesn't want to be there any longer, is coming off an ACL and is in the last year of his deal + wants to be paid like he is still 24 and has a clean bill of health. He is neither 24 nor does he have a clean bill of health, so they deal him for draft picks. They have been shopping him forever now, so I can safely assume the 1st + 3rd was the best they were going to get for him. Not bad, all things considered. And honestly it comes right in time for the Jets. Next season will be another down year. There is literally no talent on the offensive side of the ball. They will faulter this year, but that allows them to get rid of Rex, Sanchize and start from scratch and they'll have 2 extra picks to help them do so. Also Zach who shat on next year's draft, the 2014 draft is fucking loaded. This year, not so much.
For TB: They essentially buy low on the best CB in the game when he is healthy, and the secondary was their biggest issue last season. They had the cap space and weren't afraid to make a move to try and put themselves into contention in the NFC South. Their first rounder this year possesses about as little value as a first round pick can IMO, as the middle-to-late portions of this years first round isn't exactly loaded with top rate prospects. I am never a fan of teams with a ton of holes trading picks, but for a team like TB with a solid team and one glaring weakness it is a move that makes a lot of sense.