From: Geoff Lane Date: 2006-02-15T07:09:02+09:00 Subject: Re: Ruby- interactions with Appservers such as Oracle/Jboss Well, you can definitely expose the EJBs as Web Services and access them using Ruby that way. Is that what you are talking about? If so . . . SOAP4R provides everything you need to work with SOAP Services. The current release works best with RPC-literal services, but the latest from the source trunk greatly improves Document-literal support. wsdl2ruby can generate classes for you so that you don't have to guess about the code generated. Some example code: require 'service' service = SOAP::WSDLDriverFactory.new('http://example.com/services/Contacts').create_rpc_driver service.generate_explicit_type = true service.wiredump_dev = STDOUT if $DEBUG result = service.SearchContacts(SearchContactsRequest.new('some_name')) if result.contacts.length > 0 result.contacts.each { |c| print_contact(c) } else puts "No contacts found..." end Arjun Khanna wrote: > Hi: > I am evaluating using Ruby to build an enterprise application. I expect > that the application setup will include a browser [ie], a (1)webserver > such as apache and an (2)application server such as that provided by > Oracle/Jboss (3)the data base. > > Before starting on such a project, I wanted to find out if there any > known issues related to ruby interacting with application EJB's [j2ee > compliant]. Is there a specific weblog/documentation set where I can > readup about known issues? > > Are there any example applications available for download where one can > see a prototype application built using Ruby + Jboss [or equivalent > freeware]? > > Thanks in advance. > Arjun Khanna. > > -- Geoff Lane