GWTENT - reflection & AOP comments

19 views
Skip to first unread message

Quentin

unread,
Aug 8, 2010, 9:51:56 AM8/8/10
to GWT-Ent Developer Forum
Hello !
First of all, thanks for this project, it's a really great one !

I've been trying to implement gwtent in my project these last days,
and I've some comments :

- It seems we need the aspectjweaver jar to get the AOP lib work ,
maybe you should write it in the wiki ?

- I'm not able to make function with primitives types (for exemple
moveTo (int x, int y) don't work. Do you know why ? That's quite
annoying for me :(

- showCase from SVN doesn't work well on my computer, maybe you are
using an old gwt version ?

- I had a look inside the Reflection API, and I can't understand how
you do the mapping between generated js name generated by gwt and java
className object. Could you explain us briefly how works your API
Relection ? What's the main idea behind ?

Thanks a lot,

Quentin

James Luo

unread,
Aug 8, 2010, 7:18:24 PM8/8/10
to gwt...@googlegroups.com
Hi, Quentin

  Yes, at compile time, aop need aspectj jars to make everything working. In my machine, it is : aspectjlib-1.6.2.jar, aspectjrt-1.6.2.jar, aspectjweaver-1.6.2.jar.

  In next RC release I will release with dependencies.

  about the primitives types, I will have a test, cause all match stuff are processed by aspectj. I will go back to you.

  About showcase, I'm using Maven to manager all dependeces, it should working from GWT1.7 to newest GWT version

  The main purpose of Reflection in GWTENT is because GWT not provider Reflection :)
  The implement is based on GWT code generation.

James


--
You received this message because you are subscribed to the Google Groups "GWT-Ent Developer Forum" group.
To post to this group, send email to gwt...@googlegroups.com.
To unsubscribe from this group, send email to gwt-ent+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-ent?hl=en.




--
Regards
James Luo

Quentin

unread,
Aug 9, 2010, 3:52:09 AM8/9/10
to GWT-Ent Developer Forum
Hi James,
Thanks for your answer,
If you have the time, maybe you could tell us a little bit more about
your reflection implementation ? Basicly, how does it works, in a few
lines (your implementation is quite hard to understand just reading
the code :) ?

PS: I just realize that my precedent message wasn't very clear. I was
talking about primitive type for method you want to intercept with
AOP, for instance call(Number n, Integer i) works but call(int i, int
i) shouldn't. I can provide you the full stack if you need.

Thanks in advance

Quentin

> The main purpose of Reflection in GWTENT is because GWT not provider
> Reflection :)
> The implement is based on GWT code generation.

> > gwt-ent+u...@googlegroups.com<gwt-ent%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages