ๆญฏ2000-09-Final.PDF



Similar documents
<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>


J2EE Concepts

์ž๋ฐ”-11์žฅN'1-502

10.ppt

Microsoft PowerPoint - 04-UDP Programming.ppt

KYO_SCCD.PDF

แ„‰แ…ตแ†ซแ„…แ…ตแ†ทแ„‘แ…ณแ„…แ…ฉแ„€แ…ณแ„…แ…ขแ„†แ…ฅ_แ„แ…ณแ†ฏแ„…แ…ตแ†ซแ„แ…ฉแ„ƒแ…ณ.key

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

JMF3_์‹ฌ๋นˆ๊ตฌ.PDF

<C0DAB7E120C7D5BABB2E687770>

Microsoft Word - SE_Team Report.docx

Microsoft PowerPoint - Supplement-03-TCP Programming.ppt [ํ˜ธํ™˜ ๋ชจ๋“œ]

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

๋น„๊ธด์ฟก-์ž๋ฐ” 00์•ž๋ถ€์†

๋ชฉ์ฐจ 1. ๊ฐœ์š” USB ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ (FTDI DRIVER) FTDI DRIVER ์‹คํ–‰ํŒŒ์ผ USB ๋“œ๋ผ์ด๋ฒ„ ํ™•์ธ๋ฐฉ๋ฒ• DEVICE-PROGRAMMER ์„ค์น˜ DEVICE-PROGRAMMER

5แ„Œแ…กแ†ผ.key

์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž๋ฐ” 2 21์ผ ์™„์„ฑ - ์ตœ์‹ ๊ฐœ์ •ํŒ

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

rmi_๋ฐ•์ค€์šฉ_final.PDF

Microsoft PowerPoint - 03-TCP Programming.ppt

ๆญฏJavaExceptionHandling.PDF

02 C h a p t e r Java

Something that can be seen, touched or otherwise sensed

Sena Device Server Serial/IP TM Version

์ œ๋ชฉ์„ ์ž…๋ ฅํ•˜์„ธ์š”.

(......).hwp

JMF2_์‹ฌ๋นˆ๊ตฌ.PDF

chapter4

mytalk

UML


#ยณรณรƒรŒยฐรฆรยฆ 64รˆยฃ-ร„ยฎยถรณยธรฉ

ยพรˆยตยฟยฑยณรˆยธยบยธรƒร–รยพ

Interstage5 SOAP์„œ๋น„์Šค ์„ค์ • ๊ฐ€์ด๋“œ

07 แ„Œแ…กแ„‡แ…กแ„‹แ…ด แ„ƒแ…กแ„‹แ…ฃแ†ผแ„’แ…กแ†ซ แ„แ…ณแ†ฏแ„…แ…ขแ„‰แ…ณ.key


๋ชฉ์ฐจ BUG DEQUEUE ์˜ WAIT TIME ์ด 1 ์ดˆ๋ฏธ๋งŒ์ธ๊ฒฝ์šฐ, ์„ค์ •ํ•œ์‹œ๊ฐ„๋งŒํผ๋Œ€๊ธฐํ•˜์ง€์•Š๋Š”๋ฌธ์ œ๊ฐ€์žˆ์Šต๋‹ˆ๋‹ค... 3 BUG [qp-select-pvo] group by ํ‘œํ˜„์‹์—์žˆ๋Š”์ปฌ๋Ÿผ์„์ฐธ์กฐํ•˜๋Š”์ง‘ํ•ฉ์—ฐ์‚ฐ์ด์กด์žฌํ•˜์ง€์•Š์œผ๋ฉด๊ฒฐ๊ด๊ฐ’์˜ค๋ฅ˜๊ฐ€๋ฐœ์ƒํ• ์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค... 4

13-Java Network Programming

ร‡ยฅรรถ

์ œ11์žฅ ํ”„๋กœ์„ธ์Šค์™€ ์“ฐ๋ ˆ๋“œ

