GWT in enterprise systems (SAP, AS/400)

255 views
Skip to first unread message

dominikz

unread,
Feb 19, 2012, 1:45:04 PM2/19/12
to google-we...@googlegroups.com
Dear developers,

I'm using GWT in combination with SAP and IBM's AS/400 (aka IBM i) systems. 
I thought that this topic may be interesting for some of you. 

Please see the attachment.
GWT-in-enterprise-systems.pdf

Jeff Chimene

unread,
Feb 20, 2012, 9:17:49 AM2/20/12
to google-we...@googlegroups.com
Hi Dominik:

Very impressive! Good luck w/ these projects. It's great to see how
the legacy and current technologies work together.

Cheers,
jec

> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/rJdyAFa2clcJ.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-tool...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

karim duran

unread,
Feb 20, 2012, 10:57:43 AM2/20/12
to google-we...@googlegroups.com
Hi Dominik,

I read the PDF and i'd like to tell you that i do the same on the AS400.
You can embed a JAVA library into your project, containing anything you need to communicate with RPG programs on the iSerie.
If you add this library into your GWT project, it's even more easy and fun.

You can also add the library into Android device project. ( i didn't test yet ).

For SAP, there is also a big Java API library you can use to talk to ABAP pgm, or directly to SAP data.

(*) for iSerie ->

Have a look at this library : http://jt400.sourceforge.net/ ( open source version )

You can find it (IBM production version ) directly on your AS400 : jt400native.jar if you setup the right PTF for Java support.

Today, i connect to OS400 from my Android Phone or Tablet with a tn5250 terminal emulator from anywhere.

It was just a notice. I'm really interrested by your work.

Thanks.

Regards.

Karim Duran



2012/2/19 dominikz <dominik....@gmail.com>

--

dominikz

unread,
Feb 20, 2012, 11:15:37 AM2/20/12
to google-we...@googlegroups.com
Dear Karim,

I'm very aware of jt400 library. I've done tons of things with that over a couple of past years. One problem with it is that it does not support everything you'd like to do with AS/400. The other is that it's performance is dreadful. Trust me, I checked it, even had lectures about it during conferences. I wouldn't even be going near RPG (since I'm java programmer) if the performance of jt400 wasn't so bad.

The same is with JCo library on SAP. You need to run Java server in order to use it. And it's efficiency is also dreadful. Not even mentioning that if you look at its source code, you'll start tearing your hair out of your head. They've put there one class with dozens of static methods. One library with one class that is 1500 lines long. A nightmare.

One more fact against Java is that you need to have java server to run it (WebSphere or Tomcat). And admins of AS400 don't like java since when they hear java they think 'WebSphere' which is a total mess. But this is another conversation I don't want to start here. The same is with SAP guys. When they hear 'Java', they run away in anger. 

Anyway going back to the original point, the whole idea is NOT TO USE JAVA AT ALL IN RUNTIME. This is how you should look at the PDF I've sent.

Other than the above I really appreciate your answer :)

karim duran

unread,
Feb 20, 2012, 8:42:34 PM2/20/12
to google-we...@googlegroups.com
Dear Dominikz,

Ok, i understand that you don't want to use Java and i had a look at your PDF before my last answer. 
I agree with you : RPG native *pgm are fast.

But there's some points i had to consider when i worked on projects i told you about.

1) You can use jt400 without any WebSphere or Tomcat. And i did client applications without these 
heavy gaz factory !!! You're right !

2) Performance are not so bad if you tell the OS400 to pre-compile your Java pgm and use JIT ( just in time )
option. Don't use PDM option CRTJVPGM because you get bad performance. Instead, build the pgm
in Rational studio and put it on IFS with FTP or client access.

3) I met situation where it wasn't possible to do simple things that i could do with jt400 in minutes :
( DATAQUEUE, OUTQUEUE, thread programming, generate PDF without using
elephant infoprint service, and many others things....)

But, what i wanted exactly to tell you, is that i run directly native RPG PGM on os400 from my mobile device
used as a java client, without any server ( even apache and CGI PGM) on AS. So it meets your idea. 

About SAP i'm not enough specialist and i trust you and your experience.

Anyway, it was very interesting to talk with you, and i'd like to follow your project or posts about it.

Hoping hear about you soon if you like.

Regards.

Karim Duran

2012/2/20 dominikz <dominik....@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Masaaki Toyoyoshi

unread,
Feb 20, 2012, 10:46:22 PM2/20/12
to google-we...@googlegroups.com
Please excuse me from the side.

It will be in 2003, where he was involved in system development work together to Java programs and AS/400.
Overview of time that has been published in the following site.
http://itpro.nikkeibp.co.jp/members/SI/JIREI/20030506/1/?ST=system

Sorry to be a Japanese site.
I was allowed to e-mail I hope to be able to reference something.

If you does not seem to be folded in the face of challenges and relationships, we apologize.
-- 
------------------------------------------------------------------------------
豊吉 雅昭(Masaaki Toyoyoshi)

mail:mtoy...@gmail.com
http://toyokiti.p1.bindsite.jp/
Twitter:@toyokiti
Facebook:豊吉雅昭
-------------------------------------------------------------------------------



Reply all
Reply to author
Forward
0 new messages