There's no need to use a car to get to the shore this summer. NJ Transit will pick you up in Philadelphia and have your toes in the sand in no time at all.
Here's a link to these directions: