What is java used for?

Can what java does be done with other languages?

  • (2 Pages)
  • +
  • 1
  • 2

16 Replies - 3525 Views - Last Post: 12 April 2009 - 10:09 PM

#1 crazyjugglerdrummer  Icon User is offline

  • GAME OVER. NERD WINS.
  • member icon

Reputation: 119
  • View blog
  • Posts: 690
  • Joined: 07-January 09

What is java used for?

Posted 07 April 2009 - 09:08 AM

I was wondering, what is java primarily used for? Animation can be done with flash, server side stuff can be done with PHP and ASP and all that. I suppose we do need a language that is cross-platform for application development and web-stuff, so we can have that platform independence when we need it. It can communicate with databases and do networking stuff, but can't that be accomplished with other stuff? I guess its a good thing to have multiple ways to do the same thing, but I'm curious as to the various things that can be done with java and what its niche is as a programming language and on the web.

Don't get me wrong, I like java a lot, especially since its similar to C++ which makes it a lot easier to pick up. I'm career pondering and curious about what role java will play in different situations.

Thanks guys!

Is This A Good Question/Topic? 0
  • +

Replies To: What is java used for?

#2 TechWar  Icon User is offline

  • D.I.C Regular

Reputation: 7
  • View blog
  • Posts: 470
  • Joined: 17-February 09

Re: What is java used for?

Posted 07 April 2009 - 10:12 AM

I'm in the same postion and would love to know this answer.
All I know is that in my area, Java is more prevalent in job descriptions than C++ or C#
Was This Post Helpful? 0
  • +
  • -

#3 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: What is java used for?

Posted 07 April 2009 - 10:49 AM

Server applications and mobile game/app development I guess. It's mostly JavaEE and JavaME used in the market place.
Was This Post Helpful? 0
  • +
  • -

#4 c0mrade  Icon User is offline

  • D.I.C Regular

Reputation: 20
  • View blog
  • Posts: 412
  • Joined: 16-November 07

Re: What is java used for?

Posted 07 April 2009 - 01:11 PM

Yeah Java is huge on the server side.

Not just just for web applications, all kind of server side apps.
Was This Post Helpful? 0
  • +
  • -

#5 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: What is java used for?

Posted 07 April 2009 - 02:45 PM

Server side development is what Java shines in. Java can be used for /anything/. Java can do anything C++, Clojure, Scala or VB can do, and vice versa with enough thought and work.
Was This Post Helpful? 0
  • +
  • -

#6 markhazlett9  Icon User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 60
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: What is java used for?

Posted 07 April 2009 - 05:20 PM

Java's main advantage in regards to desktop applications. It has the ability to run on most platforms without the need to change your code.
Was This Post Helpful? 0
  • +
  • -

#7 rahulbatra  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 16
  • View blog
  • Posts: 183
  • Joined: 28-December 05

Re: What is java used for?

Posted 10 April 2009 - 03:05 AM

Everything that Java does can be done with another programming language provided you choose the right one. Where Java wins is its vast ability to do quite a few things from desktop apps to dynamic websites to server side apps.

Plus a huge benefit is that Java is the most used language right now and most big corps usually pick it rather than going for the new hot language of the year. Getting a job is usually easier if you know Java.
Was This Post Helpful? 0
  • +
  • -

#8 prajayshetty  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 31
  • View blog
  • Posts: 920
  • Joined: 27-April 07

Re: What is java used for?

Posted 10 April 2009 - 05:15 AM

what about c# guys
Was This Post Helpful? 0
  • +
  • -

#9 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 520
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: What is java used for?

Posted 10 April 2009 - 09:49 AM

View Postprajayshetty, on 10 Apr, 2009 - 06:15 AM, said:

what about c# guys


That's not the question.
Was This Post Helpful? 0
  • +
  • -

#10 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1638
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: What is java used for?

Posted 10 April 2009 - 10:09 AM

View Postrahulbatra, on 10 Apr, 2009 - 01:05 AM, said:

Where Java wins is its vast ability to do quite a few things from desktop apps to dynamic websites to server side apps.


C# can do desktop applications, dynamic web applications and server side applications as well, so I would call that a win for Java.
</RANT>
Was This Post Helpful? 0
  • +
  • -

#11 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 520
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: What is java used for?

Posted 10 April 2009 - 11:16 AM

View PostPsychoCoder, on 10 Apr, 2009 - 11:09 AM, said:

View Postrahulbatra, on 10 Apr, 2009 - 01:05 AM, said:

Where Java wins is its vast ability to do quite a few things from desktop apps to dynamic websites to server side apps.


