Hello!
I developed a website using WordPress and it encompasses some php pages.
In another place, I have a Java program accessing a MYSQL database.
Now a user is supposed to be able to fill a form of the website and send data to the java program.
I didn't select the web server I'm going to use for the Java progam, so far.
How can I procede?
Integrate a Wordpress website (in PHP) with a Java program
Moderator: General Moderators
Re: Integrate a Wordpress website (in PHP) with a Java program
No idea?
I was thinking about creating a java webservice (eclipse can help me), but how can a php program transfer data to the webservice?
I was thinking about creating a java webservice (eclipse can help me), but how can a php program transfer data to the webservice?
Re: Integrate a Wordpress website (in PHP) with a Java program
The web form would post the data to a database. Then the Java application would access the database.
PHP wouldn't send data to the Java application.
PHP wouldn't send data to the Java application.
Re: Integrate a Wordpress website (in PHP) with a Java program
I would recommend building the web services. If you already have your data access models written and working then go ahead and incorporate them into a web service - this will keep your models together in spot and save you from rewriting the same code in a different language. I ran into the same situation awhile back - we had a huge .NET data access layer written for a different project that we needed to utilize in PHP so we wrote web services to expose the models.
Web services can take some getting used to, but they're simple enough.
Web services can take some getting used to, but they're simple enough.