File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When to use java ?

 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For which kind of problems is java the best solution ? When should i choose another language over java ?
Which languages are are good competitors of java ?
 
Sunny Bhandari
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Platform Independence
Servlets,JSP and EJB give you ready made solution for writing web components
Spring/Hibernate
Open Source (Main difference from .Net C#)


Good competitor is Scala. Recently gaurdian.co.uk moved from Java to Scala.
 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sunny Bhandari wrote:
Open Source (Main difference from .Net C#)

And Platform Independence too ? I heard that .net is not platform independent.

Sunny Bhandari wrote:
Good competitor is Scala. Recently gaurdian.co.uk moved from Java to Scala.


What are the advantages of scala over java ? Would you advise a "new" java programmer to choose scala as his 2nd language instead of say, c++ , python etc ?
 
Mohamed Sanaulla
Saloon Keeper
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sunny Bhandari wrote:Good competitor is Scala. Recently gaurdian.co.uk moved from Java to Scala.

They are moving slowly. As of now Just the Content API has been moved.

Twitter moved from RoR to Java and that resulted in the 3 times performance improvement in their Search.

 
Mohamed Sanaulla
Saloon Keeper
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul Sudip Bose wrote:
What are the advantages of scala over java ? Would you advise a "new" java programmer to choose scala as his 2nd language instead of say, c++ , python etc ?

Scala is based on Functional and Object Oriented programming paradigms. Scala makes the code less verbose, its better performance than Java. Also concurrent programming in Scala is easier using Actor model.

I would recommend Scala- But its a bit complicated to start with. You may not feel like progressing when you are learning that language. But its always good to be prepared with different programming techniques. Also Lift is a web framework based on Scala and companies like FourSquare, Novell are using this in their production environment.

If you like to learn Scripting languages- Groovy is a popular one which runs on JVM and is similar to Java. I suppose its a bit easier to learn than Scala. Also there is Grails which is a Ruby on Rails like framework based on Groovy.

The advantage of learning Scala is that you get to learn the Functional Programming concepts and these days with languages like Haskell, Erlang functional programming concepts are gaining some popularity.

I would suggest you to have a look at the Mobile platform as well- Android which is based on Java.

The advantage of Java is the Java EE- which is used widely in most of the enterprise applications- As suggested by Sunny- You have lot of web frameworks, RIA technologies which make use of the java ecosystem.

 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:
Sunny Bhandari wrote:Good competitor is Scala. Recently gaurdian.co.uk moved from Java to Scala.

They are moving slowly. As of now Just the Content API has been moved.

Twitter moved from RoR to Java and that resulted in the 3 times performance improvement in their Search.



Are there some documents/websites that show that ? Its a different matter that i may be ill-equipped to analyze them. :cry:
How popular is RoR ? I saw a few websites (scribd i guess) that have jobs in RoR.
 
Mohamed Sanaulla
Saloon Keeper
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul Sudip Bose wrote:
Are there some documents/websites that show that ?

Here it is: http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faster_1656.html

Rahul Sudip Bose wrote:How popular is RoR ? I saw a few websites (scribd i guess) that have jobs in RoR.

RoR is popular. there are lot of jobs around. You can find out the job statistics from indeed.com http://www.indeed.com/jobtrends?q=Statistics&l=
 
Mohamed Sanaulla
Saloon Keeper
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaBeginnersFaq
 
Harry Tuttle
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

or this Eclipse and Java for Total Beginners
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic