Hi Ewout;

It sounds like you have made a good job with ILE and encapsulation your
business logic into service programs. If that is the case you must take a
look at http://IceBreak.org and see how you can create WebServices in a snap
with ILE'rpg. Also, it will be no problem for you to create a new html / xml
based user interface by using your already made service program /
procedures.

Only thing you requires is to add "Input" / "Output" or "InOut" keywords on
your procedure interface and set the pgmtype="webservice" and you are ready
to rock ....


webSerice.asmx

[code] 

----------------
<%@ language="RPGLE" pgmtype="webservice" %>
<%    
h nomain     
 
p*name++++++++++..b...................keywords++++++++++++++++++++++++++comm
ents++++++++++++ 
p Calculator      B                   export 

d Calculator      pi
d    x                          10i 0 Input         
d    y                          10i 0 Input
d    z                          10i 0 Output 

/free
 
  z = x + y; 
 
/end-free   
p Calculator      E
%>
---------------- 


Best regards


Niels Liisberg
IceBreak Chief SW Architect

System & Metode Technologies
Håndværkersvinget 8, DK-2970 Hørsholm
Phone: +45 70 20 36 10 
Fax: +45 70 20 30 11
Direct: +45 45 177 055
Mobile: +45 31 158 861 
E-mail: nli@xxxxxxxxxxxxxxxxx
Web: www.system-metode.com and www.Icebreak.org 

 


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Ewout N Boter
Sent: 12. december 2006 11:35
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Advice about moving to a Web-environment

I post this message because I would like to get some advice of other 
people who have made the transition from a traditional 
5250/RPG-environment to a Web/Java-environment. 

At our shop, we are only developing 5250-applications. We use ILE RPG in 
the way ILE was intended for, i.e. we have created a lot of procedures to 
encapsulate business rules, we use service programs, activation groups, 
etcetera. Thus, we have adopted some of the modern features of ILE RPG, 
but we are still stuck with 5250-applications. We now want to make the 
transition to GUI- and/or Web-applications, but we don't know how to 
proceed. We have bought some books about using Java on the iSeries, one of 
us is doing a course on WebSphere Application Server, we have some 
thoughts about a Web-application we would like to build, but we are not 
feeling confident enough to really get going. Therefore, I would like to 
know how other shops have made the step to modernization. I think that we 
might learn a lot from the experience of others who have travelled along 
the way we have ahead of us. Any response would be greatly appreciated.

Ewout

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.