[Objectbridge-jdo-dev] Re: OJB - JDO Reference Enhancer
Brought to you by:
thma
From: Mika R. <mri...@ya...> - 2002-05-27 07:40:19
|
> In fact we already have a working JDO prototype > implementation ! Sounds great. > just curious: why do you use Jiapi instead of the > defact-standard BCEL? As a matter of fact,we are using BCEL. Jiapi is based on BCEL. We started Jiapi project allmost a year ago. With prototyping with BCEL. Jiapi provides greater level of abstraction than BCEL. With Jiapi, you do not talk about ConstantPool and all those low-level stuff. Jiapi is more like Read-Write reflection API. And it utilizes BCEL to do all the wiring needed. There is also a framework for instrumenting classes. Framework is implemented as filter design pattern. > What exactly is your enhancer doing? is it > generating the same things as > the JDORI enhancer? Yes. Take a look at PersistenCapableTemplate: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jadoe/jadoe/src/alt/jadoe/PersistenceCapableTemplate.java?rev=1.3&content-type=text/vnd.viewcvs-markup Methods/fields in this class gets copied into enhanced class. There are some methods, that will have to be added by other means, and these are missing. The things we will do with Jadoe: a) Finalize missing field/method generation. b) Provide a way to interface with the enhancer. We are running Jadoe from command line, and it will dump modified classes into filesystem. So that we can easily inspect them. c) Consider adding MBean interface for enhanced classes. This would naturally be an option. - Mika Riekkinen - __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |