FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How can I setup a Java/Ruby project?

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
Donovan



Joined: 22 Jan 2009
Posts: 2

PostPosted: Thu Jan 22, 2009 8:54 pm    Post subject: How can I setup a Java/Ruby project? Reply with 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
View user's profile Send private message
Chris Kutler
Posted via mailing list.





PostPosted: Fri Jan 23, 2009 12:32 am    Post subject: How can I setup a Java/Ruby project? Reply with quote

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

PostPosted: Fri Jan 23, 2009 9:36 pm    Post subject: Reply with quote

Didn't know JRuby supported embedding . Thank you very much ! That was exactly what I was looking for .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB