Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET equivalent to Java Servlet and Apache Tomcat

Tags:

.net

servlets

is there a .NET equivalent to Java Servlet and Apache Tomcat server?

A similar platform that will provide a means of deploying .NET "Servlets"-like?

Cheers.

like image 711
quarks Avatar asked Sep 11 '11 17:09

quarks


People also ask

Can we run .NET application on Tomcat?

The Tomcat (Apache Tomcat) is Java exclusive, so it won't run anything . NET Core based.

Is Tomcat a Java Servlet?

Although its flexible configuration and interoperability with supporting technologies have enabled Apache Tomcat to act as a web application server in many circumstances, Tomcat is primarily a Java servlet container.

What is servlet C#?

A Servlet is an interface defined in a javax. servlet package. It declares three essential methods for the life cycle of a servlet, init(), service() and destroy().

Is Apache Tomcat a framework?

Apache Tomcat is an open source server and servlet container. It is used for the implementation of Java servlet and Java Server Pages (JSP) technologies. This framework's presentation tier used servlet and JSP.


2 Answers

IIS IS the equivelent to Apache Tomcat, and ASP.NET WebServices or WCF are the equivelent of Servlets. IIS is both a web server and an application server.

Technically, Servlets are more low level than web services, but that's because Servlets are a spcific API, and Web Services are typically implemented on top of Servlets. .net doesn't support the Servlet API, but you can use third party products if you need to use that API specifically.

like image 168
Erik Funkenbusch Avatar answered Sep 27 '22 18:09

Erik Funkenbusch


well, .NET has ASP.NET which runs server side and allows you to do a lot of things. Normally ASP.NET runs on IIS on a Windows Server and you have plenty of tools to create your architecture (WCF, WF, MSMQ, Windows Services, Scheduled Tasks...).

Is there anything special like a certain feature of the Java servlet(s) you are thinking about right now? You should ask more specific questions because being so general, answers are general too :)

like image 28
Davide Piras Avatar answered Sep 27 '22 17:09

Davide Piras