j2ee use to develop server program which will deply into web server in java world.
It is a set of protocol(Interface) like jsp protocal,serlvet protocal,javabean protocol,jpa protocal.
web server offer the implement of j2ee protocal it call j2ee webserver.
For example, java language is a set of grammer,and java compiler is the implement of grammer.
this is the relationship between j2ee and j2ee web server.
we can develop program consist of jsp,serlvet,javabean component base on j2ee protocal and implement(webserver)