[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rather, DSSLs increase modularity, productivity

A couple of interesting applications of byte-code engineering in Java
I've come across recently:

BCEL - the library used to implement a lot of these byte-code hacks:
(have a look at their projects page to get an idea of how popular this
approach has become)

Most Java AOP implementations seem to be implemented this way:

The Tapestry web framework uses it to generate new java classes on the
fly from xml templates:

Hibernate, probably the most popular Java O-R mapping library uses
byte-code hacks to hook object mods for db updates:

On the one hand it's cool that the JVM allows all this, but it seems
like more explicit support for this kind of metaprogramming in the
language would be better.

On Sun, 2003-11-16 at 22:41, Michael Vanier wrote:
> Miles,
> What kind of byte-code manipulations are you talking about?  I know nothing
> about this, but it sounds interesting.

Miles Egan <miles@caddr.com>

Attachment: signature.asc
Description: This is a digitally signed message part