Pete, 
For java applications, you can use RAWT which does not require PASE.
The concept is similar to X, where the workstation runs an X server and wait 
for the display to come from the X terminal.
Here, the workstation runs a RAWT server and waits for the display to come from 
a remote Java program.

1. Retrieve the RAWTGui.jar file from the iSeries Java folder and place it on 
the workstation.
2. Start the RAWT server on the workstation: java -jar RAWTGui.jar
3. Start the Java application on the iSeries with some specific attributes:

In this example, the Java class to be invoked is AWTExample.class,
the workstation IP is 10.0.0.31.

( get the example from 
http://www.idevelopment.info/data/Programming/java/swing/AWTExample.html )

PGM   
                                                            
dcl &CP         *char   512                                 
chgvar &CP ('+                                              
             /samplefolder:.+                                     
             :/QIBM/ProdData/Java400/jdk13+                 
             ')                                             
                                                            
RUNJVA     CLASS('AWTExample')                      +       
           PROP(                                +           
                ('RmtAwtServer' '10.0.0.31')   +          
                ('os400.class.path.rawt'   '1')   +         
                ('java.version'  '1.3')        ) +          
           CLASSPATH(&CP)                       +           
              OUTPUT(* *continue)                           
endpgm


For a jar file, like TN5250j, you have to run CRTJVAPGM first, 
or use Qshell like this:

java -classpath /tn5250j:/QIBM/ProdData/Java400/jdk13 DRmtAwtServer=10.0.0.31 
Dos400.class.path.rawt=1 Djava.version=1.3 -jar tn5250j.jar
                                                      
In this case, the result is that the workstation displays the TN5250j screen, 
but the emulation actually runs on the iSeries. 

Search Infocenter for more about RAWT.

Shalom Carmel
--------------
www.venera.com - Exposing iSeries insecurity
                                                            



----- Original Message -----

> date: Mon, 16 May 2005 16:26:22 -0600
> from: Pete Helgren 
> subject: Re: Terminal server..
> 
> Sorry...started musing rather than answering the question...typical.
> 
> I didn't know about the Citrix limitation but it has been a while since 
> we had Citrix running. 
> 
> We have a web based solution, which requires the launching of applets.  
> Managing JVM's on the client side can be a hassle so we looked at way we 
> could deploy a "simple standard desktop" to the client.  The best 
> approach is to have a centrally managed, uniform client environment 
> deployed that supports multiple OS's (like Windows XXXX, Linux and 
> Mac's).  That starts to sound like Citrix.  But Citrix, for all of it's 
> benefits, ain't cheap and requires a pretty heavy hardware investment.  
> What I wanted to do is to use something I already had, didn't have to 
> invest in any more hardware.  If I could add a Linux partition using my 
> existing hardware, with no additional investment, I'd look at Linux.
> 
> PASE got me to that point quickly.  Yeah, it isn't exactly snappy and 
> X-Windows can be ugly but it can be centrally administered, it is 
> iSeries based and, it works.  Just at the prototype stage though.  YMMV.
> 
> Pete Helgren
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.