| View previous topic :: View next topic |
| Author |
Message |
Donovan
Joined: 22 Jan 2009 Posts: 2
|
Posted: Thu Jan 22, 2009 8:54 pm Post subject: How can I setup a Java/Ruby project? |
|
|
Hi guys !
Is there any way to setup a java/jruby project ? I would like to be able to use JRuby objects from within my Java classes . Is this possible ? Could you please provide an example ?
Thank you ! |
|
| Back to top |
|
 |
Chris Kutler Posted via mailing list.
|
Posted: Fri Jan 23, 2009 12:32 am Post subject: How can I setup a Java/Ruby project? |
|
|
There are 3 ways you can do this:
1. Direct JRuby embedding using the JRuby API (this is not recommended)
2. Bean Scripting Framework. JRuby's BSF support (bsf.jar) can be found
in your JRuby installation under the lib folder.
3. JSR 223 Scripting.
Check out http://wiki.jruby.org/wiki/Java_Integration. You can find
examples there.
Donovan wrote:
| Quote: | Hi guys !
Is there any way to setup a java/jruby project ? I would like to be able to use JRuby objects from within my Java classes . Is this possible ? Could you please provide an example ?
Thank you !
|
|
|
| Back to top |
|
 |
Donovan
Joined: 22 Jan 2009 Posts: 2
|
Posted: Fri Jan 23, 2009 9:36 pm Post subject: |
|
|
| Didn't know JRuby supported embedding . Thank you very much ! That was exactly what I was looking for . |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|