Re: Implementing dynamic proxies with BCEL

"Juozas Baliuka" <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <00f201c29fa6$444252e0$a901a8c0@juozas>
Hi all,

> Labas, Juozas!
>
> Juozas Baliuka wrote:
>
> > Hi,
> > I contribute for this kind project http://cglib.sourceforge.net, very
> > possible we can find ways for cooperation.
>
> Can you elaborate on the "ways of cooperation"?
> As much as I can see from CGLIB code... you have already implemented the
> proxy thing ;-)

there are a lot of work to do like documentation, more ideas about code
generation ... .

> Is there any reason (other than political) why you wouldn't merge your
> CGLIB project with BCEL?  CGLIB seems to build on top of BCEL so nicely...

I do not think it is some kind of political problems, both projects have the
same license.
I have posted a proxy generator implementation a few moths ago, possile it
was too crapy implemnetation, possible things like this is out
of BCEL scope.

>
> My code for proxy generation can be just a small example of BCEL
> usage... for any more serious use people should probably consider CGLIB.
>
> BTW, it would be more helpful if you would replace
> -----------
> CGLIB outputs generated classes. Byte code generation and class file
> format manipulation is hidden in static methods. It was designed to
> implement Transparent Persistence for JAVA, but can be used to implement
> aspects like Security or Validation.
> -----------
> (from http://cglib.sourceforge.net/)
> with
> -----------
> This project is inspired by java.lang.reflect.Proxy, but CGLIB proxy
> generator is more powerful and can be used by JDO/ODMG or EJB
> implementations. It can extend any not final class and implement
> interfaces at runtime.
> -----------
> (from http://sourceforge.net/projects/cglib)
>
> The latter description reflects the true purpose of the project much
> better IMHO...


>
> Rgds,
> Neeme
>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[email protected]>
> For additional commands, e-mail: <mailto:[email protected]>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.