If you're a beginner, it will be a steep learning curve to be out surfing your local beach break. If you've ever seen a beach ball in the break zone, you know that once one big wave comes, it crashes on it (or before it) and brings it all the way into shore. In a whitewater style kayak, because you have a lot of air/buoyancy inside your kayak, when your trying to paddle out and over the waves you can cop a pounding. It often will seem like all the ground you make, you lose whenever a set comes through. You can't dive under the waves like on a surf ski or something, you've just got to try and go over them! Learn to roll before you go out. Trying to drag a kayak full of water from the brake zone to the shore is extremely difficult.
If you can find a point break where you can catch the waves and paddle back around them, this is perfect for a whitewater kayak. Just make sure that if a set comes and trashes you it won't be dumping you onto any rocks.
Having said all this, the surf is huge fun in a whitewater kayak. It's just that I'd hate to see you get overwhelmed and decide after a few goes that it's not for you. If your out paddling often, you'll learn quick! And paddling whitewater rivers is an awesome experience, so in my opinion you'd be better off getting something that can do both, not just ocean.
Adrian has suggested a river running playboat. This sounds like it would best suit your needs, there's also many other brands that do similar style kayaks, so have a look around. Jackson Fun series, Liquid Logic CR series. All the other whitewater brands will do something in the same catagory as well. Wavesport, Fluid, Dagger etc...
Good luck!