Isha Budhiraja
B.Tech, MBA, M.Phil (Computer Science)
K.R. Mangalam Institute of Management
Kailash Colony, New Delhi

Working Title:-  "Weblog"

Communication has completely changed now a days and we can exchange our ideas by social networking sites, we can talk to or chat to our friends any time and anywhere, without consuming much time and money.. Blogging is term taken from 'weblog'. Blogging is a part of sharing your knowledge in which you not only share your perception, but readers can also comment and participate in the discussions made on the blog. Blogs provide information on a particular issue or an event. The act of creating and writing on a blog is called blogging and the writer and creator who does all the tasks is known to be as Blogger.

What is Weblog:-

A blog (a contraction of the term "weblog") is a type of website, usually maintained by an individual with regular entries of commentary, descriptions of events, or other material such as graphics or video. Entries are commonly displayed in reverse-chronological order, often updated on frequently with new information about particular topics. The information can be written by the site owner, gleaned from other web sites or other sources, or contributed by users. In brief, it is defined as "a frequent, chronological publication of personal thoughts and Web links" (O'Rourke, 2002). This reflects the common use of a blog as a personal online diary. A definition of a software program called "Blog" captures the benefits of using a blog:  "An automatic web log program with allows you to update your site without the hassles of HTML editing and having to use a separate program to upload your work" WebLogger lets you log information about the people who come to a website, without their knowledge. Unless you tell them, they have no way of knowing that they've been tracked as you log their time of access, where on your site they went, what their username is (if they logged in to your website, as you're going to see how to do), what their IP address is (and if they have cable access, they have a fixed IP address), how long they worked with the web page they accessed, and what type of browser they have.

Using WebLogger, we can track users as they move around your site. In fact, we can even block access if we want. Unless that added text informed the user that he was being tracked (and, of course, you can remove that text from WebLogger), he would have no way of knowing it.

Here's the information that will be logged for each user who has accessed the site:

* Access time
* Authentication type
* Username
* User IP address
* URL accessed
* Browser
* Milliseconds used

To make what it does possible, we have to design a FILTER using JCREATER, a java platform for core java applications. Using filters we can have all the information on the data sent to JSPs and servlets, and on the data they return.


Using a filter we don't need to change a web resource, such as a JSP page, HTML page, or a servlet, to log users who come to that resource, to restrict access to it, to alter the data sent to it, or to alter the data that comes back from it. Filters will be created by using an in built Java class -- javax.servlet.

Filter interface

The init method is called when the filter is first initialized, and the destroy method is called when it's destroyed. The doFilter method is where the real action is; when the user is trying to access the web resource you're filtering, this is the method that will be called. The doFilter method is passed the request and response objects that Java used to work with web resources; the request object holds the data sent to the web resource by the browser, and the response object holds the data the web resource sends back to the browser. These objects are of the Servlet Request class and the Servlet Response class, respectively.

Log file

A file that lists actions that have occurred. For example, Web servers maintain log files listing every request made to the server. With log file analysis tools, it's possible to get a good idea of where visitors are coming from, how often they return, and how they navigate through a site. Using cookies, we enable the webmasters to log even more detailed information about how individual users are accessing a site.

A weblog often has the quality of being a kind of "log of our times" from a particular point-of-view. Generally, weblogs are devoted to one or several subjects or themes, usually of topical interest, and, in general, can be thought of as developing commentaries, individual or collective on their particular themes. A weblog may consist of the recorded ideas of an individual (a sort of diary) or be a complex collaboration open to anyone. Since there are a number of variations on this idea and new variations can easily be invented, the meaning of this term is apt to gather additional connotations with time. A popular weblog is Slashdot.org, the product of programmer and graphic artist Rob Malden and several colleagues. Slashdot.org carries discussion threads on many subjects including: Money, Quake (the game), Netscape, Sun Microsystems, Hardware, and Linux. Slashdot.org solicits and posts interesting stories reported by contributors, includes a link to the story, and manages the threads of the ensuing discussion by other users. Another well-known weblog is Jorn Barger's Robot Wisdom Log, which is more of collection of daily highlights from other Web sites. Jessamyn West's librarian.net is a daily log of items interesting to librarians and possibly others, too.

As a format and content approach for a Web site, the weblog seems popular because the viewer knows that something changes every day, there is a personal point-of-view, and, on some sites, there is an opportunity to collaborate or respond with the Web site and its participants. Many blogs provide commentary or news on a particular subject; others function as more personal online diaries. A typical blog combines text, images, and links to other blogs, Most blogs are primarily textual, although some focus on art (artlog), photographs (photoblog), sketches (sketchblog), videos (vlog), music (MP3 blog), and audio (podcasting). Micro-blogging is another type of blogging, featuring very short posts.

Basic Procedure of Making Weblog:-

* Create the resourse website using Dreamweaver MX.
* Create the filter using Filter interface in Java using JCreater.
* Next, connect the filter to the resource to be filtered, which can be done with the deployment descriptor file- web.xml. This file connects the filtered resource to the filter.

WebLogger uses the request object to get its information about the user, reading the URL the user is accessing, the user's IP address, hostname, and browser type. If the user is logged in using HTTP authentication, WebLogger records the type of authentication used and records the username. It also logs the time of the user's access, as well as the time he spent accessing the web resource you're filtering

--> Article continued on next page, click here  -->

Source: E-mail June 3, 2011


Articles No. 1-99 / Articles No. 100-199 / Articles No. 200-299 / Articles No. 300-399 / Articles No. 400-499/ Articles No. 500-599
Articles No. 600-699 / Articles No. 700-799 / Articles No. 800-899 / Articles No. 900-1000 / Articles No. 1001-1100
Articles No. 1101-1200 / Articles No. 1201-1300 / Articles No. 1301 Onward / Faculty Column Main Page