aspose file tools*
The moose likes Ruby and the fly likes Ruby and J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Ruby and J2EE" Watch "Ruby and J2EE" New topic
Author

Ruby and J2EE

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Does ruby also fit in J2EE applications? In what ways?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919



Are you saying whether you can run Ruby applications in a J2EE server ?


Groovy
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
In theory, you could embed Ruby code into a J2EE application using JRuby.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Justin Gehtland
author
Ranch Hand

Joined: Jan 30, 2007
Posts: 31
As Lasse said, there's JRuby. Without a compiler, it is mainly used to glue together existing J2EE apps or components right now, but eventually, they'll get a compiler working and you'll be able to marshal objects in both directions.

Conversely, we've been able to integrate through messaging channels (RESTfule web services, SOAP, and STOMP for messaging). I much prefer this strategy because it implies that you have a well-factored application design in the first place, and the Ruby code could be anything, as long as it can process the messages correctly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ruby and J2EE