Reputation: 86185
Anone can compare those two? Any similarity and difference?
Upvotes: 2
Views: 915
Reputation: 18639
Not Exactly, but you can achieve more and less the same functionality as sync HTTPHandler.
Upvotes: 1
Reputation: 659
As far as I know Servlet is more general purpose you can implement more protocols using it e.g. SIP, other than just http. But it is the basis of all Java serverside web technologies
Upvotes: 0