Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# tomcat ??

Status
Not open for further replies.

sedj

Programmer
Aug 6, 2002
5,610
Hello guys ... another Java programmer dipping the toe into .NET ... is there an equivelant to tomcat in the .net framework ? Is it IIS ? Are there the MVC -Servlet-JSP-Bean model in C# ??

Cheers,

Ben
 
Don't know what Tomcat is, sorry.

The MVC design pattern is do-able in .NET, but it's not really in there explicitly -- you'd have to do a lot of the coding yourself. You can think of assemblies as beans, but there are important differences (an assembly is primarily a unit of software distribution, not a "pluggable" resource, although it can be written that way).

Chip H.
 
Sorry, Tomcat is a 'Servlet Container' - it basically allows developers to produce dynamic content for the web through JSP and Servlets. What kind of application server do ASP pages and .net applications sit in if they need service http calls ?

Thanks again,

Ben
 
They run in IIS, Microsoft's web server.

The next version of IIS (ships with Windows Server 2003) has some cool stuff in it -- the HTTP listener is a kernel-mode process, which increases performance (at the risk of reducing reliability) by eliminating many of the user-mode to kernel-mode transitions that occur in OS API calls.

You can write your own HTTP Filters and Modules using .NET, and insert them in the call chain. I'm not real sure what the difference is (I'm a middle tier guy), but I think it's that Modules can alter the contents of the messages, like for compression or encryption, while a Filter directs content to a specific Handler (no clue what that is) or not.

There is no framework like what you see in J2EE and/or beans, but there are objects which are made available to ASP pages which give you the contents of the request, and to which you can write responses. Right now, my impression of the ASP model is that it's suffering from legacy requirements -- tens of thousands of programmers know "classic" ASP, and even Microsoft couldn't change direction on them that fast. It would be much nicer if it had some more OO in it. Maybe in the next release. ;-)

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top