File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes When to use java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "When to use java ? " Watch "When to use java ? " New topic
Author

When to use java ?

Rahul Sudip Bose
Ranch Hand

Joined: Jan 21, 2011
Posts: 637

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 ?

SCJP 6. Learning more now.
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

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.


Java Experience
Rahul Sudip Bose
Ranch Hand

Joined: Jan 21, 2011
Posts: 637

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

Joined: Sep 08, 2007
Posts: 3056
    
  33

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 | My Blog
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3056
    
  33

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

Joined: Jan 21, 2011
Posts: 637

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

Joined: Sep 08, 2007
Posts: 3056
    
  33

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

Joined: Sep 08, 2007
Posts: 3056
    
  33

JavaBeginnersFaq
Harry Tuttle
Greenhorn

Joined: Apr 08, 2010
Posts: 24

or this Eclipse and Java for Total Beginners
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When to use java ?
 
Similar Threads
javac only returns 'Killed'
When to use seek?
abstract classes
Doubt in using bean
only 8 days for exam.....