Java Web Technologies

Sunday, 30 December 2012


Assalamualaikum my friends..

      Java Web Technologies have been rising in recent years. For me it little bit confusing to understand it, but I try my best to explain it here. For your information, there are several framework is used to develop web page and server side program such as servlet, JSP, JSF and MVC.





     Servlet is a class that written in java language and would respond to HTTP request and maintains the session. And JSP stands for JavaServer Pages and the purpose of it to create dynamic web pages based on HTML. So, what is the difference between them? The main difference between them is servlet is pure java but JSP is not. But we can put HTML code inside the HTML.




     JSF stands for JavaServer Faces and it is new standard framework based on MVC. It would make it easy to build UI for java web application. MVC is an architecture that dividing three different components which is Model, View and controller.

                Model = is an Entity
                View = UI (user interface)
                Controller = the process would be here

      Hopefully this post would be stepping stone for you to know further what Java Web Technologies it is. So try to explore it and make sure you understand it. good luck. Hee~..

Ontolgy Web Language (OWL)


Assalamualaikum my friends..
     
        This time let's talk about OWL based on what I already know.. Hee.. If I’m wrong please fix me.. Lets continue, OWL is one of the type of semantic web and OWL is stands for Ontology Web Language and OWL is used when the information in documents needs to be processed by applications.. Beside that it represents the meaning of terms and the relationship between terms..

       OWL provides three sub languages which is OWL Lite, OWL DL and OWL Full.. Each sub language has their own features.. OWL Lite is when it need hierarchy classification and simple constraints.. OWL DL used when the user want the maximum expressiveness.. and Lastly OWL Full is use when they want maximum expressiveness and the syntactic freedom of RDF..

       Umm, I think that all for today.. Insyaallah next time we meets agains and good luck for Final Exam.. 

RDF


Assalamualaikum my fellow friends..

     RDF is one of the components semantic web. Last time we already discussed about XML, hopefully it hoping you guys to understand what XML is about.  RDF is stands for Resources Description Frameworks.  RDF is datamodel for object/resources and relations between them. It provides simple semantic for datamodel. RDF is written in XML and it’s designed for to be understood for machine and not for human.


RDF rules:'

1.       RDF use URI to indentify each resource.
2.       RDF describes resources by property and property value.
Resources = Subject
Property = Predicate
Property value = Object

eg:
         ‘The author for http://www.shah.com is shaheer iqmal’
                  Subject = http://www.shah.com
                  Predicate = author
                  Object = shaheer iqmal


XML


 Assalamualaikum my friends..

    Last time I already discussed what is semantic web is about. For your information there are several component of semantic web which is XML, RDF and OWL. If you notice I already post about OWL and this post I would like to share what is XML is.

    XML is stands for Extensible Markup Language. It is designed for transport data and described data. XML tags are not predefined, you need to defined your own tags. XML used DTD or XML Schema to describe or validate the XML data.

        XML Syntax:
1.       XML declaration
<?xml version=’1.0’?>
2.       Consists a root element
<root>
        <child/>
</root>
3.       Open and closing tags
<course>Web Technology</course>
4.       All XML element must be proper nested
<name><i>shah</i></name>

eg:
             <?xml version=’1.0’?>
<note>
                    <to>Awak</to>
                    <from>Saya</from>
                </note>

Semantic Web.

Saturday, 29 December 2012



Assalamualaikum guys..

    What is semantic web? Semantic web is a web that has added meaning to it. In other word, the user are able to search not only the syntax of the data but the desired data itself through semantic.  For example, you type “taxi” in web search engine. Try to guess what possible output that you receive from it is. The output should be “taxi”, “cab” and “teksi”. In semantic web there is not only search for documents that contain data but also the meaning of the data. As we know all of those are have the same meaning which  is taxi.
        

JSON.


