Depends on what you mean by connect, you can tell that various answers had difficulty with this one.
Most assumed that you meant, "redirect a user to" a Java Servlet or JSP. And it's as easy as sending them to another website. Java Servlets and Java Server Pages usually will be running on a server different than the one hosting your PHP (I would hate to try to manage an apache server that tried to support both). Sometimes Servlets produce XML data that is processed by another module before being imbedded in a web page and you can certainly do that. I believe one respondent mentioned consuming data, this is probably what he meant (look at SOAP). The Javascript portion of AJAX can be used to imbed data from a Servlet as well and you can certainly use AJAX in your Drupal modules, although most of your work will not be done with PHP. Hope this helps, Warren Vail -----Original Message----- From: John Mitchell [mailto:[email protected]] Sent: Monday, April 05, 2010 12:24 PM To: [email protected] Cc: John Mitchell Subject: [development] Is their a way within Drupal to connect to a Javaservlet or Java Server Page (JSP)? Hi, Is their a way within Drupal to connect to a Java servlet or Java Server Page (JSP)? Thanks, John -- John J. Mitchell
