Alexis Agahi wrote:

But what if you think at an enterprise application with 500 or more
domain classes? How should navigation between those objekts should be
handled in your model? Like in EJB? Reading a key for looking up an
other object? Whats about inheritance?



Ah :)
I was more thinking one, how would Steve propose to implement the finder method of Home interface. :)
Will the Home always required human-coded finder or will there be a sort of transparent magical trick to provide directy StorageImplem classes.



:-)


This is merlin - that means magical tricks in the dark!

If I were to do this today - I would generate the code for the home interface and storage type automatically. The implementation can be generated as well assuming you adapt a specific mapping strategy - e.g. something like PSS which would suggest that your home type is declaring a specification of its relational to object mapping - i.e. something like a PSDL file (persistent state definition langauge).

Stephen.

(we have the technology - shame about the time)

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to