Advising JRuby code from AspectJ?

S

Susan Davis

We're developing a RESTful web application, and we're looking at running
Rails under JRuby for many of our services. The front end is likely to
be Java, as we're kitbashing an existing OSS project into something that
fits our needs a bit better.

One of our big requirements is a billing subsystem that supports a wide
number of pricing models, and the ability for our sales/marketing people
to introduce new ones on the fly. Another is a robust auditing
subsystem. Both problems absolutely scream to be pulled out into
aspects, which is fine for the bits of the system written in Java, but
what about the Ruby code? I hear tell (handwave) that there are Ruby
constructs that resemble aspects (handwave, handwave), but I'm new
enough to Ruby to not have learned those patterns yet, and really, we'd
like to only have to write our billing/auditing instrumentation code once.

Is there a good way to get AspectJ or Spring AOP aspects to advise JRuby
classes? Alternatively, has anyone tried to use Spring AOP to use a
JRuby class to advise Java code? Or is there some third possibility
that I'm overlooking?

For that matter, where on Usenet is the good place to ask about AOP in
general? I don't see a specific group; is c.l.j.p the right place, or
does one simply not exist yet?

Thanks in advance,
-- Sue --
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,268
Latest member
AshliMacin

Latest Threads

Top