iii. Design Tab ์„ Click ํ•˜์—ฌ WindowBuilder ๊ฐ€์ž๋™์œผ๋กœ์ƒ์„ฑํ•œ GUI ํ”„๋กœ๊ทธ๋ž˜๋ฐํ™˜๊ฒฝ์„ํ™•์ธํ•œ๋‹ค.

FileMaker ODBC and JDBC Guide

6์ฃผ์ฐจ.key

FileMaker ODBC ๋ฐ JDBC ๊ฐ€์ด๋“œ

untitled

( )๋ถ€๋ก

11 ํ…œํ”Œ๋ฆฟ์ ์šฉ - Java Program Performance Tuning (๊น€๋ช…ํ˜ธ๊ธฐ์ˆ ์ด์‚ฌ)

11๊ฐ•-ํž™์ •๋ ฌ.ppt

API STORE ํ‚ค๋ฐœ๊ธ‰๋ฐ API ์‚ฌ์šฉ๊ฐ€์ด๋“œ Document Information ๋ฌธ์„œ๋ช… : API STORE ์–ธ์–ด๋ณ„ Client ์‚ฌ์šฉ๊ฐ€์ด๋“œ์ž‘์„ฑ์ž : ์ž‘์„ฑ์ผ : ์—…๋ฌด์˜์—ญ : ๋ฒ„์ „ : 1 st Draft. ์„œ๋ธŒ์‹œ์Šคํ…œ : ๋ฌธ์„œ๋ฒˆํ˜ธ : ๋‹จ๊ณ„ : Docum

PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (

01-OOPConcepts(2).PDF

MPLAB C18 C

untitled

13์ฃผ-14์ฃผproc.PDF

13 Who am I? R&D, Product Development Manager / Smart Worker Visualization SW SW KAIST Software Engineering Computer Engineering 3

example code are examined in this stage The low pressure pressurizer reactor trip module of the Plant Protection System was programmed as subject for

OOP ์†Œ๊ฐœ

USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C

PowerSHAPE ๋”ฐ๋ผํ•˜๊ธฐ Calculate ๋ฒ„ํŠผ์„ ํด๋ฆญํ•œ๋‹ค. Close ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ๋ฏธ๋Ÿฌ ๋ฆด๋ฆฌํ”„ ํŽ˜์ด์ง€๋ฅผ ๋‹ซ๋Š”๋‹ค. D ํ™”๋ฉด์„ ๋ณด๊ธฐ ์œ„ํ•˜์—ฌ F ํ‚ค๋ฅผ ๋ˆ„๋ฅธ๋‹ค. - ๋ชจ๋ธ์ด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ณด์ด๊ฒŒ ๋  ๊ฒƒ์ด๋‹ค. ์—ด๋งค ๋งŒ๋“ค๊ธฐ Shape Editor๋ฅผ ์ด์šฉํ•˜์—ฌ ์—ด๋งค๋ฅผ ๋งŒ๋“ค์–ด ๋ณด๋„๋ก

Microsoft Word - Installation and User Manual_CMD V2.2_.doc

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

ร€ยฉยตยตยณร—ร†ยฎยฟรทร‡รยทรŽยฑร—ยทยกยนร–4ร€รฅ_รƒร–รยพ

No Slide Title

untitled

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

DE1-SoC Board

(Asynchronous Mode) ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 -

๋ชฉ์ฐจ BUG offline replicator ์—์„œ์œ ํšจํ•˜์ง€์•Š์€๋กœ๊ทธ๋ฅผ์ฝ์„๊ฒฝ์šฐ๋น„์ •์ƒ์ข…๋ฃŒํ• ์ˆ˜์žˆ๋‹ค... 3 BUG ๊ฐ partition ์ด์„œ๋กœ๋‹ค๋ฅธ tablespace ๋ฅผ๊ฐ€์ง€๊ณ , column type ์ด CLOB ์ด๋ฉฐ, ํ•ด๋‹น table ์„ truncate

09-interface.key

์ž๋ฐ” ํ”„๋กœ๊ทธ๋ž˜๋ฐ

๊ฐ•์˜10

์›น์˜ ๋ผˆ๋Œ€, HTML

10X56_NWG_KOR.indd

untitled

FileMaker ODBC and JDBC Guide

ๆญฏPLSQL10.PDF


04-๋‹ค์‹œ_๊ณ ์†์ฒ ๋„61~80p

Deok9_Exploit Technique

Intro to Servlet, EJB, JSP, WS

(SW3704) Gingerbread Source Build & Working Guide

Transcription:

<JSTORM> Design Pattern - API JSTORM http://www.jstorm.pe.kr -1-

java API 2000-08-14 Public 2000-08-16 Draft (dbin@handysoft.co.kr), (pam@emotion.co.kr) HISTORY (csecau@orgio.net) 2001/2/15 9 10 jstorm pdf. -2-

-3-

caller callee interface subclass superclass getinfo() -4-

caller interface callee getinfo() interface->getinfo() interface getinfo() callee2 getinfo() -5-

1. 1-6-

: ç -7-

-8-

-9- JDBCHelper JDBCHelper() connect() close() commit() next() select() update() getstring() getstring() getint() getint() getfloat() getfloat() getdate() getdate()

-10-

-11- JDBCHelper2 JDBCHelper() connect() close() commit() next() select() update() getstring() getstring() getint() getint() getfloat() getfloat() getdate() getdate() preparedstatement() pstmtsetstring() pstmtsetfloat() pstmtsetint() pstmtsetnull() pstmtselect() pstmtupdate()

JDBCHelper3 JDBCHelper() connect() close() commit() next() select() update() getstring() getstring() getint() getint() getfloat() getfloat() getdate() getdate() preparedstatement() pstmtsetstring() pstmtsetfloat() pstmtsetint() pstmtsetnull() pstmtselect() pstmtupdate() callablestatement() cstmtsetstring() cstmtsetfloat() cstmtsetint() cstmtsetnull() cstmtupdate() cstmtregisteroutparameter() -12-

-13-

-14-

ç ç ç -15-

ç -16-

JDBCHelperFactory createjdbchelper() getfactory() <<Interface>> JDBCHelperFactoryIF <<Interface>> JDBCHelper connect() close() commit() next() select() update() getstring() getstring() getint() getint() getfloat() getfloat() getdate() getdate() setstring() setfloat() setint() setnull() regoutparameter() JDBCStatementHelper JDBCPreparedStatementHelper createjdbchelper() 1. 2 PreparedStatement JDBC Helper - Factory Method Pattern -17-

-18-

-19- JDBCHelper connect() begintransaction() commt() select() update() getstring() getstring() getint() getint() getfloat() getfloat() getdate() getdate() setstring() setfloat() setint() setnull() regoutparameter() <<Interface>> JDBCStatementHelper JDBCPreparedStatementHelper JDBCHelperFactory getfactory() JDBCHelperFactoryIF getfactory() <<Interface>> JDBCCallableStatementHelper

CodeConverter convertfromdefault() converttodefault() createconverter() CodeConvert8859_1 convertfromdefault() converttodefault() CodeConverterKSC560 1 convertfromdefault() converttodefault() -20-

-21-

-22- SQLFactory createsqlfactory() getsearchsql() AnsiSQLFactory getsearchsql() OracleSQLFactory getsearchsql() MSSQLServerSQL Factory getsearchsql()

-23- : (Cache Management Pattern) 1 Refactoring : :.

-24-

2 GOF : Gang of Four : Design Pattern : the reusable Object 4 GOF Book.. -25-

-26-

-27-

-28-

-29-

-30-

-31-

Box ç ç ç Client uses Facade class1 class2 2. 3 Facade Pattern -32-

Product CreationRequestor operation1() operation2() requests-creation ConcreteProdu ct operation1() operation2() FactoryIF createproduct() Factory createproduct() 3. 4 Factory Method Pattern -33-

Client AbstractStrategy operation() ConcreteStrategy1 ConcreteStrategy2 operation() 4. 5 Strategy Pattern operation() -34-

-35-

??? (Refactoring).,.......,.. -36-

Extract Method. void printowing(double amount) { printbanner(); //printdetails System.out.println( name: +_name); System.out.println( amount: +amount); }, printdetails. void printowing(double amount) { } printbanner(); printdetails(amount); void printdetails(double amount) { } System.out.println( name: +_name); System.out.println( amount: +amount); Extract Method.....,. Refactoring : Improving the Design of Existing Code,1999... -37-

. (Anti-Pattern)......,,.. 6 5. 3 1. 2....(from www.antipatterns.com)...?.. 3. - : - : - : -.. - (Spaghetti Code ) :. - ( Stovepipe System ) :. - (Analysis Paralysis ) : -38-

. - (Swiss Army Knife ) :. - ( Ambiguous Viewpoint ) :.. - Anti Patterns : Refactoring Software, Architectures, and Projects in Crisis,1998 by William J.Brown & - Anti Patterns and Patterns in Software Configuration Management, 1998 by William J.Brown & -39-

1. -40-

5. 6 - System Use Case -41-

6. 7 3 Produce-Consumer Model -42-

-43-7. 8 -

-44-8. 9

-45-9. 10.

- - - -46-

1. 2 : Request Diispatcher Exception -47-

-48-

: RequestDispatcher : ServerSocket : MasterThread : ServerProtocolHandler : ServerProtocolHandlerIF : ObjectInputStream : Command : ObjectOutputStream while loop start while loop end 1: ServerSocket(int) 2: accept( ) 3: MasterThread(Socket) 4: start( ) 5: getinstance( ) 6: getcommand(inputstream) 7: readobject( ) 8: execute( ) 9: send(outputstream, Object) 10: writeobject(object) -49-

-50-

-51-

RequestDispatcher (from server) port : int RequestDispatcher() run() main() MasterThread (from server) $ SOCKET_TIME_OUT : int = 300000 MasterThread() run() -$handler ServerProtocolHa ndlerif (from server) send() getcommand() ServerProtocolHandler (from server) ServerProtocolHandler() getinstance() getcommand() send() Command (from cmd) execute() getname() -52-

: Client : : EchoCommand ClientProtocolHandler : ClientProtocolHandlerIF : Socket : ObjectOutputStream : ObjectInputStream 1: setstring(string) 2: connect( ) 3: Socket(String, int) 4: getinstance( ) 5: sendcommand(inputstream, OutputStream, Command) 6: writeobject(object) 7: readobject( ) -53-

-54-

ServerException (from client) Client $ SOCKET_TIME_OUT : int = 300000 port : int Client() connect() run() main() (from client) ServerException() ServerException() ClientProtocolHandler (from client) ClientProtocolHandler() getinstance() send() receive() sendcommand() EchoCommand (from cmd) setstring() execute() getname() -$handler ClientProtocolHandl erif (from client) Command sendcommand() (from cmd) execute() getname() 4 40. -55-

-56-

-57-

-58-

: RequestDispatcher : ServerSocket : MasterThread : ServerProtocolHandler : ServerProtocolHandlerIF : ObjectInputStream : CommandQueue : Queue : Command : ObjectOutputStream 1: ServerSocket(int) 2: accept( ) 3: MasterThread(Socket) 4: start( ) 5: getinstance( ) 6: getcommand(inputstream) 7: readobject( ) CommandQueue.push, CommandQueue.pop added 8: push(command) 9: push(object) 10: wait() 11: execute( ) 12: send(outputstream, Object) 13: pop( ) 14: pop( ) 15: notify( ) -59-

Invoker AbstractCo mmand Manages 1 doit() 0..n +creator/invoker undoit() 1 CommandManager Creates-and-invokes +invokeeconcreatec ommand 0..n doit() undoit() -60-

-61-