C# can do desktop applications, dynamic web applications and server side applications as well, so I would call that a win for Java.
</RANT>


C# isn't cross-platform. ;)
Was This Post Helpful? 0
  • +
  • -

#12 markhazlett9  Icon User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 60
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: What is java used for?

Posted 10 April 2009 - 11:34 AM

View PostLocke, on 10 Apr, 2009 - 10:16 AM, said:

View PostPsychoCoder, on 10 Apr, 2009 - 11:09 AM, said:

View Postrahulbatra, on 10 Apr, 2009 - 01:05 AM, said:

Where Java wins is its vast ability to do quite a few things from desktop apps to dynamic websites to server side apps.


C# can do desktop applications, dynamic web applications and server side applications as well, so I would call that a win for Java.
</RANT>


C# isn't cross-platform. ;)



Which is really the point of running on a virtual machine anyways.
Was This Post Helpful? 0
  • +
  • -

#13 kewlkreator  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 38
  • View blog
  • Posts: 1,065
  • Joined: 25-March 09

Re: What is java used for?

Posted 10 April 2009 - 11:57 AM

Video games!
Try something like runescape!
PyroSand2!
Was This Post Helpful? 1
  • +
  • -

#14 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4316
  • View blog
  • Posts: 12,096
  • Joined: 18-April 07

Re: What is java used for?

Posted 10 April 2009 - 12:18 PM

Purpose of a virtual machine, to allow a language to be developed with a human in mind and independent of the machine it is running on. Think of the virtual machine as an interface that shields the language from the underlying OS and hardware. Remember, virtual machines translate programming code into the PROPER MACHINE LANGUAGE that the computer running it can understand.

There are virtual machines for various platforms and all take the same programming code and will translate it into different machine code for each type of machine it is to be run on.

As for the original question, Rahul is right. Java does everything that any other language can do provided you pick the correct one. But unlike what others have been saying, in fact the power of Java is 2 main things. It is cross platform compliant (primarily so it can run on Sun Microsystems mainframes and such) but the second part is that its a solid language for MOBILE devices. It can have a very small footprint thus run on machines with limited memory capabilities. This makes it perfect for cell phones etc.

Java would be seriously hurting right now if it didn't have such a strong grip on the mobile market. The only competitor is really windows mobile/CE which is still a bit bloated.

But in the overall scheme of things, yes everything that Java does is done by other languages. The same can be said for many other languages. Everything you can do in C# or VB can be done in other languages as well. This overlap is the reason why many vendors are beginning to try and merge languages together into a singular language that can run on virtually any platform.

Proof of this is pointed out by PsychoCoder himself in his thread about C# and VB possibly being merged together here soon. I would estimate that VC++ and C# will be merged very quickly as well.

Industry News - Microsoft to Merge VB.NET and C#

I hope we have a bit of merging but not everything merged. There should be a few choices, but not as many choices as there are out there right now.

:)
Was This Post Helpful? 0
  • +
  • -

#15 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: What is java used for?

Posted 10 April 2009 - 05:56 PM

View PostMartyr2, on 10 Apr, 2009 - 11:18 AM, said:

Purpose of a virtual machine, to allow a language to be developed with a human in mind and independent of the machine it is running on. Think of the virtual machine as an interface that shields the language from the underlying OS and hardware. Remember, virtual machines translate programming code into the PROPER MACHINE LANGUAGE that the computer running it can understand.

There are virtual machines for various platforms and all take the same programming code and will translate it into different machine code for each type of machine it is to be run on.

As for the original question, Rahul is right. Java does everything that any other language can do provided you pick the correct one. But unlike what others have been saying, in fact the power of Java is 2 main things. It is cross platform compliant (primarily so it can run on Sun Microsystems mainframes and such) but the second part is that its a solid language for MOBILE devices. It can have a very small footprint thus run on machines with limited memory capabilities. This makes it perfect for cell phones etc.

Java would be seriously hurting right now if it didn't have such a strong grip on the mobile market. The only competitor is really windows mobile/CE which is still a bit bloated.

But in the overall scheme of things, yes everything that Java does is done by other languages. The same can be said for many other languages. Everything you can do in C# or VB can be done in other languages as well. This overlap is the reason why many vendors are beginning to try and merge languages together into a singular language that can run on virtually any platform.

Proof of this is pointed out by PsychoCoder himself in his thread about C# and VB possibly being merged together here soon. I would estimate that VC++ and C# will be merged very quickly as well.

Industry News - Microsoft to Merge VB.NET and C#

I hope we have a bit of merging but not everything merged. There should be a few choices, but not as many choices as there are out there right now.

:)


I've got a man crush on you and your knowledge.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2