java - drupal integration
hanumesh_m - October 17, 2008 - 19:38
Hi,
I have java web application running on tomcat and on the same box, drupal(CMS), php, mysql running on apache.
Admin can create content pages using drupal.
There are some links in my website (java,jsp), clicking on which should display the content of drupal, whose look and feel should be same as the way they created in drupal.
How should I pull content from Drupal (running on apache).
I dont think, pulling data from MySQL is right as the look and feel should be the same the way they have created in drupal.
Suggest me the ways to accomplish this.
Thanks,
Hanumesh

Why are you using java/jsp?
Why are you using java/jsp? Maybe it would be easier to integrate in the other direction.
In what way its differs when
In what way its differs when we are talking about, pulling data from drupal. The point here is how to pull drupal cms content to java web application..
Thanks,
Hanumesh
I don't know much about
I don't know much about java/jsp but drupal content is mysql based-- I would think you just need to know how to query a mysql db from java/jsp. This is more of a java/mysql question than a drupal one.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
Connector and/or export
That's not what he's asking for. Querying the mysql database directly would be a very fragile solution. If he did then the next upgrade to Drupal (or a change from mysql) would almost certainly screw up any Java/JSP integration work quite nicely.
I'm afraid I'm very new to Drupal so can't help at the moment. But I think I understand what our friend wants. Either:
If anyone else with much more experience of Drupal has suggestions of how to do any of this (or have alternative approaches that they'd like to share) then I'd be very interested to learn more. I don't need to do this right now but I may need to in the near future.
check the drupal feature /
check the drupal feature / module - service
that's how your java/jsp may get content from drupal.
We go the drupal way. How about you?
http://www.drupalway.com