SlideShare une entreprise Scribd logo
1  sur  16
$ jruby -S gem install rails 
        activerecord-jdbcposgresql-adapter
$ jruby -S rails lltv -d postgresql
$ vi config/database.yml
$ jruby script/server
Rails   Passenger


          Thin


         Mongrel


         FastCGI
Rails    Passenger


 Merb       Thin


Sinatra    Mongrel


Camping    FastCGI
Rails    Passenger


 Merb       Thin


Sinatra    Mongrel


Camping    FastCGI
Rails           Passenger


 Merb              Thin
          Rack
Sinatra           Mongrel


Camping           FastCGI
Struts                  Tomcat


Wicket                 GlassFish
         Servlet API
Click                  WebSphere


Slim3                  WebLogic
Java
$ jruby -S gem install warbler
$ warble
$ jruby -S gem install warbler
$ warble
Java web frameworks on JRuby: Rails, Merb, Sinatra, and more
Java web frameworks on JRuby: Rails, Merb, Sinatra, and more

Contenu connexe

Tendances

CasperJS and PhantomJS for Automated Testing
CasperJS and PhantomJS for Automated TestingCasperJS and PhantomJS for Automated Testing
CasperJS and PhantomJS for Automated TestingX-Team
 
Phantom js quick start
Phantom js quick startPhantom js quick start
Phantom js quick startji guang
 
Lightweight Webservices with Sinatra and RestClient
Lightweight Webservices with Sinatra and RestClientLightweight Webservices with Sinatra and RestClient
Lightweight Webservices with Sinatra and RestClientAdam Wiggins
 
Using Vagrant for Local WordPress Development
Using Vagrant for Local WordPress DevelopmentUsing Vagrant for Local WordPress Development
Using Vagrant for Local WordPress Developmentslicejack
 
JSConf US 2014: Building Isomorphic Apps
JSConf US 2014: Building Isomorphic AppsJSConf US 2014: Building Isomorphic Apps
JSConf US 2014: Building Isomorphic AppsSpike Brehm
 
Testing MeteorJS using CasperJS
Testing MeteorJS using CasperJSTesting MeteorJS using CasperJS
Testing MeteorJS using CasperJSStephan Hochhaus
 
SockJS Intro
SockJS IntroSockJS Intro
SockJS IntroNgoc Dao
 
javascript for backend developers
javascript for backend developersjavascript for backend developers
javascript for backend developersThéodore Biadala
 
CasperJs Enjoy Functional Testing
CasperJs Enjoy Functional TestingCasperJs Enjoy Functional Testing
CasperJs Enjoy Functional TestingFabien POMEROL
 
Building Isomorphic Apps (JSConf.Asia 2014)
Building Isomorphic Apps (JSConf.Asia 2014)Building Isomorphic Apps (JSConf.Asia 2014)
Building Isomorphic Apps (JSConf.Asia 2014)Spike Brehm
 
System webpack-jspm
System webpack-jspmSystem webpack-jspm
System webpack-jspmJesse Warden
 
The Evolution of Airbnb's Frontend
The Evolution of Airbnb's FrontendThe Evolution of Airbnb's Frontend
The Evolution of Airbnb's FrontendSpike Brehm
 
mruby で mackerel のプラグインを作るはなし
mruby で mackerel のプラグインを作るはなしmruby で mackerel のプラグインを作るはなし
mruby で mackerel のプラグインを作るはなしHiroshi SHIBATA
 
Introducing Merb
Introducing MerbIntroducing Merb
Introducing MerbBalint Erdi
 
Webpack Tutorial, Uppsala JS
Webpack Tutorial, Uppsala JSWebpack Tutorial, Uppsala JS
Webpack Tutorial, Uppsala JSEmil Öberg
 

Tendances (20)

CasperJS and PhantomJS for Automated Testing
CasperJS and PhantomJS for Automated TestingCasperJS and PhantomJS for Automated Testing
CasperJS and PhantomJS for Automated Testing
 
Phantom js quick start
Phantom js quick startPhantom js quick start
Phantom js quick start
 
Mojolicious
MojoliciousMojolicious
Mojolicious
 
Lightweight Webservices with Sinatra and RestClient
Lightweight Webservices with Sinatra and RestClientLightweight Webservices with Sinatra and RestClient
Lightweight Webservices with Sinatra and RestClient
 
Using Vagrant for Local WordPress Development
Using Vagrant for Local WordPress DevelopmentUsing Vagrant for Local WordPress Development
Using Vagrant for Local WordPress Development
 
CasperJS
CasperJSCasperJS
CasperJS
 
JSConf US 2014: Building Isomorphic Apps
JSConf US 2014: Building Isomorphic AppsJSConf US 2014: Building Isomorphic Apps
JSConf US 2014: Building Isomorphic Apps
 
Testing MeteorJS using CasperJS
Testing MeteorJS using CasperJSTesting MeteorJS using CasperJS
Testing MeteorJS using CasperJS
 
