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
- Create a subdirectory of
public_html
for exampleblog
- Unmap '/blog' from your application server by adding it in Java Control Panel - Mappings - Exclude section
- Create database, dbuser and assign one to the other in cPanel - save the credentials for use during Wordpress installation
- Download wordpress to
public_html/blog
and unzip (you may use Putty for this) - Access Wordpress installer at yourdomain.com/blog and follow instructions
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)
- Make sure root URL '/' is removed from Include section of Java Control Panel - Mappings
- Create database, dbuser and assign one to the other in cPanel - save the credentials for use during Wordpress installation
- Download wordpress to
public_html
and unzip (you may use Putty for this) - Access Wordpress installer at yourdomain.com/ and follow instructions
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.