<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="http://rss.egloos.com/style/blog.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
	<title>in_the_groove</title>
	<link>http://ingroove.egloos.com</link>
	<description>두번째 방</description>
	<language>ko</language>
	<pubDate>Fri, 30 May 2008 14:05:53 GMT</pubDate>
	<generator>Egloos</generator>
	<image>
		<title>in_the_groove</title>
		<url>http://pds.egloos.com/logo/1/  </url>
		<link>http://ingroove.egloos.com</link>
		<width>80</width>
		<height>80</height>
		<description>두번째 방</description>
	</image>
  	<item>
		<title><![CDATA[ SOAP ]]> </title>
		<link>http://ingroove.egloos.com/3764736</link>
		<guid>http://ingroove.egloos.com/3764736</guid>
		<description>
			<![CDATA[ 
  http://en.wikipedia.org/wiki/SOAP<br />
<span style="font-weight: bold;"><br />
</span><p><strong class="selflink">SOAP</strong> (see <a href="http://en.wikipedia.org/wiki/SOAP#History" title="SOAP">below</a> for name and origins) is a <a href="http://en.wikipedia.org/wiki/Protocol_%28computing%29" title="Protocol (computing)">protocol</a> for exchanging <a href="http://en.wikipedia.org/wiki/XML" title="XML">XML</a>-based messages over <a href="http://en.wikipedia.org/wiki/Computer_network" title="Computer network">computer networks</a>, normally using <a href="http://en.wikipedia.org/wiki/HyperText_Transfer_Protocol" class="mw-redirect" title="HyperText Transfer Protocol">HTTP</a>/<a href="http://en.wikipedia.org/wiki/HTTPS" class="mw-redirect" title="HTTPS">HTTPS</a>. SOAP forms the foundation layer of the <a href="http://en.wikipedia.org/wiki/Web_services_protocol_stack" title="Web services protocol stack">web services protocol stack</a> providing a basic messaging framework upon which abstract layers can be built.</p>There are several different types of messaging patterns in SOAP, but by far the most common is the <a href="http://en.wikipedia.org/wiki/Remote_Procedure_Call" class="mw-redirect" title="Remote Procedure Call">Remote Procedure Call</a> (RPC) pattern, in which one network node (the <i>client</i>) sends a request message to another node (the <i>server</i>) and the server immediately sends a response message to the client. SOAP is the successor of <a href="http://en.wikipedia.org/wiki/XML-RPC" title="XML-RPC">XML-RPC</a>, though it borrows its transport and interaction neutrality and the envelope/header/body from elsewhere, probably from <a href="http://en.wikipedia.org/wiki/WDDX" title="WDDX">WDDX</a>.<br />
<br />
<h2><span class="mw-headline">History</span></h2><p><b>SOAP</b> once stood for 'Simple Object Access Protocol' but this acronym was dropped with Version 1.2 of the standard, as it was considered to be misleading. Version 1.2 became a <a href="http://en.wikipedia.org/wiki/W3C" class="mw-redirect" title="W3C">W3C</a> Recommendation on <a href="http://en.wikipedia.org/wiki/June_24" title="June 24">June 24</a>, <a href="http://en.wikipedia.org/wiki/2003" title="2003">2003</a>. The acronym is sometimes confused with <a href="http://en.wikipedia.org/wiki/Service-oriented_architecture" title="Service-oriented architecture">SOA</a>, or Service-oriented architecture; however SOAP is quite different from SOA.</p><p>SOAP was originally designed by <a href="http://en.wikipedia.org/wiki/Dave_Winer" title="Dave Winer">Dave Winer</a>, <a href="http://en.wikipedia.org/wiki/Don_Box" title="Don Box">Don Box</a>, Bob Atkinson, and Mohsen Al-Ghosein in <a href="http://en.wikipedia.org/wiki/1998" title="1998">1998</a>, with backing from <a href="http://en.wikipedia.org/wiki/Microsoft" title="Microsoft">Microsoft</a> (where Atkinson and Al-Ghosein worked at the time), as an object-access protocol. The <a href="http://www.w3.org/TR/soap/" class="external text" title="http://www.w3.org/TR/soap/" rel="nofollow">SOAP specification</a> is currently maintained by the <a href="http://en.wikipedia.org/w/index.php?title=XML_Protocol_Working_Group&amp;action=edit&amp;redlink=1" class="new" title="XML Protocol Working Group (page does not exist)">XML Protocol Working Group</a> of the <a href="http://en.wikipedia.org/wiki/World_Wide_Web_Consortium" title="World Wide Web Consortium">World Wide Web Consortium</a>.</p><p><br />
</p><h2><span class="mw-headline">Transport methods</span></h2><p>SOAP makes use of an Internet application layer protocol as a transport protocol. Critics have argued that this is an abuse of such protocols, as it is not their intended purpose and therefore not a role they fulfill well. Backers of SOAP have drawn analogies to successful uses of protocols at various levels for <a href="http://en.wikipedia.org/wiki/Tunneling_protocol" title="Tunneling protocol">tunneling</a> other protocols.<sup class="noprint Template-Fact"><span title="This claim needs references to reliable sources&nbsp;since February 2007" style="white-space: nowrap;">[<i><a href="http://en.wikipedia.org/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed">citation needed</a></i>]</span></sup></p><p>Both <a href="http://en.wikipedia.org/wiki/SMTP" class="mw-redirect" title="SMTP">SMTP</a> and <a href="http://en.wikipedia.org/wiki/HTTP" class="mw-redirect" title="HTTP">HTTP</a> are valid application layer protocols used as Transport for SOAP, but <a href="http://en.wikipedia.org/wiki/HTTP" class="mw-redirect" title="HTTP">HTTP</a> has gained wider acceptance as it works well with today's Internet infrastructure; specifically, HTTP works well with network <a href="http://en.wikipedia.org/wiki/Firewall_%28networking%29" class="mw-redirect" title="Firewall (networking)">firewalls</a>. SOAP may also be used over <a href="http://en.wikipedia.org/wiki/HTTPS" class="mw-redirect" title="HTTPS">HTTPS</a>(which is the same protocol as HTTP at the application level, but usesan encrypted transport protocol underneath) in either simple or mutual authentication; this is the advocated <a href="http://en.wikipedia.org/wiki/WS-I" class="mw-redirect" title="WS-I">WS-I</a> method to provide web service security as stated in the <a href="http://en.wikipedia.org/wiki/WS-I_Basic_Profile" title="WS-I Basic Profile">WS-I Basic Profile</a> 1.1. This is a major advantage over other distributed protocols like <a href="http://en.wikipedia.org/wiki/General_Inter-ORB_Protocol" title="General Inter-ORB Protocol">GIOP</a>/<a href="http://en.wikipedia.org/wiki/IIOP" class="mw-redirect" title="IIOP">IIOP</a> or <a href="http://en.wikipedia.org/wiki/Distributed_Component_Object_Model" title="Distributed Component Object Model">DCOM</a> which are normally filtered by firewalls. <a href="http://en.wikipedia.org/wiki/XML" title="XML">XML</a> was chosen as the standard message format because of its widespread use by major corporations and <a href="http://en.wikipedia.org/wiki/Open_source" title="Open source">open source</a> development efforts. Additionally, a wide variety of freely available <a href="http://en.wikipedia.org/wiki/Software_development_tool" class="mw-redirect" title="Software development tool">tools</a> significantly eases the transition to a SOAP-based implementation..</p><p>The somewhat lengthy <a href="http://en.wikipedia.org/wiki/Syntax" title="Syntax">syntax</a> of <a href="http://en.wikipedia.org/wiki/XML" title="XML">XML</a>can be both a benefit and a drawback. While it promotes readability forhumans, it can retard processing speed and be cumbersome. For example, <a href="http://en.wikipedia.org/wiki/CORBA" class="mw-redirect" title="CORBA">CORBA</a>, <a href="http://en.wikipedia.org/wiki/General_Inter-ORB_Protocol" title="General Inter-ORB Protocol">GIOP</a>, <a href="http://en.wikipedia.org/wiki/Internet_Communications_Engine" title="Internet Communications Engine">ICE</a>, and <a href="http://en.wikipedia.org/wiki/Distributed_Component_Object_Model" title="Distributed Component Object Model">DCOM</a> use much shorter, binary message formats. On the other hand, hardware appliances are available to accelerate processing of <a href="http://en.wikipedia.org/wiki/XML" title="XML">XML</a> messages. <a href="http://www-306.ibm.com/software/integration/datapower/xa35/" class="external autonumber" title="http://www-306.ibm.com/software/integration/datapower/xa35/" rel="nofollow">[1]</a><a href="http://www.research.ibm.com/XML/IBM_Zurich_XML_Accelerator_Engine_paper_2004May04.pdf" class="external autonumber" title="http://www.research.ibm.com/XML/IBM_Zurich_XML_Accelerator_Engine_paper_2004May04.pdf" rel="nofollow">[2]</a>. <a href="http://en.wikipedia.org/wiki/Binary_XML" title="Binary XML">Binary XML</a> is also being explored as a means for streamlining the throughput requirements of XML.</p><p><a name="Technical_critique" id="Technical_critique"></a></p><h2><span class="editsection"></span><span class="mw-headline">Technical critique</span></h2><p>Numerous commentators and specialists have discussed the technical advantages and disadvantages of SOAP relative to alternative technologies, and relative to the context of its intended use.</p><p><a name="Advantages" id="Advantages"></a></p><h3><span class="editsection"></span> <span class="mw-headline">Advantages</span></h3><ul><li>Using SOAP over <b>HTTP</b> allows for easier communication through <a href="http://en.wikipedia.org/wiki/Proxy_server" title="Proxy server">proxies</a> and <a href="http://en.wikipedia.org/wiki/Firewall" title="Firewall">firewalls</a> than previous remote execution technology.</li><li>SOAP is versatile enough to allow for the use of different transport protocols. The standard stacks use HTTP as a transport protocol, but other protocols are also usable (e.g. SMTP, <a href="http://en.wikipedia.org/wiki/RSS" title="RSS">RSS</a>).</li><li>SOAP is platform independent.</li><li>SOAP is language independent.</li><li>SOAP is simple and extensible.</li></ul><p><a name="Disadvantages" id="Disadvantages"></a></p><h3><span class="editsection"></span> <span class="mw-headline">Disadvantages</span></h3><ul><li>Because of the verbose XML format, SOAP can be considerably slower than competing <a href="http://en.wikipedia.org/wiki/Middleware" title="Middleware">middleware</a> technologies such as <a href="http://en.wikipedia.org/wiki/CORBA" class="mw-redirect" title="CORBA">CORBA</a>. This may not be an issue when only small messages are sent<a href="http://www-128.ibm.com/developerworks/library/ws-pyth9/" class="external autonumber" title="http://www-128.ibm.com/developerworks/library/ws-pyth9/" rel="nofollow">[3]</a>. To improve performance for the special case of XML with embedded binary objects, <a href="http://en.wikipedia.org/wiki/MTOM" title="MTOM">Message Transmission Optimization Mechanism</a>was introduced. Further, to improve the performance of XML in general,there are emerging non-extractive XML processing models, e.g., <a href="http://en.wikipedia.org/wiki/VTD-XML" title="VTD-XML">VTD-XML</a>.</li><li>When relying on <a href="http://en.wikipedia.org/wiki/HTTP" class="mw-redirect" title="HTTP">HTTP</a> as a transport protocol and not using <a href="http://en.wikipedia.org/wiki/WS-Addressing" title="WS-Addressing">WS-Addressing</a> or an <a href="http://en.wikipedia.org/wiki/Enterprise_service_bus" title="Enterprise service bus">ESB</a>,the roles of the interacting parties are fixed. Only one party (the client) can use the services of the other. Developers must use <a href="http://en.wikipedia.org/wiki/Polling_%28computer_science%29" title="Polling (computer science)">polling</a> instead of notification in these common cases.</li><li>Most uses of HTTP as a transport protocol are done in ignorance of how the operation would be modelled in HTTP. This is by design (with analogy to how different protocols sit on top of each other in the IPstack) but the analogy is imperfect (because the application protocols used as transport protocols are not really transport protocols).Because of this, there is no way to know if the method used is appropriate to the operation. This makes good analysis of the operation at the application-protocol level problematic at best with results that are sub-optimal (if the POST-based binding is used for an application which in HTTP would be more naturally modelled as a GET operation).</li></ul><br />
<br />
<br />
<br/><br/>tag : <a href="/tag/tech" rel="tag">tech</a>			 ]]> 
		</description>
		<category>tech</category>

		<comments>http://ingroove.egloos.com/3764736#comments</comments>
		<pubDate>Fri, 30 May 2008 14:02:10 GMT</pubDate>
		<dc:creator>ingroove</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Context switch ]]> </title>
		<link>http://ingroove.egloos.com/3685777</link>
		<guid>http://ingroove.egloos.com/3685777</guid>
		<description>
			<![CDATA[ 
  <a href="http://en.wikipedia.org/wiki/Context_switch">http://en.wikipedia.org/wiki/Context_switch</a><br><br>A <b>context switch</b> is the <a title="Computing" href="http://en.wikipedia.org/wiki/Computing">computing</a> process of storing and restoring the <a title="State (computer science)" href="http://en.wikipedia.org/wiki/State_%28computer_science%29">state</a> (<a title="Context (computing)" href="http://en.wikipedia.org/wiki/Context_%28computing%29">context</a>) of a <a title="Central processing unit" href="http://en.wikipedia.org/wiki/Central_processing_unit">CPU</a> such that multiple <a title="Process (computing)" href="http://en.wikipedia.org/wiki/Process_%28computing%29">processes</a> can share a single CPU resource. The context switch is an essential feature of a <a title="Computer multitasking" href="http://en.wikipedia.org/wiki/Computer_multitasking">multitasking</a> <a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system">operating system</a>. Context switches are usually computationally intensive and much of the design of <a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system">operating systems</a> is to optimize the use of context switches. A context switch can mean a register context switch, a task context switch, a <a title="Thread (computer science)" href="http://en.wikipedia.org/wiki/Thread_%28computer_science%29">thread</a> context switch, or a process context switch. What constitutes the context is determined by the processor and the operating system.<br><br><br><h2><span class="mw-headline">When to switch?</span></h2><p>There are three scenarios where a context switch needs to occur.</p><p><a id="Multitasking" name="Multitasking"></a></p><h3><span class="mw-headline">Multitasking</span></h3><p>Most commonly, within some <a title="Scheduling (computing)" href="http://en.wikipedia.org/wiki/Scheduling_%28computing%29">scheduling</a> scheme, one process needs to be switched out of the CPU so another process can run. Within a <a class="mw-redirect" title="Preemptive multitasking" href="http://en.wikipedia.org/wiki/Preemptive_multitasking">preemptive multitasking</a> operating system, the scheduler allows every task to run for some certain amount of time, called its <i><a class="mw-redirect" title="Time slice" href="http://en.wikipedia.org/wiki/Time_slice">time slice</a></i>.</p><p>If a process does not voluntarily yield the CPU (for example, by performing an <a class="mw-redirect" title="Input/Output" href="http://en.wikipedia.org/wiki/Input/Output">I/O</a> operation), a timer interrupt fires, and the operating system schedules another process for execution instead. This ensures that the CPU cannot be monopolized by any one processor-intensive application.</p><p><a id="Interrupt_handling" name="Interrupt_handling"></a></p><h3><span class="mw-headline">Interrupt handling</span></h3><p>Some architectures (like the <a class="mw-redirect" title="Intel" href="http://en.wikipedia.org/wiki/Intel">Intel</a> <a class="mw-redirect" title="X86" href="http://en.wikipedia.org/wiki/X86">x86</a> architecture) are <a title="Interrupt" href="http://en.wikipedia.org/wiki/Interrupt">interrupt</a> driven. This means that if the CPU requests data from a disk, for example, it does not need to <a class="mw-redirect" title="Busy-wait" href="http://en.wikipedia.org/wiki/Busy-wait">busy-wait</a> until the read is over, it can issue the request and continue with some other execution; when the read is over, the CPU can be <i>interrupted</i> and presented with the read. For interrupts, a program called an <i><a title="Interrupt handler" href="http://en.wikipedia.org/wiki/Interrupt_handler">interrupt handler</a></i> is installed, and it is the interrupt handler that handles the interrupt from the disk.</p><p>Clearly, there is a necessity to switch contexts when issuing interrupts - the state of the currently running process must be suspended so that the interrupt handler can be executed.</p><p><a id="User_and_kernel_mode_switching" name="User_and_kernel_mode_switching"></a></p><h3><span class="mw-headline">User and kernel mode switching</span></h3><p>When a transition between <a class="mw-redirect" title="User mode" href="http://en.wikipedia.org/wiki/User_mode">user mode</a> and <a class="mw-redirect" title="Kernel mode" href="http://en.wikipedia.org/wiki/Kernel_mode">kernel mode</a> is required in an operating system, a context switch is not necessary; a mode transition is <i>not</i> by itself a context switch. However, depending on the operating system, a context switch may also take place at this time.</p>			 ]]> 
		</description>

		<comments>http://ingroove.egloos.com/3685777#comments</comments>
		<pubDate>Tue, 01 Apr 2008 18:24:55 GMT</pubDate>
		<dc:creator>ingroove</dc:creator>
	</item>
</channel>
</rss>
