开发者

Drupal-6/PHP to Java data retrieve

I have a site, where Admin is already developed in Drupal. Admin used to add component, module, data with the help of Drupal.

Now I need to make this site Front-end with the help of JAVA. Now I need complete front-end data开发者_如何学编程 in Java and it should worked as it is worked in Drupal-php site.

What is the best way out to solve the issue[ Developed the Front-end of the site]. XML-RPC , web-service or some thing else.

Please help me.


The Services or Views Datasource may help you to access content (ie. data) managed on a Drupal site from a Java front-end. They both allow you to expose content from Drupal as XML or JSON. Services provides REST API to access the data over HTTP, while Datasource will allow you to quickly build bulk list of contents as structured data.

Direct access to Drupal database from the Java application should be avoided. Drupal modules manage their own tables (through the database and schema API). And modules like the CCK will even update the structure of their tables when their configuration is changed. There is usually no guarantee that a module's table structure won't change over time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