|
Re: Use AOP in RCP [message #447592 is a reply to message #447030] |
Tue, 11 April 2006 13:03 |
Eclipse User |
|
|
|
Originally posted by: gmcintosh.ivis.com
Haven't tried it yet, but there's no reason why not. Although you say
that AspectJ extends Java, you have to realise there are actually two
'Javas' to extend: the Java programming language and Java bytecodes as
run by the JVM. The two can - and often do, as in the case of AspectJ -
vary separately. The AspectJ compiles is more like a pre-processor which
turns your AOP code into fairly convoluted and reflective Java source
code, then compiles that into standard JVM-readable bytecode. Think of
how JSPs are compiled into servlets. Anyway, I've never tried this but
there shouldn't be any reason why AspectJ code won't fit into an RCP
product, it's something I'm probably about to do myself :-)
Karl wrote:
> Hi,all:
> I want to import AOP features in my RCP application . There are three
> options:AspectJ, AspectWerkz, JBoss AOP,who can give me some comments
> about using AOP in plugin development.Especially, AspectJ is cool but it
> make extensions to Java and has own compiler, is it compatible with
> using plugins enviroment?
>
> Excuse me for post such question in this newsgroup.Perhaps this should
> be post to ajdt newsgroup,but it is not very active now.
>
> Regards,
> Karl.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.06146 seconds