1

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.

1
  • Could you clarify your question? To me, it seems like you have some sort of administration panel, powered by Drupal, and that you are now trying to rewrite this in Java. If this is the case, I don't think one can propose a "best way" to solve the issue without knowing what the backend is and how it works... Commented Jun 21, 2011 at 10:37

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.