ΥڡϤƤʥ֥åޡɲΥڡޤϤƤʥ֥åޡ Υڡlivedoor åפɲΥڡޤlivedoor å

Ѿʥǥꥲ

  • Ʋ-ò״طü쥱ʼǤ̤ΥˤǤưŪʬϡѾ⥪֥ȥ饤ˡͥƤȤ롣
  • ǽѹκݤ礭ʰϤȯѾˤäƤϰѾΤۤͥƤ뤳Ȥ롣
  • ѾDBMS䳫ȯ줬̤ʵǽ򥵥ݡȤƤʤƤ⡢ȯԤ߷פǼ¸ǤȤåȤ⤢롣
    • Ѿ̾DBMS䳫ȯ줬󶡤ᥫ˥˶¸롣
  • ʤ̾硢ѾѾƲΤΤ褭Ȥʤ롣
    • äˡ¾Τ륯饹Ȥ饹λȤƤ륯饹ͭǤ롣
    • Ѿϥѥեޥ󥹾⡢Ѿ١ȤƲͭǤ롣
      • ˤäƤϷѾˤä߷פϣ졢Ѿʤݥ⡼եǽˤʤ뤳Ȥ⤢롣

Mail饹λsend᥽åɤMailer饹ѤǤʤMailer饹ˤsend᥽åɤȤ롣

Mail饹ѾMailer饹СMail饹λsend᥽åɤϥͥ⤽ΤޤޤηMailer饹˼Ѥ롣"Mailer is a kind of Mial."ǤϤʤΤǡis-aδطǤϤʤˡѾѤ륢ץ򤱤

ǡѾѤФ褤Mailer饹ŪεǽǤsend᥽åɤMail饹ݥǼߡѤ᥽åɤ򵭽Ҥơ᥽åɤǥݥ󤷤֥ȤŪΥ᥽åɤƤӽФĤޤꡢ᥽åɤγ̤Ƥơºݤνϥݥ󤷤֥ȤΤǤ롣С饹ˤȤäơMailerΥ󥹥󥹤send᥽åɤ¹ԤΤ褦˸롣

class Mailer {
	// Mail饹(send᥽åɤ)򥳥ݥ󤹤.
	protected Mail mail_;

	void send() {
		mail_.send();
	}
}

ʸ

  • إǥȥץᤰ
  • Javaγʸ
  • 10Ǥ狼륪֥Ȼظ