Re: [Objectbridge-jdo-dev] reference enhancer
Brought to you by:
thma
From: Sebastian K. <seb...@mu...> - 2002-05-16 21:46:50
|
Hi Travis, On Thursday 16 May 2002 23:25, tr...@th... wrote: > Should the reference enhancer work for most implementations? a jdo-compliant implementation has to work with classes enhanced by the reference enhancer as well as classes enhanced by enhancers of other jdo-compliant implementations. > Also, when should the enhancement take place? Using the tutorial app as an > example, You have your Product class. Now do you enhance before you can > start using it, or do you enhance at runtime? Seems like it would be a > pain to have to enhance every class every time you make a change? enhancement has to take place, before the classes are used. Normally this means, that you have to do it right after compilation, which can be done via an ant task easily. However, it would be possible, to write a special classloader, that does enhancement "on the fly" when loading the classes. ciao Sebastian -- Sebastian Kanthak | seb...@mu... |