The comics will take to the court as part of the US Open in Flushing Meadows, NY on September 6.
Sandler is to team with legendary hot-head John McEnroe for the doubles exhibition, while James will be partnered with 1991 French Open winner Jim Courier.
Saturday Night Live's Colin Quinn will be the special umpire for the all-star bout.
The 2012 US Open runs from August 27 through September 9 with Roger Federer, Novak Djokovic, Andy Murray and others vying for the men's singles title.
Maria Sharapova, Serena Williams and Victoria Azarenka will compete for the women's singles title.
> Chris Rock: 'Grown Ups is better than The Artist'
> Adam Sandler producing adaptation of Bad Toys II