Visa is usually valid for 6 months.
If you apply J1, INS officer will give you D/S stauts at port of entry, which means you can legally stay in US as long as you have valid J1 status.
If you have H1, INS office will stamp a departure date on your I-94, but still you can extend.