Assalamualaikum my friends.



        Last time I said that post would be the last post for this semester but I can’t do that because there is something that I need to do. I need to complete post the chapter that I learn in class for the whole this semester and I just know that. Hee.

         Let’s continue, I already read the note about JSON and Alhamdulillah that I understand what is JSON is about. Before this I just know from my classmate that JSON is much like “database”. I think that is not a right word to describe JSON.


        Actually JSON is data interchanging format. The true is JSON is much like the XML. The purpose of JSON is to transport the data without refreshing the page. Sound that like much similar with AJAX right. It is because the key idea of JSON is from AJAX.

        Here I give the example of JSON for your better understanding and you know what JSON look likes is.

                 eg:

                 {“students”:[
                 {“Name”:”yashah”, “course”:”cs”},
                 {“Name”:”nur”, “course”:”cs”}
                 ]}

Explanation:
                JSON is plain text, self describing, hierarchical and uses array.
                The JSON object is written inside square bracket. The object is separated by coma (,) and it
                may contains multiple of object.
             


~UDDI~

Friday, 28 December 2012


Assalamualaikum my fellow friends..

               
       Today I would like to share about one of the web service architecture which is UDDI.. UDDI is stand for Universal Description, Discovery and Integration.. UDDI is directory for storing information about web service.. In other words, UDDI is a directory service where businesses can register and search for web service.. umm, I know it quite difficult to understand.. So, for example, company A creates online website and register it at UDDI registry.. UDDI registry would bind it to its services.. Then the consumer would find the website online and do business with it.. 

   Hopefully this post would give you some idea what is UDDI is about and good night.. Hee~..

Netcom Family Day..

Monday, 10 December 2012

Assalamualaikum my friends..

         
       Its already one week that day happens.. Last Saturday I'm with several classmate going to PD because we have "Netcoms Family Day".. Actually this event should be coming more early but some problem that we can't prevent, the committee need to rearrange back the date.. Alhamdulillah last Saturday is going like they are planning.. Thanks to them..

        Back to the story, I'm pretty excited to going PD because it been long time that I'm not going to join activity like this.. The best part is I'm the only one male participant.. hee~.. Arghh, i can't let this happen.. so I'm persuade Haziq to join us, Alhamdulillah Haziq agree with it.. hehe.. We leave from UiTM around 8.10 am and arrive there at 10.00 am.. The AJK divide us with several group and they conduct the game.. I'm really enjoying the game and that activity make me feel energetic.. hee.. Hopefully next time, i have a chance to join activity like this again.. daa..       

browser..

Friday, 30 November 2012

Assalamualaikum my friends..

    This post also is a part of my assignment, my mark would be deducted if I'm failed to post it.. hee~.. so, regarding to our topic there are several well known browser such as Internet Explorer, chrome, firefox, safari and etc.. which is the best is among them.. Before this Internet Explorer is the best browser and most of people use it.. Lately chrome is the best browser and most of people love to use it.. It is follow by firefork, internet explorer, safari and so on..

     why chrome  is becoming the most  popular browser nowadays.? Based on my study chrome is more lighter, interactive, fast and user friendly rather that others browser.. That why the number of people increase rapidly in year 2010.. 

            

..Internet vs internet..

Assalamualaikum my friends..

         wow, we already in week eleven.. did you realize it.? we never thought it right.. It that mean that we are at the end of the semester..  Only three week left before study week.. On this stage that a lot of assignment that we are need to submit.. This post also is a part of my assignment.. hee.. I'm already forgot about it, thank  goodness that mdm Shahniza remind us..

        So, what is differences between "Internet" and "internet".? It is obvious the differences between them is "I" with capital letter  and another "i" with small letter right.. hee.. I'm just kidding.. so, truly the main differences between them is Internet is for world wide web (www) which mean global and  internet is for intranet.. For example internet is LAN network and Internet is large scale of internet..

             

~SOAP~

Friday, 23 November 2012

Assalamualaikum my friends..

             Alhamdulillah,  we meet once again.. How about your weekdays.? It's a  little bit tired right.. That a lot of assignment that we are done and we are going to be done right.. hee~..  Umm, today I'm would like to share with you what is SOAP is all about (based on my knowledge).. SOAP != "sabun".. Actually SOAP is one of several type of web services..

              SOAP is stands for Simple Object Access Protocol.. And what is SOAP.? SOAP is communication protocol between application and server..  It's a format for sending message through the internet and it's using XML.. There are several element that should have in SOAP which is envelope, header, body and parameter.. umm.. I'm running out of idea, maybe I'm should do some reading before I'm going to write.. Insyaallah it be continue.. hee..

              Happy Holiday with fully of assignment, and make sure you do it because due date is near my friends.. hee~..




     OR

