On 3/4/2011 10:36 AM, Dayberry, Joshua wrote:
I don't understand why being able to serialize a connection makes
something more or less OO. Does java actually serialize a connection
proper or does it just serialize everything it needs to recreate the
connection once unserialized?

Well, with a persistent session you can just store the connection in the HttpSession object. I do that all the time for my AS400 object, which allows me to make stateful calls to programs across multiple pages. It's not serialization; it's an object that is preserved between pages.

Can you create a stateful session in PHP and just store the connection that way? Stateful is really nice for lots of things.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.