from a interface. If this Java program were to run, where would it find the implementation of the methods defined (and required) byqueue
If this Java program were to run...
Originally posted by John Davis:
Thanks Ernest, your reply got me started.
#2. does the implementation of GetQueueFromSomewhere() return an instance of a class which knows the limitations and requirements of javax.jms.Queue?
(I guess that this is obviously "yes")
#3. What is a Padawan? I trust that I am one, but haven't found this word in a dictionary.
#4. In my jms code, it appears GetQueueFromSomewhere () is a method from yet another interface (javax.jms.QueueSession). Apparently, it is normal practice to hide implementations within hierarchies of interface indirections. I guess this is desirable behavior, but in the JMS case that I am working on, it is frustrating. The interfaces I am working with do not provide exposure methodology for data which is obviously hidden within an object deep inside the interface hierachy. Is it the grand plan for me (and developers in general) to just give up trying to find out what is going on?
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|