Re: WEB programs running 100% on iSeries



Thorbjoern Ravn Andersen wrote:
"Bradley V. Stone" <bvstone@xxxxxxxxxxxxxxxx> writes:


With RPG/CGI, there is no extra module, tool or VM to start. All it
uses is the "pb Apache" web server. Along with native DB access,
that's where it shines and easily outperforms anything else. For RPG
shops, it's almost a no brainer. But it's free, so no one is out
"selling" the solution like they are with other products.


Ok, sounds very interesting. Is there a good introduction available
somewhere for a Java guy with the complete WSDCi suite installed on
his machine and with access to a development host?

I have never written a program on an iSeries that wasn't Java, but I'd
be happy to learn.


If you're strictly a Java programmer, not sure RPG/CGI is for you. But if you're interested, check out www.netshare400.com. There are other timeshares too you can use.

Or you can attend RPG World this May in Vegas where I'll be speaking on the subject. :) If you have an iSeries, setting up a little web server to play with should be fairly easy. BUt if you're not an RPG programmer, there are other routes for you to take unless you feel learning RPG is good for your team.


time on my XP machines as well. Performance is great until you start
loading it down.


As always when you hit some bottleneck :)

Ah, we need to experiment with the native JDBC driver - it should be
very fast.

That's what I use. :) Fast, but not as fast as native DB access.. :)



I am very interested in seeing if the new V5R4 Java will improve on
the situation - both regarding startup time and memory usage.


I totally agree here. Java is fast when done right. That's the key,
though. I haven't seen a lot of "done right" Java in my time as it
takes a lot of work to do it right, and not resort back to procedural
programming (which in the end, Java is anyhow, but you know what I
mean).


I have personally found that the power of Eclipse (completion +
refactoring) combined with Test Driven Design give MUCH better code
than what I have written earlier.

I can see this... Eclipse (or WDSC, which is really Eclispe rewritten by IBM for use on the iSeries) has some great tools and editors. The problem I have with it is you can just install what you want.

If IBM would have went the route to create plugins for Eclipse for RPG, then that's all we would have needed. Then I could use that plugin, the CSS, HTML, etc plugins and had a great IDE that isn't 2 terrabytes and won't even run on my 2GHZ machine with 1G memory. :)




.



Relevant Pages

  • Re: Using RPGLE Service Pogram from Java
    ... you must not call rpg from java via JNI, RPG is not Threadsafe, the work ... business code must be written in both RPG and Java. ... Java code to retrieve price from the RPG service program pPri01J. ...
    (comp.sys.ibm.as400.misc)
  • Re: Learning RPG
    ... >> If you know Java well and you don't have trouble finding work, ... >> recommend you forget about RPG. ... >> Toyota vs. a Trabant: the Trabant will usually get you from Wroclaw to ... I'd like to come to Poland some time, ...
    (comp.sys.ibm.as400.misc)
  • Re: Java prejudices
    ... Java may be more resource intensive than say RPG, but a lot of how MUCH of a hog it is really depends on how the app is written. ...
    (comp.sys.ibm.as400.misc)
  • Re: Java and CCSID problems
    ... Did you try that with Java imbedded in RPGLE? ... No I didn't try with RPG, but I think it's matter of how to get the JVM ... environment, as with C JNI programs, with JNI_CreateJavaVM function passing the ...
    (comp.sys.ibm.as400.misc)
  • Re: running java on green screen
    ... > from java with String.getBytes. ... You still have to convert that to an RPG/CL character string. ... you don't need to convert it to an RPG character string. ...
    (comp.sys.ibm.as400.misc)