Does jruby support annotions yet?

View: New views
4 Messages — Rating Filter:   Alert me  

Does jruby support annotions yet?

by Marco Dohnke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Can anyone please provide some information about this?

Thanks in advance,

Marco Dohnke

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

    http://xircles.codehaus.org/manage_email



Re: Does jruby support annotions yet?

by Marco Dohnke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marco Dohnke schrieb:

> 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.
>
> Can anyone please provide some information about this?
>
> Thanks in advance,
>
> Marco Dohnke
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
Hi again,

the article I referenced was not written by Nick Sieger but by Charles
Nutter. Sorry for that mistake!

greets,
Marco Dohnke

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

    http://xircles.codehaus.org/manage_email



Re: Does jruby support annotions yet?

by Derek Neptune :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A follow-on question to Marco's...

Is it possible to write Java 6 webservices (server) using JRuby?

Can these simple examples be written in JRuby?

http://www.vogella.de/articles/JavaWebservice/article.html
http://thelogic.org/blog/2009/03/23/webservice-with-java-6/


Thanks,
Derek


On Tue, Jun 30, 2009 at 2: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.
>
> Can anyone please provide some information about this?
>
> Thanks in advance,
>
> Marco Dohnke
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email



Re: Does jruby support annotions yet?

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

Reply to Author | View Threaded | Show Only this Message

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