|
I found on earlier models of AS400 RPG CGI seems to out perform servlet. With V5R1 I can't really tell the difference in simple applications. Here are RPG CGI and servlet applications that both access db2 locally. Can anyone notice the difference using the internet access? RPGCGI: http://www.crazybikes.com/I00090GC.mrc Servlet: http://www.crazybikes.com/servlet/MRCSRVDEMO.I00220s Bruce ----- Original Message ----- From: "Brad Stone" <brad@bvstools.com> > Deja Vu! Hi Derek! > > If XML/SOAP and using a DB on a Win2000 server is a > neccesity (as opposed to using the AS/400 as the DB server) > then, as stated on the newsgroup, Servlets are the way to > go. But, be prepared for a steep learning curve for Java, > XML, SOAP, Websphere, etc.. etc... as you mentioned > previously you had little to no experience with any of these > (on the newsgroup, not here). > > You also possibly may have other options (thinking outside > the box). Mirroring the data to the AS/400 and accessing it > directly using CGI or Servlets/JSPs. Will definatly take a > layer of complexity out of it (eliminating XML/SOAP) and > still allows you to choose CGI or Java. > > As for speed, Mike, it's all relative. Worst case CGI vs. > Best case Java, Java will win hands down. But that's not a > fair fight to begin with, although the most commonly used > comparison of the two by Pro-Java (again, I'm not anti-Java, > just sticking up for the little guy..hehe). But if RPG had > "containers", it would rock! ;) > > Without knowing more details about your project (this is a > very vague description, and "forces" technology instead of > finding the right technology to solve a problem) it's hard > to give a really good answer that you will be happy with. > > Brad > www.bvstools.com > > On Thu, 25 Apr 2002 15:46:15 -0400 > "derek o'connor" <derek_o_connor@hotmail.com> wrote: > > [ Converted text/html to text/plain ] > > > > we are currently in the design phase of a new projcet for > > the as/400. the new > > system will be accessing a SQL Server database on a > > windows 2000 box. we are > > looking at XML & SOAP via HTTP to send the data to the > > AS/400. therefore on > > the AS/400 side we will need to accept the data and parse > > it out to be written > > to the DB2 database. > > > > my question is should i go in the direction of a CGI-Bin > > program or Java > > Sevlets. reading the documentation, points out that > > CGI-BIN programs are > > platform dependent if written in RPG. But what if i wrote > > the CGI program in > > Java. In this case what is difference in doing this > > versus a Servlet and is > > there any advantages to either method. > > > > any help would be appreciated > > derek. > > > > > > > > -------------------------------------------------------------------------- ---- > > > > -------------------------------------------------------------------------- ---- > > Send and receive Hotmail on your mobile device: Click > > Here[1] > > > > ===References:=== > > 1. http://g.msn.com/1HM105401/45 > > > > _______________________________________________ > > This is the Java Programming on and around the iSeries / > > AS400 (JAVA400-L) mailing list > > To post a message email: JAVA400-L@midrange.com > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > > or email: JAVA400-L-request@midrange.com > > Before posting, please take a moment to review the > > archives > > at http://archive.midrange.com/java400-l. > > > > Bradley V. Stone > BVS.Tools > www.bvstools.com > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. > >
As an Amazon Associate we earn from qualifying purchases.
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.