Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Enterprise Ruby on GlassFish

Enterprise Ruby on GlassFish

「JRuby の最新動向と NetBeans, GlassFish, Solaris on Sun サーバ」 セミナー
https://blogs.oracle.com/yosshi/entry/jruby_%E3%81%AE%E6%9C%80%E6%96%B0%E5%8B%95%E5%90%91%E3%81%A8_netbeans_glassfish_solaris

GlassFish で安心、エンタープライズ Ruby

Takayuki Okazaki

June 26, 2008
Tweet

More Decks by Takayuki Okazaki

Other Decks in Programming

Transcript

  1. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ࣗݾ঺հ     #"4*$ $ $

    'PSUSBO $0 #0 - "TTFN CMFS 1BTDBM +BWB 1FSM 3VCZ "HF
  2. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ࣗݾ঺հ     #"4*$ $ $

    'PSUSBO $0 #0 - "TTFN CMFS 1BTDBM +BWB 1FSM 3VCZ "HF 3VCZPO3BJMT ྺ  ೔ ࠷ॳͷΞϓϦέʔγϣϯ ೥  ݄  ೔ ࣌ࠒ
  3. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ؅ཧੑڧԽ ύϑΥʔϚϯε޲্ $PNFU"KBY +3VCZPO3BJMT (MBTT'JTIW  ೥ 

    ݄  ೔ϦϦʔε +BWB&& ४ڌ ߴՄ༻ੑͱ ΫϥελରԠ /&5 ૬ޓӡ༻ੑ &4# ج൫
  4. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ (MBTTpTI ͱ͸      

            /FU%ZOBNJDT ,JWB4PGU /FUTDBQF"QQMJDBUJPO4FSWFS J1MBOFU"QQMJDBUJPO4FSWFS J1MBOFU"QQMJDBUJPO4FSWFS J1MBOFU8FC4FSWFS +&& +&& +&& +BWB&& 'PSUF4ZOFS+ 4VO0/&"QQ4FSWFS 4VO+BWB4ZTUFN"QQ4FSWFS 4VO+BWB4ZTUFN"QQ4FSWFSY (MBTT'JTIW4VO+BWB4ZTUFN"QQ4FSWFS (MBTT'JTIW4VO+BWB4ZTUFN"QQ4FSWFS /FU#FBOT
  5. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ύϑΥʔϚϯε       (MBTT'JTIW%#

    (MBTT'JTIW1PTUHSF42- 8FC-PHJD%# 0SBDMF"4H0SBDMFH3 8FC4QIFSF%# (MBTT'JTIW 0SBDMFH3 41&$K"QQ4FSWFS ΑΓ 4VO'JSF5 ϊʔυͷϕϯνϚʔΫ݁Ռ  ೥  ݄ݱࡏ
  6. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ 84"UPNJD5SBOTBDUJPO 84$PPSEJO BUJPO 844FDVSJUZ1 PMJDZ 84 4FDVSJUZ 843FMJBCMF.FTTBHJOH

    844FDVSF$PO WFSTBUJPO 8 4.FUBEBUB&YDI BOHF 40"1   8 45SVTU 8FC αʔϏεͱ૬ޓӡ༻ੑ 1SPKFDU5BOHP /&5
  7. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ "KBY ΍ $PNFU ͷαϙʔτ K.BLJ IUUQKNBLJDPN %PKP ΍

    1SPUPUZQFKTɺ4QSZ ͳͲϝδϟʔͳ "KBY ϥΠϒϥϦΛแΈࠐΜͰɺ"KBY Λखܰʹ ࢖͍΍͘͢ ೔ຊޠԽϓϩδΣΫτ ελʔτʂ $PNFU αʔόଆ͔Βσʔλߋ৽ͷλΠϛϯάΛ఻͑ΔςΫχοΫʂ (MBTTpTI Λࢧ͑Δ /*0 ϑϨʔϜϫʔΫ(SJ[[MZ ʹΑΓ ਫ਼ྗతʹαϙʔτʂ
  8. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ +BWB8FC4UBSU ͱΫϥΠΞϯτίϯςφ +BWB8FC4UBSU 8FC ϒϥ΢β͔Β +BWB ΞϓϦέʔγϣϯΛىಈ Ϟδϡʔϧͷߋ৽͕͋Ε͹ࣗಈతʹࠩ෼Λμ΢ϯϩʔυՄೳ

    ΫϥΠΞϯτίϯςφ &+# ΍ +.4 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ऀͷํʹΑΕ͹ ௌऺͷதʹજΜͰ͍ͨ +3VCZ ୈҰਓऀ͔Βɺ ख௧͍ಥͬࠐΈͷ਺ʑΛ௖͍ͨɻ d ུ

    d ʮ$(* ʹൺ΂ͯύϑΥʔϚϯεతʹ༗རʯͱهड़ͯ͠͠·͕ͬͨɺ ݱঢ়Ͱ͸ NPOHSFM@DMVTUFS Ͱਅ໘໨ʹ ߏஙͨ͠ํ͕ɺ+3VCZ ΑΓ΋ύϑΥʔϚϯε͸͍͍਺஋͕ಘΒΕ͍ͯΔɺͱͷ͜ͱɻ ʮ+3VCZPO3BJMTʯʹ͍ͭͯൃද͠·ͨ͠ ఱ࢖΍ΧΠβʔͱݺ͹Εͯ ΑΓ IUUQXXXFJTCBIOKQZPJDIJSPKSVCZ@PO@SBJMTIUNM
  11. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ l ҆৺ z ͷ൑அج४    

      +3VCZ +3VCZ ·ͩ·ͩੑೳʹ৳ͼ͠Ζ͕ ͋Δ͜ͱΛങ͍ͬͯͩ͘͞ɻ def fib(n) if (n < 2) n else fib(n - 2) + fib(n - 1) end end fib(32) ϑΟϘφον਺ྻΛܭࢉ͢Δɻ .BD#PPL1SP *OUFM$PSF%VP()[ +%,@