- url ( uniform resouce locator)
- urn ( uniform resouce name)
- urn have 4 distinct parts: protocol type, machine name, directory path and file name.
service model architecture
role :
o Service provider
Provide services/function
Owner of the service
Platform that hosts access to the service
o Service requestor
Business that requires functions to be satisfied
Application looking for service and
invoking an interaction with a service
Application/user/system/other component/web service.
o Service registry
Searchable registry of service descriptions
Service providers publish their service descriptions
Place where put all description.
operations:
o Publish
Service descriptions need to be published
service requestor to find them
Using WSDL,UDDI
o Find
Service requestor retrieves service description directly
queries the service registry for the service required
Using WSDL,UDDI
o Bind
Service requestor initiates interaction with service
Using SOAP (XML)
in RDF we must know 3 things which is
eg: the student of http://www.nikSchools.com is puteri
- predicate : student
- subject : http://www.nikSchools.com
- object : puteri
How ajax works
An Ajax application eliminates the start-stop nature of relations on the Web
It introduces an mediator of an Ajax engine, between the user and the server.
Instead of loading a webpage, at the start of the session, the browser loads an Ajax engine, written in JavaScript and usually located away in a hidden frame.
The Ajax engine allows the user’s interaction with the application to happen asynchronously, independent of communication with the server
jQuery function
- perform many actions in a single line
- based on the number and type of parameters
- provided by the browser like alert()
- create DOM element methods like getAttribute()
json can be used in?
- JSON can be used in JavaScript by using the eval() function.
- JSON can be used in a blog
- JSON can also be used for web service payloads.
Advantage of servlet:
- Multithreaded
- easy to deploy
- Stable environment
- Inherit all good features of the java language
Servlet Lifecycle:
- initialization
- calling the init () method.
- passes the servlet initialization parameters to the init() method.
- client request service
- Servlet creates seperate threads for each request
- The sevlet container calls the service() method for servicing any request.
- The service() method determines the kind of request and calls the appropriate method (doGet() or doPost()) for handling the request and sends response to the client using the methods of the response object.
- destruction
- If the servlet is no longer needed for servicing any request, the servlet container calls the destroy() method.
- indicates to the servlet container not to sent the any request for service and the servlet releases all the resources associated with it.
- Java Virtual Machine claims for the memory associated with the resources for garbage collection.
Benefits of uddi
o possible to discover the right
o enable commerce once the preferred business is discovered
o Reaching new customers and increasing access to current customers
o Expanding offerings and extending market reach
o Extend web application using web services.
Issue of uddi : i have been searching the uddi issue but i kindly can not understand what is the issue is. Ican only list up the issue
main issue : security
other issue : configuration
quality of service
registry
Session has 2 technique which are:
- cookies
- able to save information from forms onto the client machine
- can retrieved notification on the website of the user's previous activity
- server side store and retrieve information on the client side of the connection
- url rewriting
- support session tracking
- modified extra path information, added parameters, server-specific URL change
- has session ID
List of JSP Element:
- Directives : Instruction JSP container
- Comments : html > Content are visible to end user & jsp > Not visible to end user
- Scripting elements : area where the main java code reside
monolog part : if i can turn the time back, i am surely can score my final :( I'm sorry mdm i can't do well in final. I WISH I CAN TURN BACK THE TIME!