On Sun, 26 Mar 2000, jon * wrote:
>
> If you notice in the turbine/conf directory, I started on something like
> this...I also have a XMLDatabaseMapBuilder that i need to check in still
> that will read that file and generate the mapping in memory.
>
> Now, my only problem is trying to map stuff in memory to the various Peer
> classes...this is a problem i haven't been able to figure out how to solve
> yet...help on this is appreciated...yesterday, i thought it might be
> possible with introspection, but it is looking less and less likely...
>
First, let me restate what you are trying to say so we are on the same
page. Here goes, We want to map the variable changes in the business
objects back to their respective peers. This will generally mean that you
need to access private member data and were hoping to use reflection
classes.
Accessing private member data from outside the class in which it is
defined is possible (I believe) in JDK1.2, but not 1.1.
> it would be REALLY friggen cool if it was possible to dynamically generate
> Java code in memory...i hate the fact that it isn't possible...this would
> solve a lot of big problems like having to write out java code like JSP,
> Cocoon2, Town 2.0b1, etc does...
>
> -jon
Dynamically generating code has a certain cool factor, but can be a real
pain to debug and maintain.
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
Jeff Prickett
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]