web services..

Saturday, 17 November 2012

Assalamualaikum guys..

       web services  is describing an integration web based application using XML, SOAP, WSDL and UDDI  over an Internet protocols.. what is the function of  XML, SOAP, WSDL and UDDI.? Actually XML is used to store the data, SOAP is used to transport the data, WSDL is used to describing the service that  available and UDDI is used  for listing the services that  available.. 

      web services is allow different application from different  sources to communicate with each other  without custom coding.. Furthermore web services does not  tied to any os platform and any programming language.. For example, asp can talk with java, and java  can talk with ruby and etc.. windows application can communicate with UNIX or mac..

        umm, that all for this week.. until we meet again and Happy Holiday..

Web 1.0 | Web 2.0

Friday, 9 November 2012


Assalamualaikum everyone..
     
     WWW also known as World Wide Web.. I’m pretty sure that all of you have heard it before this.. For your information, the first web version that launch is Web 1.0 and later the new version in the form of Web 2.0 and Web 3.0 are exists.. As we know, the new version is more advanced, interactive and user friendly compared to the previous version.. For this time entry I would like to share what is different between Web 1.0 and Web 2.0..

Web 1.0
Web 2.0
First Launch in 1991
First Launch in 1999
Known as ‘The Internet’ not Web 1.0
Bring out with new idea like Widget and Video Streaming.
The main features are only hyperlink and bookmarking of the web pages.
It allow two way communication, the user can interact with admin.
Eg: static websites
Eg: Dynamic and Active website like fb and Twitter.

JavaScript & JQuery..

Tuesday, 30 October 2012


Assalamualaikum my friends..

              JavaScript and JQuery.. There are some people confuse what is the meaning of that word, including me.. What it’s about and differences between them.?  Generally, JavaScript known as programming language and JQuery is a framework for helping you to use that language.. Here I’m provide a further explanation about it..

JavaScript
JQuery
A Programming Language with object oriented capabilities..
A Framework for JavaScript..
It is not a Java, originally called LiveScript..
It is provide alternative for common programming task and creating functionality..

JQuery syntax:
   $(document).ready(function(){
          // JQuery methods write here..
          alert(“JQuery awesome”);
   });
   

XSLT..

Monday, 29 October 2012

Assalamualaikum wbrt everyone..



       
      For this coming entry I would like to share how to use XSLT to transform XML documents into other formats like HTML.. Did you have  heard XSLT before.? What is XSLT.? XSLT stands for XSL Transformations, and XSL stands for Extensible Stylesheet Language.. It is a stylesheet for XML documents..  




   1. First of all before you can write XSLT you need XML documents.. 
       XML  Example

         <?xml version='1.0' encoding='utf-8'?>
         <company>
                <employee>
                       <name>shaheer</name>
                       <position>CEO</position>
                </employee>
                <employee>
                       <name>yati</name>
                       <position>chief XML Evangelist</position>
                </employee>
         </company>

    2. Lets begin write XSLT
        - XSLT need XML declaration 
       
Description
Syntax
xml declaration
<?xml version='1.0' encoding='utf-8' ?>
xsl stylesheet declaration
 <xsl:stylesheet version='1.0'   
   xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
xsl template declaration
<xsl:template match='/'>

</xsl:template>

 *write html inside xsl:template
      eg: <xsl:template match='/'>

            <html>

                        <body>

                                    <h1>Example</h1>

                        </body>

            </html>

           </xsl:template>
xsl method
 - for-each method, it like looping in java

 - xsl:value-of to get value 


     <xsl:for-each select="catalog/product">

            <td><xsl:value-of select="name"/></td>

     </xsl:for-each>
