Portal Home > Knowledgebase > Articles Database > Integration WordPress and Tomcat


Integration WordPress and Tomcat




Posted by pavelJ, 12-10-2007, 12:03 AM
I need to use WordPress and Tomcat together, getting pages from Tomcat in WordPress themes. Is any solution for it?

Posted by stdunbar, 12-10-2007, 11:52 AM
You don't say what web apps you're running on Tomcat but whatever they are they would have to be very familiar with whatever WordPress uses. Sure, style sheets would be easy to share but since WordPress is PHP based it could be difficult to do. Is there a requirement to use WordPress? I user Apache Roller on Tomcat and it works very well. If it is just the look and feel of WordPress I feel that you're going to have to roll that yourself.

Posted by lockbull, 12-10-2007, 05:01 PM
You might consider Caucho's Quercus library, which compiles PHP to Java bytecode. You'll probably find support a bit easier at this point if you were running Resin (Caucho's J2EE app server product), but you can also use Tomcat.

Posted by QiSoftware, 12-11-2007, 03:27 PM
I use both wordpress and tomcat. can you give an example of what you are trying to do? Q...

Posted by pavelJ, 12-12-2007, 02:47 AM
I am developing an application (CRM system) for Tomcat and would like to "include" it into CMS. It seems that WordPress is most flexible and well developed CMS. The all Tomcat's pages will be under http://www.domian.com/crm/ context. So I need that if the URL has /crm/*whatever* , the WordPress would make request to Tomcat and include the result into normal page. Is there any solution for this, or I have to develop it? :-)

Posted by phporaclehosting, 12-17-2007, 09:23 AM
i would just have them both on the same server and use mod ajp to do requests to anything under crm to tomcat, i have stuff on mod ajp and clustering jboss on my machine the principles are the same just that you don't need to set up workers



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Email Queue problems (Views: 616)