.NET中Servlet和Applet的对应关系是什么? [英] What are the correspondent of Servlet and Applet in .NET?
问题描述
我想了解 .NET 中 servlet 和小程序的对应对象是什么,但我在 JAVA 方面没有太多经验.
I am trying to understand what's the correspondent of servlets and applets in .NET but I don't have much experience in JAVA.
我认为 Applet 可以与 Silverlight 的东西相提并论,这意味着您可以独立于浏览器进行编码,但事实并非如此,因为(在其他事情之间)您可以在浏览器之外重新使用 Applet.
I am thinking applets could be compared to the silverlight stuff, meaning you code independently from the browser, but then it's not like that since (between other things) you can re-use an applet outside the browser.
我需要为基于 JAVA 的大学课程演示 Web 技术,并且我可以使用 .NET 只要我能演示相同的东西.
I need to demonstrate web technologies for a JAVA-based college-course and I can use .NET as long as I can demonstrate the same stuff.
感谢任何帮助或想法!
推荐答案
在 .Net 中,HTTP 处理程序 (.ashx) 可能是最接近 servlet 的东西.至于小程序,没有直接的等价物,但 siverlight 可能是最接近的(虽然它更接近于 Flash/JavaFX)
In .Net, HTTP handlers (.ashx) are probably the closest thing to a servlet. As for applets, there isn't a direct equivelent, but siverlight is probably the closest (although its closer to Flash/JavaFX)
这篇关于.NET中Servlet和Applet的对应关系是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!