Re: non-generative record types and classes
Matthias Radestock <[email protected]> Tue, 08 Nov 2005 08:31:38 +0000
| Newsgroups | gmane.comp.java.sisc.devel |
|---|---|
| Message-ID | <[email protected]> |
Matthias Radestock <[email protected]> writes: > The alternative solution is to add a bijective map between guids and > types (or any values, really) to the application context, and make it > part of heap (de)serialisation. There is one major problem with this: We want the above to work not just with SISC's heap&stream serialisation, but also *Java* serialisation, particularly Java serialisation carried out by J2EE containers. However, Java (de)serialisation does not have access to the application context. In fact there may not even *be* an application context at the time (de)serialisation takes place. Unless somebody can think of a solution to the above, I am going to stick with the first proposal instead, i.e. indirection of record/object types via a symbolic environment. Matthias. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php