Recently Java used in web applications but naturally it is solely used for software development. As a language Java can be used in multiple sectors and only for this reason nowadays Java is going to grab the software industry in a quick manner. Where as, ASP is used for developing dynamic database oriented websites and as a Microsoft product, ASP always prefers Microsoft product mostly.
Active Server Pages (ASP) is used in Internet Information Server (IIS) which runs in another Microsoft sponsored server. As a programming language it is entirely used in web applications and it provides maximum security to its users than other cheap languages.
To do the freelance programmer jobs both of this two programming languages are used satisfactorily but the main difference is just in their cost, platform independency, security, usability, authenticity etc.
If you are thinking to create desktop applications you are searching for classy language then the suggestion going for the ASP (.net) direction. By using visual studio, you can accurately establish a functioning desktop application within few time periods by easily dragging components and dropping them as per your wish. By doing this process you can assemble maximum time for designing your back end and your application looks alike with several windows applications.
User Interface programming with java is not so simple like ASP, thus its takes minimum couple of weeks to happily accomplish. Now it can be easily calculated that several wee web applications is done by ASP very successfully apart using Java.
In case of software application you felt maximum hazards while using ASP programming language. Where as if you want to develop a software which is really sufficient in multi-user environment and which is accessible form different access levels (both internet and extranet) with strong database back ground then the advice goes for java programming.
In case of database compatibility, java is much flexible than ASP language. Database compatibility is really too luxurious for ASP because it only accessible by MS-SQL which is a Microsoft product, where as we can say that java is a database independent programming language.
When your thinking stuck into graphic then nowadays ASP (.net) is more effectively chosen than Java by contract programmers. The visual part of ASP is much appealing, much presentable and clear than java, thus in case of web application ASP programming is getting hype over Java. Both this two languages are safe by security point of view with their own levels, but in case of expenditure ASP (.net) is slightly reasonable than Java.