sorting
<xsl:sort select="name"/>
if we want to write style
- this like css

   <xsl:template name='style'>

            <style>

                        h1{COLOR: red; FONT-FAMILY: Arial; FONT-SIZE: 14pt;}

                        tr{background-color: beige;}

                        td{COLOR: blue; FONT-FAMILY: Arial}

            </style>

   </xsl:template>
calling template
<xsl:call-template name='style'>

session vs cookies..

Sunday, 28 October 2012

Assalamualaikum wbrt my friends..


      For this coming entry I would like to share with you what is differences between session and cookies.. Actually, I’m just read about it.. Hee~..

     The main difference between cookies and sessions is that cookies are stored in the user browser and sessions are not.

      Session work like a token allowing access and passing information while the user open their browser.. While you close your browser you also lose your session.. This is because HTTP protocol is stateless, once the server replies to a request the server close the connection with the client and forgot all about the request..

Session Illustration 


       A cookie can keep information in the user browser until deleted.. It can be stored permanently or temporary, it is depends on user.. If a person has a username and password, this can be set as a cookie in their browser.. So next time they do not have to re-login back..


Cookie Illustration

     

AidilAdha..

Friday, 26 October 2012

Assalamualaikum wbrt..


           It's not to late if I want to wish "Selamat Hari Raya Aidil Adha" to all my friends.. Alhamdulillah, praise to Allah that we are give longer live and good healthy to meet again this day.. so, how about your "Hari Raya".? It is fun celebrating with your family.? it's fun right.. As usual, every time raya i will eat a lot of food.. Hee~.. This day just came two times in a year,  "Hari Raya Aidilfitri" and "Hari Raya Aidiladha".. so dont waste it.. Hee~.. But at the  end of the day I'm having stomach ache.. arghhh, it is useless to regret it..   
           
         usually "ibadah korban" will do it at the same day with Hari Raya  Aidiladha but this year it is postpone to tomorrow.. maybe today is Friday, it is not enough time to do it because today have "solat jumaat".. That why it is postpone to tomorrow, it make sense right.. so, tomorrow I'm going to help my father and their friend.. Hopefully everything is going to be fine.. 

           Anyway, Selamat Hari Raya Aidiladha to all Muslims, especially to my Muslim friends.. Enjoy the day and  to all Malaysians, enjoy the holiday.. and after this I'm going to continue my Mid Term Break that fully with pressure and stress because that a lot of  assignments that i need to do it.. Hee~..
  
Selamat Hari Raya Haji to all muslims..

I'm Free..

Tuesday, 23 October 2012

Assalamualaikum wbrt..
   
          Hai, how are you my friends.? Did you feel well today.? I hope all of you are in good condition, insyaallah.. umm.. For  your information last Saturday is my last day with RoR.. After this i dont have to attend a class during saturday and sunday.. so i get back my weekends.. yeahh, I'm free.. Hee~..


          I hope knowledge that i have from this class i can implement it for future, it was worth it.. Even though i need to sacrifice my weekend for five week.. The most important things is i learn something from this class and this is really helpful for my final project, maybe.. Hee~.. I with my partner planed that  we  are going to use RoR to develop  our system.. Hopefully everything is going well.. Amin..
       

regenerated..

Friday, 19 October 2012

Assalamualaikum everyone..

            Did you miss me.? Hee~. it have been so long that I not updated my blog. I'm sorry about that, so many things happen on me for the last two week before. It hard for me to tell you what it is, but I'm going to face it because I want to tell it. hee~. Last week my things were stolen by someone that I don’t know. My laptop, hard disk, thumb drive, wallet, phone and etc are gone, just like that. It's really hard to accept but slowly I'm accepting it. I'm always hopes that all of this is just a dream and when I'm wake up, all is going to be fine. Hee~. But this is not a dream but reality and reality is always painful. I hope something much much much better is happens on me next time because I'm believe that Allah is going to plan something much better for me. Insyaallah.. 



(Kita merancang dan Allah jua merancang dan sebaik-baik perancangan itu adalah dari Allah.) 
Wallahualam..

yasumi with RoR..

Thursday, 27 September 2012


