aspose file tools*
The moose likes Java in General and the fly likes Difference between runtime reflection,  runtime bytecode generation and ..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Difference between runtime reflection,  runtime bytecode generation and ....." Watch "Difference between runtime reflection,  runtime bytecode generation and ....." New topic
Author

Difference between runtime reflection, runtime bytecode generation and .....

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Hi all,

I have come across these terms..

source generation, runtime reflection,runtime bytecode generation, and buildtime bytecode enhancement in many places .

Can u tell me what they mean and their differences??

Thx in adcvance,
A Kumar.
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Source generation: generating a source file (f.e. XDoclet project)
Runtime reflection: retrieving info about objects at runtime (Java Reflection API java.lang.reflect package)
Runtime bytecode generation: creating classes at runtime (by creating their bytecode) (see cglib, javassist, ect)
Buildtime bytecode enhancement: modification of the bytecode created by the java compiler in a post-compilation process

--
:alex |.::the_mindstorm::.


blog - InfoQ.com
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Thx but can u provide some more details.../resources...

especially the latter 2 terms

Runtime bytecode generation, Buildtime bytecode enhancement

And where exactly..under what circumstances....these are all used...

Thx in adv,
A Kumar
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
What do you really need? Pls be more specific and I will try to answer.

--
:alex |.::the_mindstorm::.
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
I mean ....


Why do we need them in the first place..


What are the places / circumstances under which we opt for these??

Thx in advance..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between runtime reflection, runtime bytecode generation and .....