1) using
a) jsp : front-end programming language b) php : backend programming language 2) these 2 languages can run on apache server without integration of tomcat.
3) but, enhancing logic of website, use java back-end programming language.
4) now, java need integrated jsp , php pages of website.
5) so, in 1 jsp file, part of code can in java , part of code can in php.
6) ideally, great if part of php code runs on apache server , java code runs on tomcat server.
7) else, please let me know find integration of php servlet can use run php code on tomcat server.
php doesn't run in tomcat; gets run apache module (if you're using apache!)
jsp , java run in tomcat. jsp won't run bare-metal in apache.
there few ways tomcat integrated apache.
in terms of seem want do- @ implementing in either in php or java/jsp.
if can't that, could implement rest services in php or java , call them other system. might thing if want scale things big, while things aren't big(tm) you're going have manage added complexity, not least of having things in different languages.
Comments
Post a Comment