Published on Mar 6 2014 in Java java wordpress

Integrating Java applications with Wordpress - the most popular blog software - is quite easy. The former provides application functionality and the latter allows for publishing articles and comments related to the application.

Here come 2 scenarions of Java/Wordpress integration under single domain.

Installing wordpress outside of root URL along Java web application that runs at root URL

Final result:
http://yourdomain.com/ = your Java web application
http://yourdomain.com/blog = your wordpress

Installing wordpress at root URL along Java web application that runs outside of root URL (for example at yourdomain.com/cyclos)

Final result:
http://yourdomain.com/cyclos = your Java web application
http://yourdomain.com/ = your blog

Additional integration will require setting common header, footer, colors and style which can be achieved with help of CSS styles.