« Return to Thread: Does jruby support annotions yet?

Re: Does jruby support annotions yet?

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View in Thread

On Tue, Jun 30, 2009 at 1:42 AM, Marco Dohnke<dohnke@...> wrote:

> Hi all,
>
> according to the article of Nick about jruby and annotations, I asked myself
> whether jruby is supporting annotations now.
> (http://blog.headius.com/2007/05/adding-annotations-to-jruby-using-ruby.html)
>
> I want to use Metro, Axis2 or Java6 web services, so I just want to check
> out what is possible with jruby and what is not.
> Because I have to decide for an architecture I have to know which
> combinations are possible.

The short answer is "not yet".

The long answer is that we will support them soon. Recently we started
work on a compiler called "ruby2java" which can produce normal Java
classes, including annotations and normal Java signatures. It's
somewhat of a prototype right now, but it's proving we'll be able to
support all the standard Java typing constructs soon.

If you'd like to contribute, the code is all in Ruby and located in
this project: http://kenai.com/projects/ruby2java

Or gem install ruby2java and have a look at the examples. What's there
right now may be enough for you to experiment with. Expect to see more
work on this over the summer.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Does jruby support annotions yet?