SockJS Intro
SockJS IntroSockJS Intro
SockJS Intro
 
javascript for backend developers
javascript for backend developersjavascript for backend developers
javascript for backend developers
 
CasperJs Enjoy Functional Testing
CasperJs Enjoy Functional TestingCasperJs Enjoy Functional Testing
CasperJs Enjoy Functional Testing
 
Building Isomorphic Apps (JSConf.Asia 2014)
Building Isomorphic Apps (JSConf.Asia 2014)Building Isomorphic Apps (JSConf.Asia 2014)
Building Isomorphic Apps (JSConf.Asia 2014)
 
KOWAZA for mackerel
KOWAZA for mackerelKOWAZA for mackerel
KOWAZA for mackerel
 
System webpack-jspm
System webpack-jspmSystem webpack-jspm
System webpack-jspm
 
Fast stuff… on speed
Fast stuff… on speedFast stuff… on speed
Fast stuff… on speed
 
The Evolution of Airbnb's Frontend
The Evolution of Airbnb's FrontendThe Evolution of Airbnb's Frontend
The Evolution of Airbnb's Frontend
 
mruby で mackerel のプラグインを作るはなし
mruby で mackerel のプラグインを作るはなしmruby で mackerel のプラグインを作るはなし
mruby で mackerel のプラグインを作るはなし
 
Introducing Merb
Introducing MerbIntroducing Merb
Introducing Merb
 
Webpack Tutorial, Uppsala JS
Webpack Tutorial, Uppsala JSWebpack Tutorial, Uppsala JS
Webpack Tutorial, Uppsala JS
 
Very Xd Hw9
Very Xd Hw9Very Xd Hw9
Very Xd Hw9
 

En vedette

JRubyによるエンタープライズweb開発
JRubyによるエンタープライズweb開発JRubyによるエンタープライズweb開発
JRubyによるエンタープライズweb開発Naoto Takai
 
地域.rbのご提案
地域.rbのご提案地域.rbのご提案
地域.rbのご提案Naoto Takai
 
JRuby最新事情@札幌
JRuby最新事情@札幌JRuby最新事情@札幌
JRuby最新事情@札幌Naoto Takai
 
JRuby on Rails and Thread Safety
JRuby on Rails and Thread SafetyJRuby on Rails and Thread Safety
JRuby on Rails and Thread SafetyNaoto Takai
 
『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャ
『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャ『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャ
『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャNaoto Takai
 
5分でわかるJRuby最新事情
5分でわかるJRuby最新事情5分でわかるJRuby最新事情
5分でわかるJRuby最新事情Naoto Takai
 
私と自分戦略
私と自分戦略私と自分戦略
私と自分戦略Naoto Takai
 
Devsumi2012 攻めの運用の極意
Devsumi2012 攻めの運用の極意Devsumi2012 攻めの運用の極意
Devsumi2012 攻めの運用の極意Ryosuke IWANAGA
 

En vedette (8)

JRubyによるエンタープライズweb開発
JRubyによるエンタープライズweb開発JRubyによるエンタープライズweb開発
JRubyによるエンタープライズweb開発
 
地域.rbのご提案
地域.rbのご提案地域.rbのご提案
地域.rbのご提案
 
JRuby最新事情@札幌
JRuby最新事情@札幌JRuby最新事情@札幌
JRuby最新事情@札幌
 
JRuby on Rails and Thread Safety
JRuby on Rails and Thread SafetyJRuby on Rails and Thread Safety
JRuby on Rails and Thread Safety
 
『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャ
『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャ『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャ
『エンタープライズRails』に学ぶ企業ユーザのためのRailsアーキテクチャ
 
5分でわかるJRuby最新事情
5分でわかるJRuby最新事情5分でわかるJRuby最新事情
5分でわかるJRuby最新事情
 
私と自分戦略
私と自分戦略私と自分戦略
私と自分戦略
 
Devsumi2012 攻めの運用の極意
Devsumi2012 攻めの運用の極意Devsumi2012 攻めの運用の極意
Devsumi2012 攻めの運用の極意
 

Java web frameworks on JRuby: Rails, Merb, Sinatra, and more

  • 1.
  • 2.
  • 3.
  • 4. $ jruby -S gem install rails activerecord-jdbcposgresql-adapter $ jruby -S rails lltv -d postgresql $ vi config/database.yml $ jruby script/server
  • 5. Rails Passenger Thin Mongrel FastCGI
  • 6. Rails Passenger Merb Thin Sinatra Mongrel Camping FastCGI
  • 7. Rails Passenger Merb Thin Sinatra Mongrel Camping FastCGI
  • 8. Rails Passenger Merb Thin Rack Sinatra Mongrel Camping FastCGI
  • 9.
  • 10. Struts Tomcat Wicket GlassFish Servlet API Click WebSphere Slim3 WebLogic
  • 11. Java
  • 12.
  • 13. $ jruby -S gem install warbler $ warble
  • 14. $ jruby -S gem install warbler $ warble