If you want to get H1b, it's better not to apply for J-1, because certain J-1 are subject to a two-year home-country physical presence requirement which requires you to return to your home country for at least two years at the end of your J-1 program. In that case you cannot get H1b unless you get a J-1 waiver.