Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

php vs jsp  RSS feed

 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings folks, I have a question.

Yesterday I was at job interview, where me and potential employer has a some chat about php vs jsp. I have a one question for you. Do I need lo learn a php as Java developer, or Jsp is quite good enough as equivalent?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're a Java developer working on web apps, then it's highly unlikely that you'd be using PHP, because that doesn't integrate with Java web apps. While most Java web apps will use JSP, there are other templating technologies (like Velocity and FreeMarker) that are occasionally used. But you can't really get by without knowing JSP at all.

Some shops use Java only in the application/business layer, though, and may have something else for the view layer, like PHP.

In general, there's nothing PHP can do that Java/JSP can't, and the reverse is also true. Different things may be easier or harder on one or the other, of course. But the difference is more in how they fit into the overall architecture and the development process, than in what they can or can not do.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!