I have found roasting (as in the way you do a turkey) to keep chicken really moist! I place it on a rack in a roasting pan with lid or foil covered. Though some cooks don't use water, I do. A little liquid in the bottom helps reduce the drying effect you are worried about. Simply follow instructions on the wrapping from the package or check out turkey/chicken roasting in your cook book.
Keep it covered with tin foil and basted and it will not be dry. People overcook their chicken for fear of salmonella poisoning.
A whole chicken will take about 30-40 minutes at 400 degrees F. If you have a thermometer make sure the white meat reaches 175 and dark meat at 180 degrees.