Or visa versa.  We use J2EE applications and oracle enterprise applications to manage data that is included in Drupal.  We primarily use REST web services to accomplish this. So we make a web service to provide the data from the J2EE application, and then write php drupal modules to pull information from those rest web services into drupal via http calls.


Good luck.

 


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Asad Habib
Sent: Friday, February 16, 2007 12:17 AM
To: larry@garfieldtech.com
Cc: support@drupal.org
Subject: Re: [support] Drupal Integration with a Struts-based JavaApplication

 

Thanks for your input Larry. By "used with" I mean that the CMS would be accessed via the Java web application. However, the architecture you mentioned below seems like a more viable solution. I can run Drupal separately from the application and have the application pull from the Drupal MySQL database. This is also a better design since the application is for user and the CMS is for the admin so they really should be separate.

- Asad

On 2/16/07, Larry Garfield <larry@garfieldtech.com> wrote:

For what definition of "used with"?  Drupal is entirely PHP, not Java, so
runtime integration is out.  (In theory there some sort of huge hack to make
PHP talk to Java at runtime, but I've never touched it as the very idea is
scary.)  You could, however, have a Java app read the Drupal MySQL database
and parse out whatever data it needs from it.  The vast majority of the data
in the database is well-normalized SQL-friendly fields, but you do have to
know Drupal's data schema.

Really, it depends on what "used with" means.

On Friday 16 February 2007 12:34 am, Asad Habib wrote:
> Does anyone know if Drupal can be used with a Struts-based Java
> application? If so, has anyone actually done this and how can it be
> achieved? Thank you.
>
> - Asad

--
Larry Garfield                  AIM: LOLG42
larry@garfieldtech.com          ICQ: 6817012

"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it."  -- Thomas
Jefferson
--
[ Drupal support list | http://lists.drupal.org/ ]