The javaee-web-api is supposed to support the Java EE Web Profile.
Introduced in Java EE 6, the Web Profile radically streamlines the platform and enables the creation of a new dawn of lightweight, agile, compelling application servers with a laser focus on web application development.
However if you compare the two different jar files there is little that differs between them. I opened them up in 7-zip and these two screenshots shows the only (AFAIK) differences, namely that there is no support for JMS in the javaee-web-api and that the xml library seems to be larger in the javaee-api.
javaee-api

javaee-web-api
