× 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.



Hi
I will look into both of them, are they used by anyone
in production,

any suggestions or where can i get more information or
review of these products, ( i guess they are open
source)

Ashish
--- Michael Ryan <michaelrtr@xxxxxxxxx> wrote:

Scott's HTTPAPI or Aaron' RPG-XML would probably do
what you want.

On Fri, Mar 7, 2008 at 8:51 AM, Ashish Kulkarni
<kulkarni_ash1312@xxxxxxxxx> wrote:
Hi
So it actually works pretty well, calling Java
from
RPG,
My requirement is to call a web service, from
AS400
application,
So i was trying to find, if i can call web
service
directly from RPGLE program, or call a java
program
from RPGLE which in turn would call the web
service.
Any hints or ideas about it

Ashish
--- Carl <c.groner@xxxxxxxxx> wrote:

> On Thu, Mar 6, 2008 at 12:54 PM, Thorbjørn Ravn
> Andersen
> <thunderaxiom@xxxxxxxxx> wrote:
> > David Gibbs skrev den 06-03-2008 19:35:
> >
> > > This PDF is a good reference:
> > >
>


http://publibfp.boulder.ibm.com/pubs/html/as400/v5r1/ic2929/books/c0925073.pdf
> > >
> > > Just search for the term java.
> > >
> > As a curious byseer, is there any who have
worked
> with this who can say
> > how well it works in terms of speed,
> maintainability (how fragile is
> > this?) and general usefulness?
> >
> > Always willing to learn something new :)
> >
>
> I'm a big fan of calling Java from RPG, and use
it
> regularly with
> great success... both in batch and interactive
jobs.
>
> Some areas where I'm using it in production
include
> sending formatted
> email reports, service and customer
notifications
> via email (using
> javamail and the apache velocity template
engine). I
> also use it in
> mid level networking code as I find dealing
with
> sockets in java to be
> much, much simpler than any c or RPG code I've
come
> across.
>
> It's nice to be able to take advantage of many
of
> Java's strong points
> from within RPG (such as XML parsing/building
> (JDOM), string handling
> and manipulation, regular expressions... I
could go
> on...). I also
> find that prototyping on java standard library
> objects allows me to
> essentially extend the RPG language to fit my
needs;
> no associative
> arrays in RPG, no problem, just prototype and
> instantiate a new Java
> collections object like a HashMap, viola!
Simple
> custom class wrappers
> can be used to translate '400 data types to the
java
> equivalents.
>
> One more point worth noting is that using java
> objects allows you to
> add some level of object oriented
structure/support
> to your RPG code,
> which worked nicely for me in many situations.
>
> Cheers,
> Carl.
> --
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list
options,
> visit:
>
http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review
the
> archives
> at http://archive.midrange.com/java400-l.
>
>


A$HI$H





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.