Servlet API和Portlet API是什么意思?

问题描述:

This链接说,Spring MVC的本质上是一个请求分发器框架,一个Servlet API的变体和Portlet API的变种。Servlet API和Portlet API是什么意思?

那么,到底是什么意思?这两种方法提供了什么样的环境?

+1

[Spring mvc中的所有portlet类是什么?](http://*.com/questions/722383/what-are-all-the-portlet-classes-in-spring-mvc) – adarshr 2012-01-03 11:50:42

+2

看到这 - http://*.com/questions/1480528/what-is-the-difference-between-a-portlet-and-a-servlet – Manish 2012-01-03 11:50:58

+0

@ManishSharma:哦,是的。我想问同样的事情。谢谢 :) – whitehat 2012-01-03 12:00:16

这意味着春天将启动并等待请求,它会重定向收到你的代码的请求。

您可以实现无论是作为servlet或portlet时,通常延长/实施此类API提供的类/接口的一个代码。 Spring将提供机制,让您可以忘记血淋淋的细节(TCP,管理URL)并专注于您的代码。