使用 Java EE 的网站
我有一个简单的问题,但我找不到答案。我想知道我们是否可以看到一个网站是使用 Java EE 技术或 servlet/JSP 构建的。我认为在某些情况下可以从服务器查找特殊页面(404,错误的参数,...),但是日常使用呢?
事实上,我正在寻找使用 java 技术的优秀(或广泛使用)网站的集合,但我无法真正找到这些网站的列表。如果您能帮助我解决这两个小问题,我将非常高兴
I have a simple question, but I can't find out the answer. I'm wondering if we can see that a website is built using the Java EE technology, or servlets/JSP. I think it could be possible to look for specials pages from the server (404, wrong parameters, ...) in some cases, but what about the everyday use ?
In fact, I look for a collection of great (or wide used) website using the java technology, and I can't really find a list of these. I'll be very happy if you can help me with these two small questions
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以将其完全隐藏,以便从 URL 或响应标头中看不到它。我至少可以看出 Google 和 Flickr 使用的是 Java 后端。许多银行/金融系统也在其上运行。
对于剩余的内容,只需检查基于 Java EE 的知名框架的组合即可。例如 Liferay、IceFaces, 接缝
You can hide it completely so that it's not visible from the URL or the response headers. I at least can tell that Google and Flickr are using a Java backend. Also a lot of banking/financial systems run on it.
For the remnant, just check the portfolios of well-known Java EE based frameworks. E.g. Liferay, IceFaces, Seam
我认为没有一种万无一失的方法可以告诉您无法控制的网站是使用哪些技术构建的 - 任何常见的线索总是可以被隐藏或故意看起来像其他东西。
你可以查看HTTP响应中的Server头(Tomcat似乎使用“Apache-Coyote/1.1”),它可能会给你一个线索。请记住,运行网站的服务器可能对外部访问隐藏,而其他类型的服务器则充当放置在其前面的代理。您无法确定最终获得哪个服务器的标头。
就我个人而言,我倾向于从 URL 识别 Java Web 应用程序(*.do = 典型的 Struts、.jsf/.faces = Java Server Faces、?wicket:interface = Wicket 等),但同样,这些是可配置的并且可能会发生变化。在当今 REST 和漂亮 URL 的世界中,也不要押注于此。
出于好奇,为什么需要使用 Java 构建的流行网站列表?
I don't think there is a bullet proof way to tell what technologies a website that you don't control was built with - any common clues can always be hidden or made to look like something else on purpose.
You can look at the Server header in a HTTP response (Tomcat seems to use "Apache-Coyote/1.1"), it may give you a clue. Keep in mind that the server running the website may be hidden from outside access, with other kind of servers acting as proxies placed in front of it. You cannot be sure which server's header you end up getting.
Personally, I tend to recognize Java web apps from the URLs (*.do = typical Struts, .jsf/.faces = Java Server Faces, ?wicket:interface = Wicket, etc), but again, these are configurable and subject to change. In today's world of REST and pretty URLs, don't bet on this either.
Out of curiosity, why do you need a list of popular websites built with Java?
您可以使用 nmap 来检测服务器类型。
例如:nmap -A -T4 serverhostname
请参见此处:http://nmap.org/book/vscan.html
You can use nmap to detect server type.
Eg: nmap -A -T4 serverhostname
See here: http://nmap.org/book/vscan.html