× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Besides the Java interface (i.e. parameters passed) what actual purpose is
the Java serving? Or maybe a better way to ask it is could the process be
done in RPG instead and get rid of Java entirely?

I would say that Apache + RPG is solid and Tomcat + Java is solid. Mixing
any of the environments languages creates additional failure points and my
preferred method would be to keep it simple.

Note that you can setup Tomcat quite easily on the iSeries WITHOUT using
IBM's version. For instance, I simply download Tomcat right from
http://tomcat.apache.org and plop it in the IFS. Then I run the startup.sh
command via SBMJOB and Tomcat is up and running. Tomcat is also a fairly
small footprint if your only experience is with WAS. Just wanted to note
another option you may have if you haven't considered it yet.

Aaron Bartell
http://mowyourlawn.com

On Fri, Jul 11, 2008 at 3:00 PM, Raul A. Jager W. <raul@xxxxxxxxxx> wrote:

The java receives a parameter and responds with a xml page.

Aaron Bartell wrote:

What purpose is the Java serving (no pun intended)? Or maybe more
specifically, is the Java supposed to respond with anything?

In theory it would be quite easy to have a simple generic RPG router
program
that could invoke a Java class and pass it a generic inbound document and
receive back an outbound document. Then the Java would be running
"natively" without an application server (i.e. Tomcat/WAS).

Aaron Bartell
http://mowyourlawn.com

On Fri, Jul 11, 2008 at 2:14 PM, Raul A. Jager W. <raul@xxxxxxxxxx>
wrote:



How can I run a java program directly from the Apache server?
Can I bypass Tomcat and Was?

TIA
Raúl

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.