You can run Drupal in java!!!
caucho's Quercus is an efficient java implementation of PHP. So you can embed Drupal on your java application server.
see http://www.caucho.com/resin-3.0/quercus/tutorial/module/index.xtp

Instructions on the Resin wiki (for Drupal 4.7 at least): http://wiki.caucho.com/Quercus:_Drupal

I can't remember who posted this elsewhere on the lists, but I got it from another posting.

saludos,

Victor Kane
http://awebfactory.com.ar

On 2/16/07, Asad Habib <asadhhabib@gmail.com> wrote:
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/ ]


--
[ Drupal support list | http://lists.drupal.org/ ]