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



Aaron,

I find this really interesting how many sites are doing something similar -
implementing Java/web front ends with business logic in RPG programs - when
we are considering doing the exact opposite.  Many of our RPG and other
legacy language programs are now huge, messy and unmaintable.  Hence we are
considering rewriting all the business logic into Java code where it will
be nicely organized, use proper data types, inheritance and so on.  Then we
would replace the exisiting 'fat' 5250 screens which currently have all the
business logic mixed in by 'thin' 5250 screens which are nothing more than
a UI layer calling the Java business logic in the background to do all the
work.

I'd be really interested to hear from anybody else attempting something
similar.

Regards,

Nigel Gay.



|---------+------------------------------>
|         |           "Bartell, Aaron L. |
|         |           (TC)"              |
|         |           <ALBartell@taylorco|
|         |           rp.com>            |
|         |           Sent by:           |
|         |           java400-l-bounces@m|
|         |           idrange.com        |
|         |                              |
|         |                              |
|         |           30/06/2004 12:36 PM|
|         |           Please respond to  |
|         |           Java Programming on|
|         |           and around the     |
|         |           iSeries / AS400    |
|         |                              |
|---------+------------------------------>
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                 |
  |       To:       Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>                  |
  |       cc:                                                                   
                                 |
  |       Subject:  RE: framework question                                      
                                 |
  
>--------------------------------------------------------------------------------------------------------------|




Interesting that you are using that framework because that is exactly what
we are contemplating right now - having Java front end our business and
call
RPG programs on the back-end.  We have a fairly significant investment in
RPG and RPG programmers along with a deadline to replace our existing
business systems in the next 18 months.  Replacing a system in 18 months
doesn't leave much time for learning Java, so we are seeing where we can
leverage both RPG and Java.

How exactly are you making the calls to the back-end RPG programs?  PCML?
SQL User Defined Functions?  We have done both PCML and SQL UDF's with
success but have found there are limitations that make it so you can't just
call any RPG program or service program.  For instance, one of the Java
wizards that I was using the other week didn't allow me to get the
pass-back-parm from the RPG sub proc I was calling because only an integer
can be returned (not strings, DS's, etc).  When using SQL UDF's you can't
pass by VALUE (at least in my findings).

If you could give us a couple paragraphs on the direction you took I would
be all ears!! :-)

Aaron Bartell



-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Ashish Kulkarni
Sent: Wednesday, June 30, 2004 9:43 AM
To: Java Programming on and around the iSeries / AS400
Subject: Re: framework question

Hi
I have developed similar kind of project using struts, basically all the
business logic is in AS400 RPGLE programs, which are developed as API, I
have jsp as front end which displays data, and then calls Action class in
struts framework(which is a
servlet) which calls a java class(to achieve MVC do not call RPG program
from servlet) which calls RPG program using JT400 it is working fine Ashish

--- Christian Geisert <christian.geisert@xxxxxxxxxxx>
wrote:
> [..]
>
> > The coding required to maintain the information
> for each screen and user
> > navigation is not trivial and any suggestions on
> frameworks or new ways of
> > thinking about these issues would be very helpful.
>
> You might have a look at Cocoon[1], especially at Flow[2],[3].
> I did not have time yet to play with it but it sounds nice.
>
> Christian
>
> [1]http://cocoon.apache.org/
> [2]http://wiki.cocoondev.org/Wiki.jsp?page=Flow
>
[3]http://www.webweavertech.com/ovidiu/weblog/archives/000042.html
> --
> 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



__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
--
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.
--
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.








********************************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee; access to this
email by anyone else is unauthorised.

If you are not the intended recipient: (1) you are kindly requested
to return a copy of this message to the sender indicating that you
have received it in error, and to destroy the received copy; and (2)
any disclosure or distribution of this message, as well as any action
taken or omitted to be taken in reliance on its content, is prohibited
and may be unlawful.
********************************************************************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.