Assalamualaikum wbrt..

          Yasumi.. that you heard this kind of word before.? Yasumi  is Japanese language that means holiday.. Usually when we said about holiday it’s time to relaxing ourselves from work that we do for the whole week, but it doesn’t happen to me last weekend.. L I have attended Ruby on Rails (RoR) course.. And this goanna be happen to me for five coming week.. J  Honestly,  it is interesting to learn something new, learn something that i have never know before.. 


        Did you heard about this hadith before.? I’m pretty sure that all of you have heard about it and make sure we obey.. J

        But it is different from my BEL442 lecturer said “The more I learn, the more I know. The more I know, the more I forget. The more I forget, the less I know. So, why study (Sir Kamal, 2012).” Hee~.. I'm sure he just make a joke, so don’t make it serious.. Hee~..

         So, what just I’m learning from that program.. En Azrul (The Trainer) told us that before he goanna to lecture us about Ruby we need to master HTML, CSS, JQuery and database design.. That why for the hold Saturday we just refresh about it.. Alhamdulillah I have basic about it and make me ready to learn RoR.. 
        
       For the next day En Azrul briefly explain about  MVC, server, port, aptana, putty, GIT and bitnami rubystack.. It sound weird right.. Maybe, next entry I will share with you about that.. So make sure you don’t miss my next Entry..


Setsentrik or Netcentric.?

Monday, 24 September 2012


Assalamualaikum..
Hi everyone, I’m back with new Entry.. Hee~.. For this entry I would like to write about Netcentric..?? When Mdm Shahniza ask us to write about this, I’m just keep smiling, smiling and smiling.. But my brain is keep looking what is I’m going to write.. Ahh, my brain is going to blow when think about it..

"Kasih Ibu Membawa Ke Syurga"
Before I'm starts it, i have a story to share with you.. This is about my mom.. when her friend asked her what program that i take at UiTM, she said "setsentrik".. Hee~.. That so many time that i told her that is not "setsentrik" but "netcentric".. The same answer that come out from his mouth, "lebih kurang sama la tu".. Hehe~.. Then i said to her "ibu, lepas ni kalau sapa-sapa tanya abg amik kos apa, ibu cakap je abg amik komputer sains.. senang org paham.. x de la org tu tecengang je.. Hehe~.." we laughed together (urmm, I miss her)..


So, lets continue.. Most of us don’t know what netcentric is about.. Actually I'm also not really sure what is  it..  From what that I know "Netcentric is a combination of three major subject which is networking, web development and system”..  This information I get from my previous coordinator Mdm Maziah, actually she asked me to take this program.. She said Netcentric is new program that offer from UiTM and maybe when I’m graduate it will easier to get a job.. I hope so.. Insyaallah.. 


"Open to extensibility and close to change (Titiwangsa,2012)."

What should i write..?

Sunday, 16 September 2012

Assalamualaikum to everyone..
I always dream that i want to have my own blog that I can share anything that I want, but for some issues, I never did until now. But this time I’m deciding to start my blog because my lecturer asks to do it. Hee~. Actually, it's my assignment during this semester. Thanks for make my dream become true Mdm Nor Shahniza Kamaal Bashah. Without your encouragement i don’t know when I’m going to become blogger.

But I’m face a little problem, as you can see the title above i don’t know what I’m going to write on my first post. For me, the first post is really important because it sets the impressions for the blog, not just for the blog but for me as well. So, I’m deciding that my first post i would like to share about my personal details and what i will blogging about soon.

Hi, My name is Muhammad Shaheer Iqmal Bin Shamsuddin. I’m 21 years old and now I’m studying at UiTM Shah Alam taking BACHELOR OF SCIENCE (HONOURS) NETCENTRIC COMPUTING. So, about what I’m going to blogging soon I would like to share anything that cross on my mind. Actually I would like to share knowledge that can give some input when you read it. I really hope that what I write can be meaningful to others.

Umm. Lastly but not least I’m really appreciated if you can leave feedback, give some comment. If I’ doing right support me, but if I’m doing wrong, please advise me, teach me. 


Thanks for reading. Lets leave your comment and follow.