• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there any point in investing my time learning Servlets and JSP?  RSS feed

 
John Drulo
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given that there are much better and popular server side languages like PHP.

I mean is there any point investing my time learning Servlets or JSP when PHP can do the job.

Are there situations where you Servlets or JSP have an advantage or can do something that PHP cannot?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you haven't learned servlets/JSPs yet, how do you know that PHP is much better?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you already seem to have made up your mind, why don't you tell us?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36441
454
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this writeup is a good answer to your question. It talks about scenarios where each is better and what to watch out for.

Another take on it: you are going to learn more than one language in your career.
 
John Drulo
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:If you haven't learned servlets/JSPs yet, how do you know that PHP is much better?


Because whenever I hear server side language, I hear PHP. I never heard about JSP. PHP's popularity in the programming world, may have come from its superiority
 
Henry Wong
author
Sheriff
Posts: 22852
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Drulo wrote:
Ulf Dittmer wrote:If you haven't learned servlets/JSPs yet, how do you know that PHP is much better?


Because whenever I hear server side language, I hear PHP. I never heard about JSP. PHP's popularity in the programming world, may have come from its superiority


To answer your original question, you should invest time in something if there is a need or if there is a desire. Do you have a need? Meaning is your company going to use that technology? and you need to learn it for work?

As for desire, it is clear that you regard PHP as superior, and hence, no desire. And no further discussion needed in this regard... so, is there a need? If so, then, there is a point.

Henry
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Drulo wrote:
Ulf Dittmer wrote:If you haven't learned servlets/JSPs yet, how do you know that PHP is much better?


Because whenever I hear server side language, I hear PHP. I never heard about JSP. PHP's popularity in the programming world, may have come from its superiority


That's a huge stretch in two ways: firstly, just because the scope of your own exposure has been limited doesn't mean that exposure is representative of the rest of the world, and secondly, popularity often does not indicate any sort of technical superiority.
 
Giovanni Montano
Ranch Hand
Posts: 326
4
Android Open BSD Slackware
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found really nice what seniors said, if you do not know a language how do you can compare, on the other side I found this statistics that is not encouraging at all, it looks that PHP is quite used
http://w3techs.com/technologies/overview/programming_language/all

So I think in the end, for the love of the logical reasoning, in part the request made makes sense, considering the efforces needed to master a language, one would love some job market share over the 20 per cent at least, so it comes spontaneous to me to ask if knowing Java there are some synergies that JSP can offer.. and also fathom a bit about some things that despite all Java allows to do better than JSP, this would be really informative i guess.

 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36441
454
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, keep in mind that people don't use *just* JSP. (or at least they shouldn't). Which means Servlets or Java EE or the like are better indicators of Java web technology usage.
 
Giovanni Montano
Ranch Hand
Posts: 326
4
Android Open BSD Slackware
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Drulo wrote:Given that there are much better and popular server side languages like PHP.

I mean is there any point investing my time learning Servlets or JSP when PHP can do the job.

Are there situations where you Servlets or JSP have an advantage or can do something that PHP cannot?

ehy John,
just seen there is another discussion on the same page
http://www.coderanch.com/t/642438/Servlets/java/Servlets-JSP-obsolete

and really important have a look at that link
http://itxdesign.com/php-vs-java/
 
Dave Tolls
Ranch Hand
Posts: 2504
27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Giovanni Montano wrote:I found really nice what seniors said, if you do not know a language how do you can compare, on the other side I found this statistics that is not encouraging at all, it looks that PHP is quite used
http://w3techs.com/technologies/overview/programming_language/all

So I think in the end, for the love of the logical reasoning, in part the request made makes sense, considering the efforces needed to master a language, one would love some job market share over the 20 per cent at least, so it comes spontaneous to me to ask if knowing Java there are some synergies that JSP can offer.. and also fathom a bit about some things that despite all Java allows to do better than JSP, this would be really informative i guess.



The first sentence on that site:
"This diagram shows the percentages of websites using various server-side programming languages."

Note, this has nothing to do with the jobs market.
Most amateur sites use PHP because that's where most of the free hosting lies (my own one is a PHP one, not that I use it for more than email).

A simple trawl of the jobs market (as given here, can't guarantee accuracy, but it matches what I've heard before) shows a completely different picture.
Or this from IT World last year:
"Jobs looking for people skilled in JavaScript were, far-and-away, the most plentiful, mentioned in about 14% of the job listings. C# programmers were the next highest in demand (9%), followed by Java coders (8% of listings). As I wrote last week, JavaScript is the top programming language choice among startups, so this isn’t so surprising."
 
Giovanni Montano
Ranch Hand
Posts: 326
4
Android Open BSD Slackware
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave Tolls wrote:
Giovanni Montano wrote:I found really nice what seniors said, if you do not know a language how do you can compare, on the other side I found this statistics that is not encouraging at all, it looks that PHP is quite used
http://w3techs.com/technologies/overview/programming_language/all

So I think in the end, for the love of the logical reasoning, in part the request made makes sense, considering the efforces needed to master a language, one would love some job market share over the 20 per cent at least, so it comes spontaneous to me to ask if knowing Java there are some synergies that JSP can offer.. and also fathom a bit about some things that despite all Java allows to do better than JSP, this would be really informative i guess.



The first sentence on that site:
"This diagram shows the percentages of websites using various server-side programming languages."

Note, this has nothing to do with the jobs market.
Most amateur sites use PHP because that's where most of the free hosting lies (my own one is a PHP one, not that I use it for more than email).

A simple trawl of the jobs market (as given here, can't guarantee accuracy, but it matches what I've heard before) shows a completely different picture.
Or this from IT World last year:
"Jobs looking for people skilled in JavaScript were, far-and-away, the most plentiful, mentioned in about 14% of the job listings. C# programmers were the next highest in demand (9%), followed by Java coders (8% of listings). As I wrote last week, JavaScript is the top programming language choice among startups, so this isn’t so surprising."

thank you Dave to come back on that, i amend my consideration, it was ingenuous from my side as I did not consider the amateur sites in PHP do you mention.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!