Wood Fence Post through Driveway
A post that is not one piece going relatively deep into the ground is going to have trouble supporting a gate. A spiked socket in the ground will probably not hold the post steady.
For a gate hinged right up against the house, fastening the post to the house is a good idea. Either there should be several fastening points including some near the top of the post, or the fastenings should include screws that hit a stud in the house wall.
The disadvantages of crab apple trees. In summer, the apples are too sour to pick and eat. In winter the birds come and leave dropping all over the place.