My plan is to set up a php-based website except all the dynamic data would be loaded through a local RESTful webservice.
The local RESTful webservices would be created using Java Jersey, which will access a MySQL database. The reason behind this is because I would like all the logic to be handled by Java.
Would this perform poorly? I have created RESTful services before and created php websites but never used them together…would calling a webservice on localhost be a terrible way to set this up?
Yes and no. If you plan to extend this beyond a website, e.g. if you plan to have other applications consume your web services, then I’d say it would be an appropriate design. Otherwise, no need for the overhead.