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


  • Subject: RE: OO Programming?
  • From: Kris Kottapali <kris.kottapali@xxxxxxxx>
  • Date: Mon, 22 Jan 2001 07:36:38 -0600

what are the best resources online or books avaliable on oops
can anyone give their suggestion on this

Kris Kottapali
Sr.Devloper
kkottapali@arch.com
Work Phone:513-530-2550
Pager:866-207-4334
Fax:513-489-7933
Arch Wireless
Cincinnati,OH


-----Original Message-----
From: Joe Teff [mailto:JoeTeff@earthlink.net]
Sent: Sunday, January 21, 2001 1:56 PM
To: JAVA400-L@midrange.com
Subject: RE: OO Programming?


[snip]

>The other day I had a Java programmer explain to me that
>the OO difference is not necessarily how you develop one
>program using a bunch of different classes and objects
>but rather how they are stored in memory when they are
>called.

OO is all about modeling your software to look like your
real-world environment. It takes it a step farther by
introducing abstraction, inheritance, encapsulation and
polymorphism. All of these concepts when used properly
make your system more scalable, maintainable, adaptable
and reusable. I would say that your Java programmer has
master the language syntax, but not the concepts of OO.

>Only one copy of a program is stored in memory in Java
>and all programs making a call to that particular program
>are always referencing that same one.

The class is loaded into the JVM the first time it is
referenced. Then you would make instances of it. Think of
a blueprint to make buildings. The class is a blueprint and
each building you make is an object. You can't open the
door on a blueprint and walk in. You first must make a
building based on the blueprint. That is what classes and
objects are.

It is also possible to use threads for multiple flows of
execution within a single object. That is how servlets work.
Think of executing a subroutine or calling a procedure in
your RPG program, except that your mainline continues to
execute at the same time that your subroutine/procedure is
executing.

>Is this also true for RPGILE type programming?

[snip]

You can simulate many of these things in RPG/ILE now, but
requires considerable effort and knowledge of the system.
With Java, the language was built on these concepts, so they
are quite simple to implement. It does require that you
learn the OO concepts to do it well.

Joe Teff
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

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.