if the setup you are using with testing on your personal server, then no, xampp is not necessary.
it is only necessary if you do not have another testing environment, or using a remote server for testing does not allow Dreamweaver to create a mysql connection. Some MySQL servers are configured to not allow outside connections.