Skip to content

Instantly share code, notes, and snippets.

@bobmcwhirter
Created February 17, 2009 20:36
Show Gist options
  • Save bobmcwhirter/65955 to your computer and use it in GitHub Desktop.
Save bobmcwhirter/65955 to your computer and use it in GitHub Desktop.
JBoss-Rails: Yet Another Way To Deploy Rails Apps
We'll briefly describe the technologies woven together to deploy Rails apps on Java appservers, then dive right into usage.
Demonstrations of both local development using JBoss-Rails and remote deployment using traditional Capistrano processes works seamlessly and as expected.
Then we'll answer the question "Why should I deploy on JBoss-Rails, and not Passenger/Mongrel/etc?" through demonstration of advanced enterprise-grade features such as
* Job scheduling (cron)
* SOAP handling
* Clustering
* Java integration
===================
No REST for the Weary: Enterprise SOAP for Rails
Left to our own devices, we prefer RESTful APIs. But sometimes you simply have to deal with a WSDL and SOAP services. Sometimes you need to handle crypto and X.509 certificates to be enterprisey and secure.
Using the Amazon EC2 SOAP API as the working example, this session will demonstrate how the JBoss-Rails environment provides sophisticated SOAP facilities married to the traditional Rails-way of developing apps. We will demonstrate reimplementation of the server-side components using a Rails app running on JBoss-Rails.
The EC2 API will allow us to demonstrate verification of X.509 signatures on requests for authentication, and signing of responses for enterprise-grade security.
Additionally, we will briefly discuss the integration with JBoss AS, including leveraging Apache-CXF for webservices support, and StAX for fast XML handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment