tag:blogger.com,1999:blog-57731270632516755452024-03-06T04:49:33.073+05:30The MirrorAnonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-5773127063251675545.post-70974790199328279022012-05-26T20:58:00.000+05:302012-06-10T13:03:04.342+05:30නුඹට සමු දී...!<div>
<br /></div>
<blockquote style="background-color: white; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 5px; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin: 0px; padding: 0px 15px; text-align: left;">
<blockquote class="tr_bq">
නුඹට සමු දී, අක්බාර් කුටියට යන ගමනේ<br />
නොසිතූ හැඟුමන් සිතට ගලා ආවේ...<br />
<br />
නුඹ නොදන්නිය මා ඇත නුඹ ලඟ<br />
නමුත් මගේ නම එහි ලියැවී ඇත<br />
කෙලෙසද නුඹ මා හඳුනා ගන්නේ<br />
ඔක්කොම ඇත ඔබ ඉදිරියෙ හිඳගෙන<br />
<br />
අප මුන ගැස්සුවේ කාල සටහනයි<br />
එය දැක් වූයේ නුඹේ වෙලාවයි<br />
කොතැනද, නුඹ මා හමු විය යුත්තේ<br />
නොගියොත් නිසි කල, හමු වී හමාරය<br />
<br />
ආලය නොකලේ කම්මැලිය මම<br />
කාලය ගෙවූයේ කඳුලින සතුටින<br />
අවුරුදු හතරක් '<strong>දේශන</strong>' ඔබ මා<br />
බැඳි පෙම අවසන් වී ඇත මෙලෙසින<br />
<br />
නුඹට සමු දී, අක්බාර් කුටියට යන ගමනේ<br />
නොසිතූ හැඟුමන් සිතට ගලා ආවේ....<br />
<br />
~ ඉසුරු ගුණවර්ධන ~</blockquote>
</blockquote>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="background-color: white; float: left; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; margin-right: 1em; text-align: left;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_vgjz9wG6_ZbChAuDZrkmMOf59j2Y2kakDU_QBFugURVbBiTo0Ko7caYmoyy7ai6vy8-FYrcUWyBSn6MtqTIKYwxkXkz8IJ1cin5lojD3zgl40r4xoRIv513m2mVfDERa3IXRrIaM81M/s1600/full.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="133" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_vgjz9wG6_ZbChAuDZrkmMOf59j2Y2kakDU_QBFugURVbBiTo0Ko7caYmoyy7ai6vy8-FYrcUWyBSn6MtqTIKYwxkXkz8IJ1cin5lojD3zgl40r4xoRIv513m2mVfDERa3IXRrIaM81M/s200/full.jpg" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;">Faculty of Engineering, University of Peradeniya</td></tr>
</tbody></table>
<br class="Apple-interchange-newline" />Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com1tag:blogger.com,1999:blog-5773127063251675545.post-30240765489677138462011-09-18T18:05:00.001+05:302011-09-18T18:07:40.867+05:30e-mail check කරන එක වදයක්ද?සමහර අයට e-mail check කරන එක වදයක්. ඒකට හේතුව internet connection එකක් නැති කම වෙන්න පුලුවන් එහෙමත් නැත්නම්, mail account එකට log වෙන්න තියෙන කැම්මැලිකම වෙන්නත් පුලුවන්.<br />
ඒ කොහම උනත් මම මේ කියන්න යන්නේ, ඔබගේ mail account එකට ලැබෙන mail එකක copy එකක් කෙලින්ම ඔබගේ phone එකට ලබා ගත හැකි විදියක් ගැනයි. හැබයි මේ සඳහා ඔබගේ mobile phone එක MMS support කරන phone එකක් වෙන්න ඕනේ.<br />
<a name='more'></a><br />
පහත පියවර අනුගමනය කරන්න...<br />
<br />
go to,<br />
<br />
1. Settings --> Forwarding and POP/IMAP<br />
<br />
then selct follwings from the drop down lists,<br />
2. Forward a copy of incoming mail to +94XXXXXXXXX@mms.dialog.lk / +94XXXXXXXXX@mms.mobitel.lk<br />
<br />
and do not forget to select the follwing option<br />
3. and keep Gamils copy in the Inbox<br />
<br />
<br />
මා ඉහත සඳහන් කලේ Gmail account එකක් සඳහා අවශ්ය තොරතුරුයි. වෙනත් accounts සඳහා settings වලට ගිහින් බැලුවොත් Forwarding and POP/IMAP, option එක හොයා ගන්න පුලුවන් වෙයි.<br />
<br />
මෙහිදී කිව යුතු තව දෙයක් තියෙනව, ඒ තමයි, ඔබට ලැබෙන e-mail එක text content එකක් නම් එය අනිවාර්යෙන් ඔබගේ phone එකට ලැබෙනව...<br />
questions and comments are welcome :)Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com2tag:blogger.com,1999:blog-5773127063251675545.post-67028851236198398102011-08-26T23:51:00.004+05:302011-08-27T00:38:11.091+05:30යක්ගහපිටියේ බසයෙයි ඈ නැගී ගියේ<div style="text-align: center;"><span class="Apple-style-span">
<br /></span></div><div style="text-align: center;"><span class="Apple-style-span">හිත ගිය ලඳක් දුටුවා මා town එකේ</span></div><div style="text-align: center;"><span class="Apple-style-span">පසු පස ගියත් නෑසුනි මට කතා ඇගේ</span></div><div style="text-align: center;"><span class="Apple-style-span">සිනහව පමණයි දුටුවේ මා අගේ මුවේ</span></div><div style="text-align: center;"><span class="Apple-style-span">යක්ගහපිටිය බසයෙයි ඈ නැගී ගියේ....</span></div><div style="text-align: center;">
<br /></div><div>
<br /></div><div><div> <i><span class="Apple-style-span"> මේ පද පේලි හතර වෙනුවෙන් post එකක් දාන්නෙ ඇයි කියල ඔයාලට හිතෙන්න පුලුවනි. ඒකට හේතුව තමයි මේ කවිය අහම්බෙන් ලියැවුනු කවියක්.</span></i></div><div><i><span class="Apple-style-span">
<br /><a name='more'></a>
<br /></span></i></div><div><i><span class="Apple-style-span"> Campus ගිය අලුතම මමයි මගෙ යහලුවෙකුයි ගියා පොඩ්ඩක් නුවර town එකේ ඇවිදල කරල එන්න. දන්නේ නැද්ද ඉතින්.... campus එකටම කොටු වෙලා හිටියොත් එකේ ඉන්න කෙල්ලො ලස්සනයි කියල අපේ ඇස් රැවටෙන්න පුලුවන්නෙ. (ලිඳේ ඉන්න ගෙම්බගෙ ලෝකේ ලිඳ විතරයිලුනේ). ඉතින් සාමාන්යයෙන් අපි මාසෙකට සැරයක්වත් පොඩි රවුමක් ගහන්න යනව. මේ එහෙම ගිය පළමු වතාව.</span></i></div><div><i><span class="Apple-style-span"> ඔහොම town එකේ යන අතරෙ ඔන්න ඔය කවියෙ කියවෙන කෙල්ලව මම දැක්කෙ අහම්බෙන්. මමයි මගෙ යහලුවයි ඒ කෙල්ල පිටි පස්සෙන්ම ගියා. කොච්චර දුර ගියාද කියනව නම් අන්තිමට අපි නැවතුනේ, යක්ගහපිටිය bus ගහන තැන. ඒ වෙලාවෙ අපිට bus එකට නැගල පස්සෙන් යන්න තරම් උවමනාවක් තිබුනෙ නැහැ. ඉතින්</span></i><i><span class="Apple-style-span"> ඒ වෙනුවට ආපහු campus එකට එන අතරෙ, ඔය පද පේලි ටික ගලප ගන්න මට පුලුවන් උනා. ඇතතටම කියනව නම් ඒ පද ටික ලස්සනට ඉබේම ගැලපුනා. මම ඊට කලින් කවි ලියන්න වත් හිතපු කෙනෙක් නෙවෙයි. ඉතින් කොකටත් කියල Akbar එකට ගිහින් ඔය පද පේලි ටික මම සටහන් කරගෙන තියා ගත්ත. ඔන්න එදා ඒ සටහන් වුන දේ එලියට ආවෙ මේ blog post එකෙන්....!</span></i></div></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com6tag:blogger.com,1999:blog-5773127063251675545.post-50104632719651356932011-08-21T09:29:00.008+05:302011-08-27T22:37:30.158+05:30Hibernate<div><div><div>මේ දවස් වල <a href="http://en.wikipedia.org/wiki/Hibernate_(Java)">Hibernate</a> පොඩ්ඩක් ඉගෙන ගන්න chance එකක් හම්බ උනා. ඉතින් නවකයෙක් හැටියට මම දැන ගත්තු දෙයින් බිඳක් ඔබත් එක්ක blog එකේ බෙදා ගන්න හිතුන.</div><div>
<br /></div><div>ඇත්තටම Hibernate කියන වචනෙ අහපු දවසෙ මම හිතුවෙ මේ අපි කවුරුත් දන්න compute eke hibernate කරන එක කියල. නෑ මම මේ කියන්න යන්නෙ java classes සහ database tables, map කරන්න පාවිච්චි කරන Hibernate කියන <a href="http://en.wikipedia.org/wiki/Object-relational_mapping">object-relational mapping(ORM)</a>, library එක ගැනයි.</div><div>
<br /></div><div>Hibernate use නොකර database එකට data enter කරන්න නම් <a href="http://en.wikipedia.org/wiki/Query_language"><span class="Apple-style-span">Query</span> Language</a> එකක් use කරන්න වෙනව. නමුත් Hibernate මේ වැඩ ටික හරිම පහසුවෙන් අපිට කරල දෙනව කියුවොත් එකේ වැරද්දක් නැහැ.</div></div></div><div>
<br /></div><div><div>අපි උදාහරණයක් අරගෙන බලමු.</div><div>
<br /></div><div>හිතන්න database එකේ තියෙනව table එකක් Students කියල. එකේ fields තියෙනව AdmissionNo, Name, Grade කියල. අපි <a href="http://en.wikipedia.org/wiki/SQL">sql</a> use කරනව නම්,</div><div><i><span class="Apple-style-span">INSERT INTO STUDENTS (AdmissionNo, Name, Grade) VALUES (121, "Nimal", "5")</span></i></div><div>කියන statement එක execute කරන්න ඕනෙ.</div><div>
<br /></div><div>නමුත් Hibernate use කරනව නම් අපිට මේක පහසුවෙන් කර ගන්න පුලුවන්. එහිදී අපිට අවශ්ය වන්නෙ student කියල java object එකක් හද ගන්න විතරයි. ඊට පස්සෙ අපිට පහත පරිදි ඒ object එක database එකට save කර ගන්න පුලුවන්.</div><div>
<br /></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><i><span class="Apple-style-span"><a href="http://download.oracle.com/javaee/1.4/api/index.html">transaction</a>.begin();</span></i></div><div><i><span class="Apple-style-span"><span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://download.oracle.com/javaee/5/api/javax/persistence/EntityManager.html">entityManager</a>.persist(studentObject);</span></i></div><div><i><span class="Apple-style-span"><span class="Apple-tab-span" style="white-space:pre"> </span>transaction.commit();</span></i></div><div>
<br /></div><div><div>database එක table එක define කරන්නේ persistence.xml කියල file එකක. මීට අමතරව JPA එහෙමත් නැතිනම්, Java Persistence API use කරනව නම් database එක table එක annotations use කරල class එක ඇතුලෙදිම define කරගන්න පුලුවන්.</div><div>
<br /></div><div>Hibernate ගැන වැඩි දෙයක් කියන්න තරම් මට ලොකු දැනුමක් නැහැ. නමුත් Hibernate ගැන පොඩි අදහසක් ගන්න මේ ටික ඇති කියල මා හිතනව...</div></div></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com1tag:blogger.com,1999:blog-5773127063251675545.post-57873876923478064372011-08-20T20:50:00.008+05:302011-08-28T09:03:36.548+05:30You Name it<br />
<div><br />
<div><br />
<div><br />
<div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><br />
<div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-UYIp6VFKLE3phPMOwQqGuwR6MQbP0iL_j6i35Pg11sbVb4brj8B4o5ER77O9QPTSXNvZlgewxo5Ec6NxW2lsj1QnqT4MbU4kdh34JfGR7b9Bk_6rDhnObIRg8bnDY3RqDviz1T2mKuE/s1600/IMG_4075.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642929708964605570" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-UYIp6VFKLE3phPMOwQqGuwR6MQbP0iL_j6i35Pg11sbVb4brj8B4o5ER77O9QPTSXNvZlgewxo5Ec6NxW2lsj1QnqT4MbU4kdh34JfGR7b9Bk_6rDhnObIRg8bnDY3RqDviz1T2mKuE/s400/IMG_4075.JPG" style="cursor: pointer; height: 400px; width: 300px;" /></a></div><br />
<div style="text-align: center;"><br />
<div style="text-align: center;"><span class="Apple-style-span"><i> <br />
</i></span></div></div></div><br />
<div style="text-align: center;"><br />
</div></div></div></div><br />
<div style="text-align: center;"><br />
<a name='more'></a><br />
</div><br />
<div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy-F0KqKvUjnwozXdc6NM_iLbcR5UQG0BUKA0lC3DcT7mrGOGH55jCLoqpekJ0hWhQACUUCO-Awx1RzV7-GqGeg7H7mo3usldNRwPrtKBcxpSrdkQ1cvyoUcSGtnEWUgY713K3cHGbuv4/s1600/IMG_4154.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642929714719233154" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy-F0KqKvUjnwozXdc6NM_iLbcR5UQG0BUKA0lC3DcT7mrGOGH55jCLoqpekJ0hWhQACUUCO-Awx1RzV7-GqGeg7H7mo3usldNRwPrtKBcxpSrdkQ1cvyoUcSGtnEWUgY713K3cHGbuv4/s400/IMG_4154.JPG" style="cursor: pointer; height: 300px; width: 400px;" /></a></div><br />
<div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><br />
<br />
</div><br />
<div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><br />
</div><br />
<div style="text-align: center;"><br />
<div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgytUFilS-qE3VtyyQnIL1BieX54nCT2Zwjcte0FyVXJ5Dw2c3u7c-vtRKXGSmwogmUESLUSRlQCUwo6Teh8WtQlHrvvRptQ_Yjb8TqKehFmsVtSQpvKTxxEUwCAhqrpxaqp6xf2dQT2JY/s1600/DSC02039.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642905759260916658" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgytUFilS-qE3VtyyQnIL1BieX54nCT2Zwjcte0FyVXJ5Dw2c3u7c-vtRKXGSmwogmUESLUSRlQCUwo6Teh8WtQlHrvvRptQ_Yjb8TqKehFmsVtSQpvKTxxEUwCAhqrpxaqp6xf2dQT2JY/s400/DSC02039.JPG" style="cursor: pointer; height: 300px; width: 400px;" /></a></div><br />
<div></div></div><br />
Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com0tag:blogger.com,1999:blog-5773127063251675545.post-74309787149202405762011-08-20T20:49:00.014+05:302011-08-28T09:04:26.008+05:30Textures<div style="text-align: center;">Textures</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBoveGm14mdY1zhIXCBlZ_171rJ1WG0COV-1C1no5L_Yv0Lhi9NFyxa58nMWZiVXt-0HyAqPmAOfWn0PWlSeUP07ycoM4chys-N5Vf6QrFMTP52cfFHNOUc1U-PQmQRf-8hLLQQJ9KDrg/s1600/DSC02225.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642905768009870034" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBoveGm14mdY1zhIXCBlZ_171rJ1WG0COV-1C1no5L_Yv0Lhi9NFyxa58nMWZiVXt-0HyAqPmAOfWn0PWlSeUP07ycoM4chys-N5Vf6QrFMTP52cfFHNOUc1U-PQmQRf-8hLLQQJ9KDrg/s400/DSC02225.JPG" style="cursor: pointer; height: 300px; width: 400px;" /></a></div><div style="text-align: center;"><span class="Apple-style-span"><i> <br />
</i></span></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxWP1_eKImTyc_973Pt3XwXwHZ9QHy15L-yTuSc6BYe_HCOk7IXz10wL_6-0eXz0TQiNFc8obokjFxa0njnPB1vZCZcKL99ojk3xBykCoJ4kajRizLoKfr4n0ZaWzkRK3FI1_BqOzmuFU/s1600/DSC02072.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642905763640872482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxWP1_eKImTyc_973Pt3XwXwHZ9QHy15L-yTuSc6BYe_HCOk7IXz10wL_6-0eXz0TQiNFc8obokjFxa0njnPB1vZCZcKL99ojk3xBykCoJ4kajRizLoKfr4n0ZaWzkRK3FI1_BqOzmuFU/s400/DSC02072.JPG" style="cursor: pointer; height: 300px; width: 400px;" /></a></div><div style="text-align: center;"><span class="Apple-style-span"><i> <br />
</i></span></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com0tag:blogger.com,1999:blog-5773127063251675545.post-59694483995008221722011-08-20T20:49:00.013+05:302011-08-28T09:04:01.725+05:30Morning Views<div><br />
</div><div><div style="text-align: center;"><br />
</div><div style="text-align: center;">Morning Views</div><div style="text-align: center;"><span class="Apple-style-span" style="color: #666666;"><b><a a="" href="" morning="" name="morningviews" views=""></a></b></span></div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTNZE7m3Q8x8N21s6t-pPa8SvkVKesRQbnGU1gnt8DR5UjSKzYA_9hs4C1GAlgso-y2uG1REFQ4ItFnjptwrzn8QNaulZQzaK_UJiXA3Ji3XzdfQ_wPzE4_bAKbXASWSesU2O4atutm3c/s1600/IMG_4048.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642910295316549874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTNZE7m3Q8x8N21s6t-pPa8SvkVKesRQbnGU1gnt8DR5UjSKzYA_9hs4C1GAlgso-y2uG1REFQ4ItFnjptwrzn8QNaulZQzaK_UJiXA3Ji3XzdfQ_wPzE4_bAKbXASWSesU2O4atutm3c/s400/IMG_4048.JPG" style="cursor: pointer; display: block; height: 300px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;" /></a><br />
<div style="text-align: center;"><span class="Apple-style-span"><i>Someone misses the morning view</i></span></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg834OsZnvf2eCdWRHKj1HS3sB5wE5mosF-UQ-QV2XG4IEap5_GD3kKzOv0TJiu5GCe3MSi2A2zXLTEhTHHrA0MnozwveIlICjVmViRhQ74kAQVQU0YPMKZGSpEpt9gofYyrmNFsddF3w/s1600/IMG_4040.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642910290888917682" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg834OsZnvf2eCdWRHKj1HS3sB5wE5mosF-UQ-QV2XG4IEap5_GD3kKzOv0TJiu5GCe3MSi2A2zXLTEhTHHrA0MnozwveIlICjVmViRhQ74kAQVQU0YPMKZGSpEpt9gofYyrmNFsddF3w/s400/IMG_4040.JPG" style="cursor: pointer; display: block; height: 400px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 300px;" /></a><br />
<div style="text-align: center;"><span class="Apple-style-span" style="color: #666666;"><i>A bird & the morning Sun</i></span></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
<a name='more'></a><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDxiPEc1An8punimBKVHwGGZ3HQzyml3bSrDIpC9eRw76SPn57eBHJNz5MFD_2M9gdmQzs-4Ch4gjTWYG_LHoN7TKTeBkLa4D86vHY-HB5gRFKQQllhQZyUEA7TSIS10XHb32FSdEGAU/s1600/IMG_4034.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642910286366285906" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDxiPEc1An8punimBKVHwGGZ3HQzyml3bSrDIpC9eRw76SPn57eBHJNz5MFD_2M9gdmQzs-4Ch4gjTWYG_LHoN7TKTeBkLa4D86vHY-HB5gRFKQQllhQZyUEA7TSIS10XHb32FSdEGAU/s400/IMG_4034.JPG" style="cursor: pointer; display: block; height: 400px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 300px;" /></a><br />
<div style="text-align: center;"><span class="Apple-style-span" style="color: #666666;"><i>A bird & the morning Sun</i></span></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvO-dLSLWaVzE9nrn-hww2Lfn57M_sDE_8elz7EXoUFyzt59vxxEaygLV7PQdndwaQbs3QVX-STN0E5EdrP08KVEDAEgr3EjWXKU2SWbrexfNfHcTUMvrIACwXguuKypwfe87yEla_NjM/s1600/IMG_4033.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642910281867617794" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvO-dLSLWaVzE9nrn-hww2Lfn57M_sDE_8elz7EXoUFyzt59vxxEaygLV7PQdndwaQbs3QVX-STN0E5EdrP08KVEDAEgr3EjWXKU2SWbrexfNfHcTUMvrIACwXguuKypwfe87yEla_NjM/s400/IMG_4033.JPG" style="cursor: pointer; display: block; height: 300px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;" /></a><br />
<div style="text-align: center;"><span class="Apple-style-span" style="color: #666666;"><i>A bird & the morning Sun</i></span><span class="Apple-style-span" style="color: #666666;"><i></i></span></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com0tag:blogger.com,1999:blog-5773127063251675545.post-42618117053390678632011-08-20T20:47:00.006+05:302011-08-28T09:04:41.925+05:30I miss you<div><div style="text-align: center;"><i>I miss you</i></div><div style="text-align: left;"><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-q0QOFMWu8ZAoKXlqS3SIXJBJFT5yRKyp3RhWYfJCQUHuHGVWd7GUPLZ5-q9m1zDYzOVh1zjl1QnOafhrd0CUeLQOioFRsXhzCprZgfmabpEU0WLR3JjOZHopStKMYvLYoouyy2q1g_E/s1600/DSC00183.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642905758805425874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-q0QOFMWu8ZAoKXlqS3SIXJBJFT5yRKyp3RhWYfJCQUHuHGVWd7GUPLZ5-q9m1zDYzOVh1zjl1QnOafhrd0CUeLQOioFRsXhzCprZgfmabpEU0WLR3JjOZHopStKMYvLYoouyy2q1g_E/s400/DSC00183.JPG" style="cursor: pointer; height: 300px; width: 400px;" /></a></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div><br />
</div></div></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com0tag:blogger.com,1999:blog-5773127063251675545.post-22485511307642088742011-08-20T15:33:00.016+05:302011-08-28T09:05:19.572+05:30Rising Sun<div style="text-align: center;"><b> <br />
</b></div><div style="text-align: center;">Rising Sun</div><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7iSDOkafiXlQLBGsv-e_IyDk2GQ7ruE3ElWDaBHko5e1r9MkP3N06EEIqbd9SfzpOnp1mc4mVXqJkp2y8KENQaW_TIMd0G-46MXktxmRz9weQW_4G3406XWUwN5-KvxryykEvm3t9GaA/s1600/P1090454.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642929733282573362" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7iSDOkafiXlQLBGsv-e_IyDk2GQ7ruE3ElWDaBHko5e1r9MkP3N06EEIqbd9SfzpOnp1mc4mVXqJkp2y8KENQaW_TIMd0G-46MXktxmRz9weQW_4G3406XWUwN5-KvxryykEvm3t9GaA/s400/P1090454.JPG" style="cursor: hand; cursor: pointer; height: 300px; width: 400px;" /></a></div><div style="text-align: center;"><i> <br />
</i></div><div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilHXAwkMnGxpmVJI8oRKEGyvmvEv4c-sMhHq1PEFaxIXZLE0Xb7FgWXbJ0AYijZBnrZY2GD8kfx0dJZ8otul-umY2OqI34PU_8m4i-w6kC4DgZ9ymWbBekUmvlXmRkV-h1ArUMRivnFWQ/s1600/P1090451.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642929728101780066" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilHXAwkMnGxpmVJI8oRKEGyvmvEv4c-sMhHq1PEFaxIXZLE0Xb7FgWXbJ0AYijZBnrZY2GD8kfx0dJZ8otul-umY2OqI34PU_8m4i-w6kC4DgZ9ymWbBekUmvlXmRkV-h1ArUMRivnFWQ/s400/P1090451.JPG" style="cursor: hand; cursor: pointer; height: 400px; width: 300px;" /></a></div><div style="text-align: center;"><i> <br />
</i></div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><br />
</div><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFGcNNe8SMyuUNQM2UYNfYDPS84wwZJU3bvHyWPEmjUD94JfCBPpn2P8fSiRIlFkwfoTLTARGERkXiZjtEK2BXVv85BKNFAT0te_zZyexUfoTkGVk-28TjGkZ9YQuIQXh_J5i_qN3DxFY/s1600/P1090450.JPG"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5642929724299670418" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFGcNNe8SMyuUNQM2UYNfYDPS84wwZJU3bvHyWPEmjUD94JfCBPpn2P8fSiRIlFkwfoTLTARGERkXiZjtEK2BXVv85BKNFAT0te_zZyexUfoTkGVk-28TjGkZ9YQuIQXh_J5i_qN3DxFY/s400/P1090450.JPG" style="cursor: hand; cursor: pointer; height: 300px; width: 400px;" /></a></div><div style="text-align: center;"><i><span class="Apple-style-span">Rising Sun and the Canoe</span></i></div><div style="text-align: center;"><br />
</div></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com0tag:blogger.com,1999:blog-5773127063251675545.post-73745228141665921922011-08-20T15:30:00.001+05:302011-08-20T21:37:25.980+05:30First days in University Life<div>
<br /></div><div>
<br /></div><div>
<br /></div><div>
<br /></div><div style="text-align: left;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div style="text-align: center;"><i><b><span class="Apple-style-span" style="color: rgb(68, 68, 68); ">...First days in University Life...</span></b></i></div></div></div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: inherit;"><i><b><span class="Apple-style-span" style="color: #eeeeee;">
<br /></span></b></i></span></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i><span class="Apple-style-span" style="color: #eeeeee;"> </span>Parents are no near</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> Colleagues are not clear</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> unfamiliar faces every where</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> all these make me lonely here</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> The unforgettable face</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> which I like to see always</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> comes to me only in dreams</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> But she creates smile in my face</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> Waiting for the rising of Sun</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> wondering whether it is Friday</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> No.., there are some days more</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> to hear that I can go home</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> The sun has risen and called, it's Friday</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> everyone knows what our smiles say</i></span></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><i> best meals are prepared for us, today</i></div></div><div style="text-align: justify;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><i> We all are waiting to fly away.....</i></div></div><div style="text-align: left;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: inherit;"><i> </i></span></div></div><div style="text-align: left;"><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i> ( 2008 at University )</i></span></div><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div><div style="text-align: center;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; "><span class="Apple-style-span" style="font-family: inherit;"><i>
<br /></i></span></div></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com2tag:blogger.com,1999:blog-5773127063251675545.post-55528773265088438812011-08-20T15:26:00.000+05:302011-08-20T15:27:16.947+05:30Love and Lust<div style="text-align: center;"><b><i><span class="Apple-style-span" style="color: rgb(102, 102, 102); ">...Love</span> <span class="Apple-style-span" style="color: #cccccc;">and </span><span class="Apple-style-span" style="color: red;">Lust..<span class="Apple-style-span">.</span></span></i></b></div><div style="text-align: center;"><b><u>
<br /></u></b></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>Starting with</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>the same</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>but, meaning</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>two opposite</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>One is white,</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>and the</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>other one is black</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>So the</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>mixture of</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>black and white</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>will make</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>grey....,</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>but no more</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>white.</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>You'll</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>never find</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>the "<b>pure love</b>"</i></span></div><div style="text-align: center;"><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>in it...</i></span>
<br /><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>
<br /></i></span>
<br /><span class="Apple-style-span" style="color: #444444; font-family: inherit;"><i>( 2005 )</i></span></div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com0tag:blogger.com,1999:blog-5773127063251675545.post-30321364938649257082011-08-14T17:03:00.020+05:302011-08-20T22:20:21.500+05:30Web Service<span style="FONT-STYLE: italic; COLOR: rgb(102,102,102)">Hi guys,</span>
<br /><span style="FONT-STYLE: italic; COLOR: rgb(102,102,102)">After some time I feel to write some thing here. This time I write my experiences and the knowledge I gain during my intern period. Now a days I am working at Cambio Healthcare Systems, Colombo 03.</span>
<br /><span style="FONT-STYLE: italic; COLOR: rgb(102,102,102)">So I am sharing my experience here. Hope there's something you to get. </span>
<br />
<br />
<br />
<br /><div style="TEXT-ALIGN: center">
<br /><p><b><u>What is a Web Service</u></b></p></div>
<br /><p>A Web service contains some classes, interfaces, enumerations and structures which provide black box functionality to remote clients. Lets call that as a business object that execute unit of work (e.g. - Adding two numbers). So when client needs to get done the addition, he just send SOAP request over HTTP with two numbers, then WS(Web Service) sends back the result a, SOAP response, over HTTP. In WS, <a href="http://en.wikipedia.org/wiki/XML">XML</a> (Extensible Markup Language) is used to code & decode data and SOAP (Simple Object Access Protocol) to let applications exchange information over HTTP.</p>
<br /><a name='more'></a>
<br /><p>In ws <a href="http://www.blogger.com/post-edit.g?blogID=5773127063251675545&postID=3032136493864925708#xml">XML</a>, <a href="http://www.blogger.com/post-edit.g?blogID=5773127063251675545&postID=3032136493864925708#soap">SOAP</a>, <a href="http://www.blogger.com/post-edit.g?blogID=5773127063251675545&postID=3032136493864925708#wsdl">WSDL</a> and <a href="http://www.blogger.com/post-edit.g?blogID=5773127063251675545&postID=3032136493864925708#uddi">UDDI</a> are the main things to consider. These are the protocols, languages and directory service used in web service. So let us see what's their role in web service.</p>
<br /><p><a href="http://en.wikipedia.org/wiki/XML">XML</a> - Stands for Extensible Markup Language and this markup language is much like HTML. This language is designed to transport and store data, and xml is self-descriptive.</p>
<br /><p><a href="http://en.wikipedia.org/wiki/Simple_Object_Access_Protocol"></a><a name="soap">SOAP</a> - Stands for Simple Object Access Protocol: This is a communication protocol format for sending messages, and this is designed to communicate via internet and SOAP is platform independent as well as language independent. SOAP is based on XML and it is simple and extensible.</p>
<br /><p><a href="http://en.wikipedia.org/wiki/Web_Services_Description_Language"></a><a name="wsdl">WSDL</a> - Stands for Web Service Description Language. This is also based on XML, and used to describe and locate the web services.</p>
<br /><p><a href="http://en.wikipedia.org/wiki/UDDI"></a><a name="uddi">UDDI</a> - Stands for Universal Description, Discover and Integration. This is a directory service where companies can register and search for web services. The directories for storing information about web services. The communication to UDDI is done via SOAP.</p>
<br /><p>I think that is enough to get and idea about the protocols and languages uses in web services. Now let us see, how these things get together and make a web service.</p>
<br /><p>
<br /></p><p>
<br /></p><div style="TEXT-ALIGN: center"><p><u><b>How Web Service - Client works?</b></u></p></div>
<br /><p>
<br /></p>
<br /><p style="TEXT-ALIGN: center; CLEAR: both" class="separator"><a style="MARGIN-LEFT: 1em; MARGIN-RIGHT: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht-IUMiVlgm7dsmBSdztbCvyWskB6oaGSfLCZ8vn66jOSWXJBtRcquqv0x2ofmpapLtzv_wrjqAhnyWF8vlVBOJNV8CQ1VNBgAzvbVwRjNfL09Uiebvlg3qPHTnswSMTA6o9qbQbhT3dM/s1600/WebService-Client.jpg"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht-IUMiVlgm7dsmBSdztbCvyWskB6oaGSfLCZ8vn66jOSWXJBtRcquqv0x2ofmpapLtzv_wrjqAhnyWF8vlVBOJNV8CQ1VNBgAzvbVwRjNfL09Uiebvlg3qPHTnswSMTA6o9qbQbhT3dM/s640/WebService-Client.jpg" width="640" height="480" /></a></p>
<br /><p>The above picture clearly shows you, that how a client get done something from a web service.</p>
<br /><p>Further more I will explain how does the client invoke web service in the web server.In step 4. web server sends the wsdl file which contains all the details about the required web service. That is why it is called web service description language. So according to that, the client can send a SOAP request (Step 5) using HTTP to invoke the method which he wants to invoke. Then it replied with the SOAP response using HTTP.</p>
<br /><p>The next thing we should understand in web service is <a href="http://en.wikipedia.org/wiki/Method_stub">STUB</a>. </p>
<br /><p>Imagine our web service gives the addition when a client gives two integers</p><p>
<br /></p><div><p><span class="Apple-style-span"> int add(int a, int b){</span></p></div><div style="font-family:';color:#666666;"><p><span class="Apple-style-span"> return a+b;</span></p><p><span> }</span></p></div>
<br /><p>Web services can be created using two methods: top-down development and bottom-up development. Bottom-up Web services development involves creating a Web service from a Java™ bean or enterprise bean.</p>
<br /><p>When creating a Web service using a bottom-up approach, first thing we should do is creating the <a href="http://en.wikipedia.org/wiki/JavaBean">JavaBean</a> or <a href="http://en.wikipedia.org/wiki/Ejb">EJB</a> bean and then create the WSDL file and Web service. Actually most of the IDEs facilitate a wizard to generate this WSDL file based on the written java bean.</p>
<br /><p>Going back to our example, in WSDL file the method 'add' is described. Then using this wsdl file we need to generate the software called <a href="http://en.wikipedia.org/wiki/Method_stub">stub</a>. The good news is that there are plenty of tools available (as I mentioned earlier) that will generate client stubs based on the WSDL file of the web service.</p>
<br /><p>Further more though there are lot of protocols and languages floating around, Web Services programmers usually never write a single line of SOAP or WSDL. Once we've reached a point where our client application needs to invoke a Web Service, we hand over that task the <a href="http://en.wikipedia.org/wiki/Method_stub">STUB</a> .</p>
<br /><p>So in our example, the client stub which was generated based on wsdl, facilitates to invoke the 'add' method in the web service, through a method which accepts two integers.</p>
<br /><p>The following diagram shows you clearly that, what is the role of the stub in the play of Web Service</p>
<br /><p style="TEXT-ALIGN: center; CLEAR: both" class="separator"><a style="MARGIN-LEFT: 1em; MARGIN-RIGHT: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaSMfbX7yg7fZOD5b1jsQgiwon3rEtoNqnKUDGp_lO_KQU3aWPn_mrLLUhwkMcs0Yvx3qArKFVHTR9SJ6TtowqdJhXQf4kSoOoy0_U5ecs0_Kcpj1n1VshU6cfpEDlB6gqBnYD8izyTPI/s1600/WebService-Client-Stub.jpg"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaSMfbX7yg7fZOD5b1jsQgiwon3rEtoNqnKUDGp_lO_KQU3aWPn_mrLLUhwkMcs0Yvx3qArKFVHTR9SJ6TtowqdJhXQf4kSoOoy0_U5ecs0_Kcpj1n1VshU6cfpEDlB6gqBnYD8izyTPI/s640/WebService-Client-Stub.jpg" width="640" height="480" /></a></p>
<br /><p>1. When client needs to invoke the web service, it calls the client stub. The client stub will turn this local invocation into a proper SOAP request. This is called marshaling or serializing process.</p>
<br /><p>2. The SOAP request is sent over a network using HTTP. Web service container receives SOAP request and hand over to the server stub. Server stub converts the SOAP request in to something the server implementation can understand. This is called un-marshaling or de-serializing .</p>
<br /><p>3. Service implementation receives the request from the server stub and carries out the work it has been asked to [ int add(int a, int b) ].</p>
<br /><p>4. Result of the requested operation is handed to the server stub which will turn in to a SOAP response.</p>
<br /><p>5. SOAP response is sent over a network using HTTP. Client stub receives the SOAP response and turn in to something the client application can understand.</p>
<br /><p>6. Finally the application receives the result of the web service invocation.</p>
<br /><span style="FONT-STYLE: italic; COLOR: rgb(102,102,102)">This is where I work,</span>
<br />
<br /><iframe height="350" marginheight="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=cambio+healthcare+systems,+deal+place,+colombo+03,+sri+lanka&aq=&sll=6.912112,79.8246&sspn=0.093216,0.154324&ie=UTF8&hq=cambio+healthcare+systems,+deal+place,&hnear=Kollupitiya,+Colombo,+Western+Province,+Sri+Lanka&ll=6.906787,79.852935&spn=0.01112,0.01929&z=14&iwloc=A&cid=8800111819974723668&output=embed" frameborder="0" width="425" marginwidth="0" scrolling="no"></iframe>
<br /><small><a style="TEXT-ALIGN: left; COLOR: rgb(0,0,255)" href="http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=cambio+healthcare+systems,+deal+place,+colombo+03,+sri+lanka&aq=&sll=6.912112,79.8246&sspn=0.093216,0.154324&ie=UTF8&hq=cambio+healthcare+systems,+deal+place,&hnear=Kollupitiya,+Colombo,+Western+Province,+Sri+Lanka&ll=6.906787,79.852935&spn=0.01112,0.01929&z=14&iwloc=A&cid=8800111819974723668">View Larger Map</a></small>
<br /><span style="FONT-STYLE: italic; COLOR: rgb(102,102,102)">And I should be Thankful to Mr. Lakshiri Dasun (Software Engineer) who is my supervisor at Cambio+.</span>
<br />
<br />Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com1tag:blogger.com,1999:blog-5773127063251675545.post-55737547248213692822011-06-04T15:46:00.008+05:302011-08-28T08:58:05.856+05:30The equation of life<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZTC-x65zXh-rphi8bJXVCoNR9Q3PnmJ0axJsrJiZDDMKJVf1bOqbhovr52BSzyDMoKPK4DCuz6tB5dX8C1job8NpfxJpxvEr_OxCvEtsBNdJIKkeiM6tbHE9FbjTHlXZZ_l_NTuXIx30/s1600/LifeNew.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5638150356455851506" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZTC-x65zXh-rphi8bJXVCoNR9Q3PnmJ0axJsrJiZDDMKJVf1bOqbhovr52BSzyDMoKPK4DCuz6tB5dX8C1job8NpfxJpxvEr_OxCvEtsBNdJIKkeiM6tbHE9FbjTHlXZZ_l_NTuXIx30/s400/LifeNew.jpg" style="cursor: pointer; float: left; height: 76px; margin: 0pt 10px 10px 0pt; width: 229px;" /></a> <br />
<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Equation of Life.. එහෙමත් නතිනම් "ජීවිතයේ සමීකරණය" මගේ ඔලුවට ඉබේ පහල වූවක් නම් නොවෙ. මා හිතන විදියට මේ සමීකරණයේ පෙනෙන දෙයට එහා ගිය දේවල් කිහිපයක්ම තිබෙනවා. ඒ නිසාම තමයි මම මේ ගැන කියල post එකක් දාන්න ඕන කියල හිතුවේ, මොකද මේ සමීකරණය තුල ගැබ් වී ඇති දෙය ඔබත් මාත් මේ වන තෙක් අවබෝධ කරගෙන නොමැති නිසාවෙනි. මේ Equation එක මගේ නෙත ගැටුනේ පේරාදෙනිය විශ්ව විද්යාලයේ, ඉංජිනේරු පීඨයට යාබදව පිහිටි අක්බාර් නේවාසිකාගාරයේ room එකක දොරක ලියා තිබීය දීය. <br />
<a name='more'></a><br />
<div><br />
</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>මෙය කවුරු විසින් කා හට ලියූවූවක්ද..?</div><div>අවුරුදු 4ක degree එකකට හිර වෙලා පොත් සිය ගනනක් අතරේ අතරමං වෙලා, හිස් කොල නැතිනම් හිස් පොත් පුරවන්න තැත් කරන අතරතුර ඉඳහිට ලැබෙන නිවාඩුවකට ගෙදර යද්දි හමුවන පාසල් කාලයේ Campus එන්න ලකුණු මදිවුන job කරන යහලුවෙක් හමූවී, "හලෝ මචං! සෑහෙන කාලෙකට පස්සෙ නේද හම්බවුනෙ , වරෙන් යන්න කඩෙකට ගිහිල්ල මොනව හරි කන ගමන් කතා කරමු.." කියල කඩේකට ගිහින් පරන යහලුව ගානේ කාලා බීල එලියට බහිද්දි "මම Campus ගිහිනුත් තාම ගෙදරින් තමයි යැපෙන්නෙ, එ උනාට මුන් දැන් සල්ලි හම්බ කරල ගෙදරටත් කීයක් හරි දෙනව ඇති..." කියල හිතෙන කොල්ලෙකු* විසින් ලියවුනාද (*මෙය ලියන අවදියේදී මේ කොල්ලාගේ වයස 18-25 අතර වන්නට ඇත, නමුත වර්තමානයේ මොහුගේ වයස කීයද කියන්න මා දන්නේ නැත, මට කිව හැක්කේ මොහු මගේ Batch එකට වඩා Senior බව පමණයි, නමුත් මේ post එක පුරාවටම මා ඔහුව "Campus කොල්ලා" යන නාමයෙන් සඳහන් කරන්නම්) එහෙමත් නැතිනම් Exam එකක් ලංවුන කාලෙක* Akbar එකට වෙලා ගෙදර ප්රශ්ණයක් හෝ මොකක් හරි ගැටලුවකට උතතරයක් (Love case එකක් වෙන්නත් පුලුවන්) කල්පනා කර කර, ගානක් විසදන්න් try කරන කොල්ලෙකුට (*සාමාන්යයෙන් Exam එකක් ලං වෙනකන් මේක ඉන්න කොල්ලො පොතක් බලන්නෙ නෑ) විසඳ විසඳ හිටිය ගානේ අනුකලයක් කර කර ඉද්දි මේ equation එක ඔලුවට ආව වෙන්නත් පුලුවන්.</div><div>මේ ආකාර දෙකටම අයත් නොවන කොල්ලෙක් මේක ලිව්ව වෙන්නත් පුලුවන්. ඒ කවුරු මෙක ලියූවත් කාට ලියපු එකක්ද කියන එකට අඩුම ගානේ අනුමාන උත්තරයක්වත් හොයා ගන්න ටිකක් අමාරුයි, එහෙම නේද? ඒ මොනව උනත් මේ කියල තියෙන දේ ඇත්ත කියල මම නං පිළිගන්නව. ගණිතයේ ඇති අනුකලනය හෙවත් Integration දන්න ඕනෑම කෙනෙකුට, Akbar එකේ සැපට* දිවි ගෙවපු(*Hostel ජීවිත ගැන ඔබ දන්නවා ඇතැයි මම සිතමි) කොල්ල ලියූ මේ කතාව, හොඳට තේරෙනව ඇති.</div><div><br />
</div><div>අනුකලනය ගැන නොදන්න අයට, මේ කොල්ල කියල තියෙන දේ පොඩ්ඩක් පැහැදිලි කරොත්, </div><div><br />
</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>(උපන් දා සිට මැරන දා තෙක් කාලය තුල ප්රශ්න වල එකතුව) = ජීවිතය</div><div><br />
</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>ගණිතය කියන්නේ භාශාවක් බව ඔබ අසා ඇති, ගණිතය නැමති භශාවෙන් ජීවිතය විග්රහ කරන්න උත්සහ කරපු Campus කොලුවෙකුගේ කතාවෙන් ඔබ ඔබේ ජීවිතය දෙස ආපසු හැරී බලනවා නම් එය මා මෙම post එක දැමීමේ අරමුණ සඵල වීමකි. අවසාන වශයෙන් මා මෙසේ කියන්නම් "ජීවිතය යනු කුමක්ද? " යන ප්රශ්නයට Campus කොලුවා දුන් පිළිතුර නිවැරදි යැයි කිව හැක, නමුත් "ජීවිතය යන ප්රශ්නයට පිළිතුර කුමක්ද...?" යන ප්රශනය මා ඔබෙන් ඇසුවහොත්... ඔබ නිරුත්තර වන්නට පුලුවන, සමහර විට ඔබ නිවැරදි පිළිතුර දෙන්නත් පුලුවන. එයින් කුමක් වුවත් මා දන්නේ මෙය කියවන ඔබත් මෙය ලියන මාත් එම ප්රශ්නය තවම විසඳා ගෙන නොමැති බව පමණයි..........!</div><div><br />
</div><div>පාඨක ඔබ සැමට තෙරුවනි සරණයි.....!!!</div><div><br />
</div>Anonymoushttp://www.blogger.com/profile/13052338502693968466noreply@blogger.com4