









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Internet & Java Programming Lecture Notes
Typology: Lecture notes
1 / 15
This page cannot be seen from the preview
Don't miss anything!










Format of an HTTP Request
It has three main components, which are:-
Format of an HTTP Response
Similar to an HTTP Request, an HTTP Response also has three main components, which are:-
types of HTTP request types.
know the complete details of the resource available on a particular URL, without downloading the entire data.
in the response except our page containing the "Hello" message.
can give you information about the resource by saving your bandwidth.
example of HTTP post request from the client to the server.
a resource in the specified URI.
it will create the resource.
you want to enable such functionalities, its better to that with a http POST operation using a web form, which intern will delete a resource.
browser. Then in such cases http trace request can be used to retrieve the complete request that the server got from the client back to the client itself.
is that its very much similar to viewing the web server log of the request you send.
Modes of File Transfer
Passive FTP
Further FTP Security
What Is Email Protocol?
Email protocol is a method by which a communication channel is established between two computers and email is transferred between them. When an email is transferred, a mail server and two computers are involved. One computer sends the mail and the other one receives it. The mail server stores the mail and lets the receiving device access it and download it if needed. There are four different mail protocols. These protocols differ in the way by which they establish connections and allow user access to emails.
Read more: http://www.ehow.com/about_6168931_email-protocol_.html#ixzz2ktWLtS2E
Usage in Various Email Applications
POP3 (Post Office Protocol 3)
Hotmail and Yahoo! use HTTP protocol for accessing emails through the Internet.
MAPI
As noted, MAPI is Microsoft's proprietary email protocol. It provides greater functionality than IMAP for Outlook email clients interacting with an Exchange email server. It doesn't work for anything else. (In Outlook you may simply see the connection option "Microsoft Exchange Server" rather than MAPI. It's offering the same thing.)
Remote access using MAPI may require use of a VPN connection, because the ports (communications channels) that MAPI uses are otherwise blocked for security reasons. (That's the case when accessing the medical campus Exchange system remotely.)
Dial-up Internet Connectivity
Today, dial-up Internet connectivity is the most common type of access promoted by ISPs or Internet Service Providers. The connection is cheap and slow, but enables users to connect via a local server, that exhibits strength of a standard 56 Kilobits per second modem. Dial-up Internet access is basically, access to the Internet via integrated telephone lines. The user's router or computer enables access via the attached modem, which in turn connects to the preferred Internet service provider's node. The resultant modem-to-modem link empowers the routing of dedicated Internet Protocol Packets on the Internet. The technology has come a long way, to establish computer-based telecommunication between terminal emulator software, to integrated mainframes, online services, minicomputers and dedicated bulletin board systems. The technology does not require any infrastructure, other than a telephone connection. The dial-up Internet connection is very useful to travelers and for access in rural or remote areas. It appeals to users on limited budgets.
Broadband Internet Connection
The term 'Broadband Internet Connection' has different meanings in different contexts. In the world of data communication, it refers to data transmission over a fiber optic cable. In the case of a DSL or Digital Subscriber Line, this service relates to the transfer of digital information over a high-bandwidth channel; while on the Ethernet, the technology implies a baseband transmission using the complete bandwidth of the preferred medium (as in the case of 100BASE-T Ethernet). In power-line communication, it refers to high-speed signaling to achieve high data rates (as in the case of ITU-T G.hn standard); while in video distribution the term refers to the modulation of individual channels, at fixed frequencies. Broadband Internet connectivity in telecommunication refers to a specially developed signaling system that integrates a wide frequency range (or band). Basically, the technology enables greater information-carrying capacity and quicker Internet access.
What is the difference between dial up and broadband Internet connections?
The fundamental difference between dialup and broadband connections is the manner in which the connection is made from PC to the Internet.
A dialup service connects to the Internet through a phone line with a maximum speed of 56kbps.
Broadband refers to a connection that has capacity to transmit large amount of data at high speed. Presently a connection having download speeds of 256kbps or more is classified as broadband.
Broadband comes in a number of forms - depending how the data is delivered - for example via cable, satellite and most commonly using a telephone line where as a dialup service always connects to the Internet through a phone line.
While using a dialup connection, we need to pay for a local call every time we dial the Internet. In addition phone line is engaged while we are on the Internet. With a broadband connection, phone line (if existing phone line is used) can still be used while using the Internet and both the phone and the Internet work simultaneously and no dialup costs are incurred. Telecommunication systems were originally built to carry analogue signals. In a dial up connection, modems are used to translate digital into analogue signals and communicating with Internet.
However, analogue transmission between the subcriber and the telephone company is a bandwidth bottleneck. Dialup connection speeds make it more difficult to view certain types of media, such as video, and it can take much longer to download and open emial attachments, play online games and so on.
In an broadband system, digital data does not have to be converted into analogue. it uses a different part of the line's frequency spectrum, offers much wider bandwidth 9more lanes) and does not interfere with the use of the line for voice transmission. When connected to the Internet, such a connection allows surfing or downloading much faster than a dial-up connection. Dialup connection users a built-in modem to connect and does not require a special router, whereas broadband requires a special router or modem.
In terms of security for attack, dialup is more secured then broadband, Broadband users need to use a firewall to keep the computer "invisible" to the outside.
How to Create a Dial-Up Connection in Windows XP
You have successfully created a Dial-up Connection in Windows XP.
E-commerce (electronic commerce or EC) is the buying and selling of goods
and services on the Internet, especially the World Wide Web. In practice, this
term and a newer term, e-business, are often used interchangably. For online
retail selling, the term e-tailing is sometimes used.
E-commerce can be divided into:
E-commerce refers to the purchase and sale of goods and/or services via electronic channels, such as the Internet. Online retail is convenient due to its 24-hour availability, global reach and ease of customer service.
Though purchasing items online is a major facet, e-commerce is more than that. This type of commerce can be useful at the enterprise level as well. E-commerce is not just on the Web — it was first introduced in the 1960s via electronic data interchange (EDI) through value-added networks (VANs). In the mid-1990s, e-commerce was transformed with the introduction of Amazon and eBay. Amazon started as a book shipping business, out of Jeff Bezos' garage, in 1995. EBay, which enabled consumers to sell things online, introduced online auctions in 1995 and exploded with the 1997 Beanie Babies frenzy.
There are four main categories: B2B, B2C, C2B, and C2C.
Just like any type of business, e-commerce businesses need to have a fully fleshed strategy. The first step is to set goals. Do you plan to increase revenue from existing customers? Gain new customers? Increase the average order value? Sell through new channels? Lower prices? Once you have figured out your goals, the next step is to set a plan.
Your first step is to conduct a SWOT analysis and assess the strengths, weaknesses, opportunities and threats of where your business is. What does the market look like? Where does your business excel, and where does it falter? Review your entire business, not just segments of it. Evaluate external opportunities, because this is the often the primary place to invest time and money. Be honest with yourself when analyzing weaknesses and threats, or else the analysis will not be helpful.
After the SWOT analysis is done, see how it fits into your overall vision. Where do you see your business in five years? In 10 years? This will help you set business objectives for the current year, where you set objectives for sales, profits, customers, traffic, new systems, and new staff. After the objectives are set, a strategy can be put in place, either by you or by a hiring an e-commerce consultant.
In addition to having a strong business strategy, it's important to have a basic understanding of e-commerce law. There are different legal and financial considerations, especially with privacy, security, copyright, and taxation. The Federal Trade Commission (FTC) regulates most e-commerce activities, including the use of commercial emails, online advertising, and consumer privacy. Through any average day, businesses collect and retain personal information from their customers — information that is often sensitive. You are subject to federal and state privacy laws, depending on the type of data that you collect.
There are also online advertising laws that protect consumer privacy and ensure truthful marketing practices online. As an e-commerce business, online advertising is a major part
Web Browsing
To understand the concept of CGI, lets see what happens when we click a hyper link to browse a particular web page or URL.
However, it is possible to set up the HTTP server so that whenever a file in a certain directory is requested that file is not sent back; instead it is executed as a program, and whatever that program outputs is sent back for your browser to display. This function is called the Common Gateway Interface or CGI and the programs are called CGI scripts. These CGI programs can be a Python Script, PERL Script, Shell Script, C or C++ program, etc.
CGI Architecture Diagram
CGI Environment Variables
All the CGI program will have access to the following environment variables. These variables play an important role while writing any CGI program.
Variable Name Description CONTENT_TYPE The data type of the content. Used when the client is sending attached content to the server. For example, file upload, etc.