What make java scalable ?

java is famous of its scalability . if you look to the java platform general characteristics it is more or less similar to .NET . but still java is famous of having "enterprise level scalability" .
what make java so ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kanti PrasadCommented:

Java is Oracle corp and  .Net is Microsofts one.

Most people tend to use Java as it is free. Corporate makes decisions, to use one over the other basing on their existing employee skill sets, business contracts with either Microsoft or Oracle, Software license costs etc. In general both will scale up to enterprise applications.

Java, C# , C++ are object-oriented language it mean all of them have the concepts of Inheritance, Encapsulation, Polymorphism & Operator overloading.

The below link will give you info on CSharp vs Java.  

Java can be further broken down to different areas as below to cater to various business requirements within an enterprise application. Java can run on any Operating System ( Unix , Windows etc).

1.  Standalone Component ( Java code) (Java code becomes Java Bean if is with set and get methods).
2.    JSPs are  HTLM + Java code.  Later once combined at runtime will turns out to be a Servlet,
3.   Servlets Components-- Java code that uses javax.servlet and javax.servlet.http packages.
4.   EJB Components ( Session Bean, Entity Bean, Message Bean) -- Java code
5.   JMS  Components-- Java Code
6.  APIs  -- Java Code

Java Language does not bring scalability, but the way the application is coded using the above Java components and the way the Infrastructure is setup.

Highly scalable applications will have the below tiers and when the right java components are coded well you can make an application vertically or horizontally scalable.

User logs on--> Load Balancer (F5) --> WebServer (Multiple Jvms) --> Application Server --> Databases ( Clustered)
I agree with you. There really aren't any major reasons why Java would be technically better than .NET

I think the main issues against  .NET were the idea of being locked into Microsoft on every front...  developer tools, operating system, innovation (Microsoft decided what features to add and when, there weren't many open source libraries, no NuGet and so on). Yes... Features like the Task Parallel Library came to NET almost a decade after Java, but for the most part... The frameworks have been technically  comparable. I must concede though that Microsoft was closed and didn't encourage community contribution towards the framework. Think of projects like JUnit, Hibernate, Quartz, Spring and so on which the NET community copied from the Java community. The.NET community mostly waited for Microsoft. Another perspective is that it's probably correct to suggest that  certain aspects of Microsoft's broader business strategy, had a negative impact on adoption rates for the NET Framework. Example... Microsoft often wanted to insist on its own home grown protocols and standards as opposed to accepting open standards. IE vs FF / Chrome. This things made some people shun Microsoft and develop the negativity. But all of these, have nothing to do with technical capability of the NET Framework.

But now Microsoft has changed... Embracing open source... Open sourcing their own products... Incorporating third party products like NewtownSoft JSON.NET, jQuery as defacto libraries with Visual Studio.

I often see a lot of Microsoft bashing and Windows trashing even from people who cannot provide technical reasons why. NET obviously bears some of the brunt here. Is interesting to hear what Java enthusiasts say about NET...




Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chris HInfrastructure ManagerCommented:
Two of my inhouse applications vendors are "PUSHING"  away from .net applications and moving toward a java platform to address performance issues.  Not sure if that's a coincidence or if it's becoming known that .net is a resource hog in some aspects.
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Sometimes... Bad workmen quarrel with their tools. Sometimes...

What sort of system is this though? What sort of volumes die it gave to deal with? NET is not the panacea and the do all environment... And depending on the app... Some development platforms are indeed better than others.
Chris HInfrastructure ManagerCommented:
The client-side is really the issue.  As a RDS windows user, anything java is just lighter and faster compared to our .net apps.  With that said, java and windows have been playing well together for a very, very long time.  Our new 2012R2 RDS server with .net 4.5 seems to be substantially faster than our previous 2008R2 servers, even though it's built on the same hardware.
That's interesting. I haven't come across a similar experience. But then again, most of my client side work is web based.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Enterprise Software

From novice to tech pro — start learning today.