My Java colleague wants to return a 'null' object reference should the
object instantiation fail when I invoke it through RPG. 

All the examples I've seen do not check for a 'null' object reference
and I was curious as to whether I could simply check for *NULL against
the field which holds the object reference? Should example code depict
the checking process?  They all seem to presume that they are going to


The application is using an iSeries java class to access a web service
which will obtain the e-mail address of the iSeries user by accessing a
web service which interrogates the Active Directory. We are now using
single sign-on so the profiles are common. Anyone else done this? The
e-mail address will be used to e-mail  reports and Excel extracts to the




This email 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 intended recipient, any use, disclosure or copying of this 
message is unauthorised. If you have received this message in error, please 
reply using the sender's email address. 

This footnote confirms that this email message has been scanned for computer 
viruses. EIG-Ansvar Limited does not accept liability for any loss or damage, 
whether caused by our own negligence or not, that results from a computer virus 
or defect in the transmission of this email or any attached file. 

EIG-Ansvar Limited - Australia (A.B.N. 21 007 216 506)
Email : insure@xxxxxxxxxxxxxxxx

Eig-Ansvar Limited - New Zealand
Email : insure@xxxxxxxxxxxxxxxx


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-2022 by 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.