I am borrowing a complete eCommerce website with backend(admin) interface built in PHP from my friend. What I want to do is to parallelly build an OMS in Java EE, but a restriction is that I can’t use the DB that the PHP website is using. I want to track all orders right from the PHP controller class and build up a separate backend(admin) system.
Suppose the PHP website is using MVC, then all the order requests are to come to the controller class. I want to fetch that data as soon as an HTTP order request is placed by a client and store it in the OMS built in Java EE.
I would like to know what the best possible ways are by which I can let Java EE and PHP communicate in order to track some specific HTTP requests.
Some ways which you may to investigate for you needs:
I prefer last solution, because it’s more flexible (you could change fronted technology stack in your needs)