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




When it is likely that the RPG app which employs java classes will be
called while servicing a web based request then the overhead of JVM
startup is not necessarily much of an issue where each thread of the
HTTP server persists to service many requests

Agreed. Whether it's in a app server like websphere, or used
server-side via RPG in a CGI environment the JVM startup is a non-issue.

When launching a server-side java app (from RPG or otherwise), I run an
initialisation process prior to receiving asynchronous requests. Not only
does this take care of starting JVM but also to establish connection to
external resources such as DB2 or a queue object.



For versioning, I set this environment variable at *SYS level
QIBM_RPG_JAVA_PROPERTIES = '-Djava.version=1.4;'

Hmmm... I suppose we could do that, would it be version 1.5 or 5.0? :)

'-Djava.version=1.5;' Can also set at job level if concern regarding
version conflict.

Also consider setting version via SystemDefault.properties file.
Adding as 'java.version=1.5' Can be set at either system or user profile
level.


I would suggest that green screen JVM use is horses for courses.

This is green screen. When a programmer wants to use a specific command
we're calling a remote web-service to open a ticket in Remedy (issue
tracking system) to track the usage request. Since many programmers
could be using this command we decided it was better to centralize the
JVM to one task than have each programmer have a JVM active.

Agree. But could have requirement to run several sever jobs each servicing
hundreds of web or call centre clients. So, as mentioned earlier, better to
run in a dedicated subsystem.


Also, if the java processes run as multi-thread and are called from RPG then
they are unsupported from an interactive job anyway.....

Keith



Help cut carbon...please don't print this email unless you really need to

Hastings Insurance Services Ltd trading as Hastings Direct is an independent
intermediary, authorised and regulated by the Financial Services Authority.
Registered in England No: 3116518. Registered Office: Conquest House,
Collington Avenue, Bexhill-on-Sea, East Sussex, TN39 3LW.

CONFIDENTIALITY. This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
addressed. If you are not the named recipient, please notify the sender
immediately at mailto:postmaster@xxxxxxxxxxxxxxxxxx and do not disclose the
contents to another person, use for any purpose, or store or copy the
information in any medium. Please note that any views expressed in this message
are those of the individual author and do not necessarily represent those of
Hastings Insurance Services Ltd.

This email has been scanned by Mailcontrol from Blackspider.

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.