Java Hot Topics Seminar #21 : GlassFish

Java Hot Topics Seminar #21 : GlassFish

759f46b226f3fc59661883355503a874?s=128

Takayuki Okazaki

August 21, 2008
Tweet

Transcript

  1. Ҋ֎͍͍͔΋ɺ(MBTT'JTI ʙ̏ͭͷϙΠϯτʙ (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ Ԭོ࡚೭IUUQXBUFSNJOUPSH

  2. (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 (MBTT'JTI&OUFSQSJTF4FSWFSW
  3. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ؅ཧੑڧԽ ύϑΥʔϚϯε޲্ $PNFU"KBY +3VCZPO3BJMT (MBTT'JTIW  ೥ 

    ݄  ೔ϦϦʔε +BWB&& ४ڌ ߴՄ༻ੑͱ ΫϥελରԠ /&5 ૬ޓӡ༻ੑ &4# ج൫
  4. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ͔ΜͨΜ Πϯετʔϧ ύϑΥʔϚϯε޲্ (SPPWZɾ(SBJMT +ZUIPOɾ%KBOHP (MBTT'JTIW  ೥தࠒϦϦʔε༧ఆ

    +BWB&& ४ڌ +3VCZ ରԠ 3VCZPO3BJMT ϞδϡʔϧԽͱ 04(J ରԠ 1)1 αϙʔτ
  5. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ +BWB&& ४ڌ ͜Ε͚ͩΛݟͯ΋ɾɾɾ ɾ&+# ɾ +"934 3&45GVM8FC4FSWJDF ɾ+BWB1FSTJTUFODF

    ɾ 8FC#FBOT ɾ4FSWMFU ɾ+4' ɾ +"9# ɾ +"984 ͳͲͳͲ 
  6. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ࢖ͬͯΈͯҊ֎Α͔ͬͨɺ̏ͭͷϙΠϯτ ⁞؅ཧը໘ͱ؅ཧίϚϯυ͕ ɹΧϯλϯ  ࢖͍΍͍͢ϥΠηϯε ⁠ಠ֦ࣗு͕গͳ͍

  7. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ⁞؅ཧը໘ͱ؅ཧίϚϯυ͕ ɹΧϯλϯ ىಈ$ ./asadmin start-domain ఀࢭ$ ./asadmin stop-domain

    σϓϩΠ$ ./asadmin deploy MyApp.war ల։ͨ͠··σϓϩΠ΋Ͱ͖·͢ɻ $ ./asadmin deploydir ./MyApp MyApp/com/example/MyApp.class MyApp/com/example/MyAppImpl.class ΦʔτσϓϩΠ΋͋Γ·͢ɻ $GLASSFISH_HOME/domains/domain1/autodeployҎԼʹ .Z"QQXBS Λίϐʔ ΄͔ʹ΋ ࢀߟ IUUQCMPHTTVODPNOJTIJHBZBFOUSZHMBTTpTI@EFQMPZNFOU@WBSJBUJPO
  8. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ⁞؅ཧը໘ͱ؅ཧίϚϯυ͕ ɹΧϯλϯ ΍ͬͺΓɺ(6* ͕Βͪ͘Μɻ ىಈͯ͠IUUQMPDBMIPTU

  9. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ඞࡴٕ ΫϥελϦϯάͷઃఆ ͜ΕΛԡͯ͠ɺ΢ΠβʔυͰ ΫϥελϦϯάαϙʔτΛ ௥ՃͰ͖·͢ɻ

  10. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ  ࢖͍΍͍͢ϥΠηϯε $%%- $PNNPO%FWFMPQNFOUBOE%JTUSJCVUJPO-JDFOTF (1-W (/61VCMJD-JDFOTFWFSTJPO ঎༻ϥΠηϯε 4VO(MBTT'JTI&OUFSQSJTF4FSWFSW

  11. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ ⁠ಠ֦ࣗு͕গͳ͍ σϝϦοτͷΑ͏ʹ΋ݟ͑Δ͕ɺ͍͍ͩͨͷ ΍Γ͍ͨ͜ͱ͸ +BWB&& ࢓༷ͰΧόʔ͞Ε͍ͯΔͷͰ Ή͠Ζɺಠ֦ࣗு͕͋Δ΄͏͕अຐͳέʔε͕ଟ͍ɻ *—+BWB&&

  12. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ "7, "QQMJDBUJPO7FSJpDBUJPO,JU Ͱ ޓ׵ੑνΣοΫ $ ./verifier MyApp.war ޓ׵ੑ͕͋Ε͹ࣗ༝ʹߦ͖དྷͰ͖·͢ɻ

  13. (MBTTpTI Ϣʔβɾάϧʔϓɾδϟύϯ Ϣʔβάϧʔϓ΋ΑΖ͓͘͠Ͷ͕͍͠·͢ɻ IUUQHMBTTpTIKQ