Feedback on a question I asked earlier has me wondering if there exists such a document or book as the one alluded to in this question title. I have searched the web in general, and previous StackOverflow questions (maybe I missed the right one?), but I have not been able to find what I am looking for.
I have several years experience with web development using PHP. My PHP work is mostly procedural, but I do use objects when appropriate. I like the PHP environment; that is, I like not having to compile and deploy for code changes to take effect. I like being able to use the same language for business logic and presentation logic. I like the ease of finding decent documentation for PHP. And I like how simple it is to setup an execution environment for PHP scripts (e.g. mod_php
).
However, I am in the position of administering, and doing almost all of the in-house development for, a Java web application (a portal) being served with Apache Tomcat. Coming from the background described, I have been applying my "PHP way" of thinking to the Java work I have to do. Which basically means I forget about figuring out how to setup a development environment and just stick JSP scripts in the web root and avoiding writing full classes.
So, to list the things I am looking for in such a book:
- Differences in terminology (e.g. why a web server is called a "container")
- Differences in operating environment
- Comparison of language best practices
I am not looking for "Java is object oriented and PHP isn't." I understand that the languages are different. I also don't want the silliness that is Head First Servlets & JSP (a book my office has lying around).