Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Use AOP in RCP
Use AOP in RCP [message #447030] Tue, 28 March 2006 04:03 Go to next message
Karl is currently offline KarlFriend
Messages: 92
Registered: July 2009
Member
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.
Re: Use AOP in RCP [message #447592 is a reply to message #447030] Tue, 11 April 2006 13:03 Go to previous messageGo to next message
Eclipse UserFriend
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.
>
Re: Use AOP in RCP [message #447611 is a reply to message #447030] Tue, 11 April 2006 22:40 Go to previous message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
Karl,

Take a look at the Equinox Aspects incubator at
http://www.eclipse.org/equinox/incubator/aspects/index.php

As I understand it, they are using AspectJ load-time weaving to
dynamically introduce aspects into the bundles as they resolve.

A number of people are interested in this, and we're waiting eagerly for
an announcement on the Equinox newsgroup when something is available to
try out :-)

- Neil
Previous Topic:PDE Build 3.2 (M5) can't build my RCP app
Next Topic:[DataBinding] Validation : why 2 methods
Goto Forum:
  


Current Time: Wed Dec 04 03:46:49 GMT 2024

Powered by FUDForum. Page generated in 0.02626 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top