Java and ASP dot Net do not have any real comparison. Java is a computer language, where as ASP dot Net is a web technology for generating web content. However, the biggest difference between Java and ASP dot Net is the basic philosophy behind the languages. Java is a programming language designed to be run on many different platforms, and so uses a common language which has to be compiled and run on different platforms (example: Windows, Mac and Linux). Microsoft, with their offering of ASP dot Net, takes on a different approach, by allowing you to program in any language you choose, but has compilers for many different languages that generates a platform specific code (i.e. Microsoft or Windows)
Java can be used to write programs for many different operating systems, and ASP dot Net can be used to make any programming language into a Windows program. This is all based on the original design goals of the programming language, and has both advantages and disadvantages over each other. Both Java and ASP dot Net are otherwise object-oriented programming languages, with their obvious syntax differences.
It is to also important for us to know the advantages of ASP dot Net programming over Java. One advantage is that you are not stuck with one language -a multi-language solution is easier to provide than with a java platform - you have the flexibility, for example, to use .net libraries that were written in a different language from the one you are using. From my point of view, this is a theoretical advantage. It may also be an actual advantage, but you'll need someone with extensive experience using .net to say for sure.
Another primary advantage of ASP dot Net is that it has Visual Studio. Java's primary advantage is that you have your choice of third-party tools. Today as traditional ways of business has emerged totally into e-commerce business, ASP.Net programming has very immense use in the business industry. E-commerce solution like Auction online, Stores online, Classified, E tender, dating, job portals, social network and entertainment sites are made with the help of this programming.
ASP dot Net is especially used for web designing whereas Java is used for designing both thick client windows desktop applications as well as wed applications. ASP dot Net is language independent. One might go on to suggest that the Java is "language independent" in the same way as ASP dot Net is - however, the only difference is that it is not marketed as such i.e. there is no technical constraint that prevents this from occurring.
-- In this article, I, Joanna Gadel, have clearly presented my idea upon these two popular programming languages. Java and ASP dot Net do not have any real comparison; however certain advantages of ASP dot Net over Java have made the most demanding solution for web developers.