<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>StudyJava.org</title>
	<atom:link href="http://studyjava.org/feed" rel="self" type="application/rss+xml" />
	<link>http://studyjava.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 05 Apr 2010 11:49:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Nokia N900</title>
		<link>http://studyjava.org/general/nokia-n900</link>
		<comments>http://studyjava.org/general/nokia-n900#comments</comments>
		<pubDate>Mon, 05 Apr 2010 11:49:44 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Nokia N900]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=500</guid>
		<description><![CDATA[NOKIA-N900 is not a similar product, advanced one next to NOKIA-N800 This has an Operating System of  MAEMO and it has an ARM Cortex-A8 Browser You can get experience of high speed internet in a full screen and it has an OpenGL ES for a 2.0 graphics Display 3.5 inch touch-sensitive widescreen display 800 × 480 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOKIA-N900 is not a similar product, advanced one next to NOKIA-N800</strong></p>
<p><strong>This has an Operating System of  MAEMO and it has an ARM Cortex-A8 Browser </strong></p>
<p><strong>You can get experience of high speed internet in a full screen and it has an OpenGL ES for a 2.0 graphics </strong></p>
<p><strong>Display</strong></p>
<ul>
<li>3.5 inch touch-sensitive widescreen display</li>
<li>800 × 480 pixel resolution</li>
</ul>
<p><strong>Web browsing</strong></p>
<ul>
<li>Maemo browser powered by Mozilla technology</li>
<li>Adobe Flash™ 9.4 support</li>
<li>Full screen browsing</li>
</ul>
<p><strong>Camera</strong></p>
<ul>
<li>5 megapixel camera (2584 × 1938 pixels)</li>
<li>Image formats: JPEG</li>
<li>CMOS sensor, Carl Zeiss optics, Tessar lens</li>
<li>3 × digital zoom</li>
<li>Autofocus with assist light and two-stage capture key</li>
<li>Dual LED flash</li>
<li>Full-screen viewfinder</li>
<li>Photo editor on device</li>
<li>TV out (PAL/NTSC) with Nokia Video Connectivity Cable (CA-75U, included in box) or WLAN/UPnP</li>
<li>Landscape (horizontal) orientation</li>
<li>Capture modes: Automatic, portrait, video, macro, landscape, action</li>
</ul>
<p><strong>Video</strong></p>
<ul>
<li>Wide aspect ratio 16:9 (WVGA)</li>
<li>Video recording file format: .mp4; codec: MPEG-4</li>
<li>Video recording at up to 848 × 480 pixels (WVGA) and up to 25fps</li>
<li>Video playback file formats: .mp4, .avi, .wmv, .3gp; codecs: H.264, MPEG-4, Xvid, WMV, H.263</li>
</ul>
<p><strong> Music and audio playback</strong></p>
<ul>
<li>Maemo media player</li>
<li>Music playback file formats: .wav, .mp3, .AAC, .eAAC, .wma, .m4a</li>
<li>Built-in FM transmitter</li>
<li>Ring tones: .wav, .mp3, .AAC, .eAAC, .wma, .m4a</li>
<li>FR, EFR, WCDMA, and GSM AMR</li>
</ul>
<p>Integrated A-GPS</p>
<ul>
<li>Assisted-GPS receiver</li>
<li>Ovi Maps pre-installed</li>
</ul>
<p>Processing power</p>
<ul>
<li>ARM Cortex &#8211; A8 superscalar microprocessor core running at 600 MHz</li>
<li>Up to 1 GB of application memory (256 MB RAM, 768 MB virtual memory)</li>
<li>Linux-based operating system</li>
<li>3D graphics accelerator with OpenGL ES 2.0 support</li>
</ul>
<p>storage</p>
<ul>
<li>32 GB internal storage</li>
<li>Expandable to up to 48 GB with an external microSD card</li>
</ul>
<p>Broadband</p>
<ul>
<li>3.5G and WLAN connectivity</li>
<li>Quadband GSM with GPRS and EDGE</li>
<li>Data transfers over a cellular network 10/2Mbps</li>
<li>Data transfers over Wi-Fi 54Mbps</li>
<li>Flash 9.4 support</li>
<li>Full-screen browsing</li>
</ul>
<p>Buy a NOKIA-N900 from a market and fell the experience of it&#8230;</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fnokia-n900', 'Nokia+N900')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fnokia-n900', title: '+Nokia+N900+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/nokia-n900/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display the contents of a Zip file using java</title>
		<link>http://studyjava.org/ejb/display-the-contents-of-a-zip-file-using-java</link>
		<comments>http://studyjava.org/ejb/display-the-contents-of-a-zip-file-using-java#comments</comments>
		<pubDate>Thu, 18 Mar 2010 17:35:06 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[EJB]]></category>
		<category><![CDATA[java zip]]></category>
		<category><![CDATA[zip in java]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=461</guid>
		<description><![CDATA[package com.org.servlet; import java.io.*; import java.util.zip.*; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class ZipView extends HttpServlet { /** * Display the contents of a zip file */ private static final long serialVersionUID = 1L; public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException { try { String zipFile = request.getParameter(&#8220;fileNames&#8221;);//specify the zip file [...]]]></description>
			<content:encoded><![CDATA[<p>package com.org.servlet;</p>
<p>import java.io.*;</p>
<p>import java.util.zip.*;</p>
<p>import javax.servlet.ServletException;</p>
<p>import javax.servlet.http.HttpServlet;</p>
<p>import javax.servlet.http.HttpServletRequest;</p>
<p>import javax.servlet.http.HttpServletResponse;</p>
<p>public class ZipView extends HttpServlet</p>
<p>{</p>
<p>/**</p>
<p>* Display the contents of a zip file</p>
<p>*/</p>
<p>private static final long serialVersionUID = 1L;</p>
<p>public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException</p>
<p>{</p>
<p>try</p>
<p>{</p>
<p>String zipFile = request.getParameter(&#8220;fileNames&#8221;);//specify the zip file</p>
<p>response.setContentType(&#8220;text/html&#8221;);</p>
<p>PrintWriter out = response.getWriter();</p>
<p>out.println(&#8220;&lt;table&gt;&lt;tr&gt;&lt;th&gt;File Name&lt;/th&gt;&lt;th&gt;Size&lt;/th&gt;&lt;th&gt;Date &lt;/th&gt;&lt;th&gt;Compressed Size&lt;/th&gt;&lt;/tr&gt;&#8221;);</p>
<p>if(zipFile != null &amp;&amp; zipFile.trim().length()&gt;0){</p>
<p>//BufferedOutputStream out = null;</p>
<p>ZipInputStream  in = new ZipInputStream(new BufferedInputStream(new FileInputStream(zipFile)));</p>
<p>ZipEntry entry;</p>
<p>while((entry = in.getNextEntry()) != null)</p>
<p>{                    out.println(&#8220;&lt;tr&gt;&lt;td&gt;&#8221;+ entry.getName()+&#8221;&lt;/td&gt;&lt;td&gt;&#8221;+ entry.getSize()+&#8221;&lt;/td&gt;&lt;td&gt;&#8221;+ entry.getTime() +&#8221; &lt;/td&gt;&lt;td&gt;&#8221;+ entry.getCompressedSize() +&#8221; &lt;/td&gt;&lt;/tr&gt;&#8221;);</p>
<p>int count;</p>
<p>byte data[] = new byte[1000];</p>
<p>out = new BufferedOutputStream(new FileOutputStream(&#8220;C:/pdf/out.txt&#8221;),1000);</p>
<p>while ((count = in.read(data,0,1000)) != -1)</p>
<p>{</p>
<p>out.write(data,0,count);</p>
<p>}</p>
<p>out.flush();</p>
<p>out.close();</p>
<p>*/</p>
<p>}</p>
<p>}</p>
<p>out.println(&#8220;&lt;/table&gt;&#8221;);</p>
<p>out.flush();</p>
<p>out.close();</p>
<p>}</p>
<p>catch(Exception e)</p>
<p>{</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>}</p>
<p>public void doGet(HttpServletRequest request, HttpServletResponse response)    throws ServletException, IOException {</p>
<p>doPost(request, response);</p>
<p>}</p>
<p>}</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fejb%2Fdisplay-the-contents-of-a-zip-file-using-java', 'Display+the+contents+of+a+Zip+file+using+java')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fejb%2Fdisplay-the-contents-of-a-zip-file-using-java', title: '+Display+the+contents+of+a+Zip+file+using+java+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/ejb/display-the-contents-of-a-zip-file-using-java/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Government Loan Programs</title>
		<link>http://studyjava.org/general/government-loan-programs</link>
		<comments>http://studyjava.org/general/government-loan-programs#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:40:29 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Loan Programs]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=446</guid>
		<description><![CDATA[Government Loan Programs for the Property Barriers to Homeownership in Indian Country. Much of the land in Indian country is held in trust by the U.S. government for the benefit of a particular tribe or individual Native Americans. Land held in trust for a tribe cannot be mortgaged, and land held in trust for an [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Government Loan Programs for the Property</strong></p>
<p><strong>Barriers to Homeownership in Indian Country.</strong></p>
<p><strong> </strong>Much of the land in Indian country is held in trust by the U.S. government for the benefit of a particular tribe or individual Native Americans. Land held in trust for a tribe cannot be mortgaged, and land held in trust for an individual must receive federal approval before a lien is placed on the property. As a result, tribes, IHAs/TDHEs, and individual Native American families have historically had limited access to private mortgage capital.</p>
<p>At the same time, demand for homeownership opportunities has steadily grown. Many families in Indian country have worked hard to achieve success, and now want to own a home of their own. Other Native Americans currently live away from traditional Indian lands and seek to return home to raise their families.</p>
<p><strong>The Section 184 Loan Guarantee Program</strong></p>
<p>In 1992 Congress created a federal program specifically designed to address the lack of mortgage capital in Indian country. Under the provisions of Section 184 of the Housing and Community Development Act of 1992 and as amended under the provisions of the Native American Housing Assistance and Self-Determination Act of 1996, the U.S. Department of Housing and Urban Development (HUD) was authorized to guarantee loans made by private lenders to Native Americans, IHAs/TDHEs and Tribes.</p>
<p>The Loan Guarantee Program is intended to increase the availability of mortgage lending in Indian country and is restricted to Native Americans, IHAs/TDHEs and Tribes selecting home sites within an Indian area.</p>
<h1>Land Ownership In Indian Country</h1>
<p>Understanding the various forms of Indian land ownership is important for lenders and program participants because program requirements and processing procedures vary depending upon the way land is held. Differences in requirements and processing instructions, based upon the types of land ownership, are specified throughout this guide.</p>
<p><strong>Defining an Indian Area.</strong></p>
<p><strong> </strong></p>
<p>An Indian area is the geographic area within which an Indian housing authority or tribe is authorized to provide housing through its power as a governmental entity. This may include land held in trust by the federal government for tribes or individual Native Americans as well as fee simple land within the operating area of the IHA/TDHE or tribe.</p>
<p><strong>Land Held in Trust for Tribes</strong></p>
<p><strong> </strong></p>
<p>Tribal trust lands are held in trust for the tribe by the federal government. The Department of the Interior, through the Bureau of Indian Affairs (BIA), administers the federal government’s trust responsibilities.</p>
<p>Tribal trust land cannot be alienated (taken out of trust) or encumbered without BIA approval.</p>
<p>Tribes may lease or otherwise assign portions of the tribal trust land for the use of specific individuals or purposes, but ownership, through the federal trust, remains with the tribe.</p>
<p>Generally, tribal courts, together with BIA, have jurisdiction over key real estate transactions (lien recording, eviction and foreclosure procedures) on tribal trust lands.</p>
<p><strong>Land Held in Trust for Individual(s)</strong></p>
<p><strong> </strong></p>
<p>Allotted trust land is held in trust by the federal government for individual Native Americans.</p>
<p>Tribes generally have no property interest in allotted trust lands. However, like tribal trust land, allotted trust lands cannot be alienated or encumbered without BIA approval.</p>
<p>Real estate transactions (lien recording, eviction, and foreclosure) are sometimes governed by tribal law but in other areas may be under the jurisdiction of state/local government laws.</p>
<p><strong>Unrestricted (Fee) Land Within Indian Areas</strong></p>
<p><strong> </strong></p>
<p>The term &#8220;fee title&#8221; or &#8220;fee simple title&#8221; generally denotes land in which the owner has an interest that entitles the owner to dispose of the entire property or various interests in the property without hindrance.</p>
<p>Loans on fee land located in an Indian area are eligible for a Section 184 loan guarantee.</p>
<p>Real estate transactions (lien recording, eviction, and foreclosure) are generally under the jurisdiction of state/local government laws. However, in some areas, fee land within the Indian area may be under the jurisdiction of tribal courts.</p>
<p><strong>Determining the Status of Proposed Home Sites</strong></p>
<p><strong> </strong></p>
<p>As a part of the initial application, the land status (tribal trust land, allotted or fee simple) of the proposed home site must be identified by the tribe. Lenders should send the Land Status and Jurisdiction.</p>
<h1>Roles And Processing Steps</h1>
<p><strong> </strong></p>
<p>The roles of principal participants are summarized below.</p>
<p><strong>Borrower Responsibilities</strong></p>
<p><strong> </strong></p>
<p>Individual, IHA/TDHE and Indian tribe borrowers are responsible for making an application for financing to an approved Section 184 lender; providing the information needed to enable the lender to determine the borrower’s qualification for mortgage financing; and abiding by the terms of the loan agreement, once the loan is approved.</p>
<p><strong> </strong></p>
<p><strong>Responsibilities of the Tribe</strong></p>
<p>Each tribe must enact policies and procedures for processing foreclosure and eviction actions or identify a State/County court that will enforce these procedures.</p>
<p>Tribes may also participate as a coordinator of the program by: assisting borrowers with loan applications; making available, through lease, trust lands for home sites; providing financial assistance to borrowers; and homebuyer education.</p>
<p><strong>Lender Responsibilities:</strong></p>
<p>Lenders accept and process borrower applications for financing, and, if the borrower qualifies, submit the loan application packages to HUD to request a firm commitment under the Section 184 Program. Lenders may contact the Program ONAP to determine eligibility, land status and other essential information.</p>
<p>Once HUD has approved the firm commitment, and a closing has taken place, the lender makes the loan to the borrower. The loan may be held in their portfolio or sold.</p>
<p>If a lender elects to participate as a Direct Guarantee lender, some procedures must be followed.</p>
<p>In the event of default, the lender has the option of either foreclosing or requesting assignment to HUD.</p>
<p><strong>HUD Responsibilities</strong></p>
<p><strong> </strong></p>
<p>The responsibility for review of tribal eligibility and land status issues lies with HUD’s Program Office of Native American Programs (ONAP). Responsibility for case number assignment, loan processing, underwriting, issuance of the firm commitment, and guarantee certificate also lies with HUD’s Program ONAP. HUD will:</p>
<ul>
<li>Issue a Section 184 case number to reserve Loan Guarantee Funds (if available) and issues the loan guarantee certificate after closing.</li>
<li>Review all underwriting recommendations submitted by lenders.</li>
<li>Approve or disapprove firm commitments based on lenders’ submissions.</li>
<li>For assigned loans, HUD determines the claim payment amount to be paid to the lender and may foreclose on the loan.</li>
<li>In the case of a foreclosure, HUD will sell the property to another eligible buyer.</li>
<li>For lender conveyed properties after completion of the foreclosure, HUD determines the claim amount paid to the lender and resells the property.</li>
</ul>
<p><strong>Role of the Bureau of Indian Affairs</strong></p>
<p><strong> </strong></p>
<p>For trust lands, BIA issues Title Status Reports (TSR) and reviews, approves, and records lease contracts, deeds of trust, leasehold mortgages and/or real estate mortgages.</p>
<p><strong>Indian Health Service Responsibilities</strong></p>
<p><strong> </strong></p>
<p>The Indian Health Service is available to evaluate the adequacy of water and sewer systems for Native Americans and may also provide for the cost and/or installation of water and sewer systems on an individual or community-wide basis.</p>
<p><strong>Federal Housing Administration (FHA) Loans:</strong></p>
<p>FHA mortgage programs are available to all buyers. These programs are designed to help creditworthy low-income and moderate-income families who do not meet requirements for conventional loans. FHA loan programs are particularly beneficial to those buyers with less available cash.</p>
<p><strong>FHA loan benefits:</strong></p>
<ul>
<li>Only requires a 3% down payment</li>
<li>Ability to finance closing costs</li>
<li>FHA has set limits on the amount lenders can charge for some closing cost fees (e.g. origination no more than 1% of mortgage).</li>
<li>Maximum mortgage amount can vary significantly by area. FHA adjusts this amount periodically based on certain economic variables. You should check with your local FHA office or approved lender to determine your maximum mortgage amount.</li>
<li>Under certain conditions, automatic cancellation of the FHA mortgage insurance premium</li>
</ul>
<p><strong>Department of Veterans Affairs (VA) Loans:</strong></p>
<p>VA loan programs are available to eligible veterans for the purchase of a home. The VA guaranty loans encourage lenders to offer loans to veterans by protecting lenders against loss if the borrower cannot make the payments. VA loans are particularly beneficial to those veterans that do not have much cash available. VA guidelines allow higher front-end and debt ratios compared to other loan programs.</p>
<p><strong>VA loan benefits:</strong></p>
<ul>
<li>No down payment requirement</li>
<li>More favorable interest rates are frequently offered by lenders because of the VA&#8217;s guaranty.</li>
<li>Ability to finance funding fee</li>
<li>No mortgage insurance premiums</li>
<li>Maximum loan amount may be 100% of appraised value of home, determined by a VA-approved appraiser or up to four times the VA eligibility entitlement.</li>
</ul>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fgovernment-loan-programs', 'Government+Loan+Programs')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fgovernment-loan-programs', title: '+Government+Loan+Programs+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/government-loan-programs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas Gifts</title>
		<link>http://studyjava.org/general/christmas-gifts</link>
		<comments>http://studyjava.org/general/christmas-gifts#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:15:15 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Christmas Gifts]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=341</guid>
		<description><![CDATA[Important things to make christmas special and enjoyment is the spirit of giving variety and peculiar gifts to our lovable kids, partner, initimate friends, relatives etc. This the season for good spirit, good cheer and good tidings. Yet somehow Christmas shopping doesn&#8217;t quite fit. For many, it is the ultimate challenge&#8211;the deadline, the budget, the [...]]]></description>
			<content:encoded><![CDATA[<p>Important things to make christmas special and enjoyment is the spirit of giving variety and peculiar gifts to our lovable kids, partner, initimate friends, relatives etc. This the season for good spirit, good cheer and good tidings. Yet somehow Christmas shopping doesn&#8217;t quite fit. For many, it is the ultimate challenge&#8211;the deadline, the budget, the crowds, and the eternal question of what to buy for whom. Don&#8217;t let shopping suck the joy out of your season. This guide will help lead you painlessly through the pre-holiday season so that you have time to focus on other enjoyable holiday activities:  Decorating, planning parties, or just plain kicking back with your friends and family.<br />
As children we can’t wait for Christmas morning to open presents. We thought in terms of receiving. As adults we think in terms of giving. And hopefully, our Christmas gifts are gifts of love.Men look for just the right gifts for women. Women usually shop for men, their own children as well as others, and for family and friends.<br />
Wishing you life&#8217;s fun, enjoy, best this Christmas and Prosperous New Year.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fchristmas-gifts', 'Christmas+Gifts')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fchristmas-gifts', title: '+Christmas+Gifts+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/christmas-gifts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download selected files as Zip Using JAVA</title>
		<link>http://studyjava.org/general/download-selected-files-as-zip-using-java</link>
		<comments>http://studyjava.org/general/download-selected-files-as-zip-using-java#comments</comments>
		<pubDate>Thu, 18 Mar 2010 15:54:52 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Zip Using JAVA]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=463</guid>
		<description><![CDATA[import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * This servlet class is used to download the list files as a zip */ public class ZipDownload extends HttpServlet{ private static final long serialVersionUID = 1L; public void doGet(HttpServletRequest request, HttpServletResponse response)    throws [...]]]></description>
			<content:encoded><![CDATA[<p>import java.io.File;</p>
<p>import java.io.FileInputStream;</p>
<p>import java.io.FileOutputStream;</p>
<p>import java.io.IOException;</p>
<p>import java.util.zip.ZipEntry;</p>
<p>import java.util.zip.ZipOutputStream;</p>
<p>import javax.servlet.ServletException;</p>
<p>import javax.servlet.http.HttpServlet;</p>
<p>import javax.servlet.http.HttpServletRequest;</p>
<p>import javax.servlet.http.HttpServletResponse;</p>
<p>/**</p>
<p>* This servlet class is used to download the list files as a zip</p>
<p>*/</p>
<p>public class ZipDownload extends HttpServlet{</p>
<p>private static final long serialVersionUID = 1L;</p>
<p>public void doGet(HttpServletRequest request, HttpServletResponse response)    throws ServletException, IOException {</p>
<p>doPost(request, response);</p>
<p>}</p>
<p>public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {</p>
<p>byte[] files = null;</p>
<p>try {</p>
<p>String random = this.generateRamdomCode(10, 15);</p>
<p>//Specify the files names seperated by &#8216;@!&#8217;</p>
<p>String reqFile = request.getParameter(&#8220;fileNames&#8221;);</p>
<p>if(reqFile != null &amp;&amp; reqFile.trim().length()&gt;0){</p>
<p>String filenames[] = reqFile.split(&#8220;@!&#8221;);</p>
<p>ZipOutputStream zipFile = new ZipOutputStream(new FileOutputStream(random + &#8220;.zip&#8221;));</p>
<p>for (String filename : filenames) {</p>
<p>try{</p>
<p>filename = filename.trim();</p>
<p>if(filename.length()&gt;0){</p>
<p>FileInputStream fin = new FileInputStream(filename);</p>
<p>File file = new File(filename);</p>
<p>zipFile.putNextEntry(new ZipEntry(filename.substring(filename</p>
<p>.lastIndexOf(&#8220;/&#8221;) + 1, filename.length())));</p>
<p>files = new byte[(int) file.length()];</p>
<p>fin.read(files);</p>
<p>zipFile.write(files);</p>
<p>fin.close();</p>
<p>zipFile.closeEntry();</p>
<p>}</p>
<p>}</p>
<p>catch (Exception e) {</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>}</p>
<p>zipFile.close();</p>
<p>FileInputStream zip = new FileInputStream(random + &#8220;.zip&#8221;);</p>
<p>File f = new File(random + &#8220;.zip&#8221;);</p>
<p>files = new byte[(int) f.length()];</p>
<p>zip.read(files);</p>
<p>zip.close();</p>
<p>f.delete();</p>
<p>//response</p>
<p>response.setContentType(&#8220;application/zip&#8221;);</p>
<p>response.setContentLength(files.length);</p>
<p>response.setHeader(&#8220;Content-Disposition&#8221;,</p>
<p>&#8220;attachment; filename=\&#8221;filename.zip\&#8221;");</p>
<p>try {</p>
<p>response.getOutputStream().write(files);</p>
<p>} catch (Exception e) {</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>catch (Exception e) {</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>finally {</p>
<p>}</p>
<p>}</p>
<p>private String generateRamdomCode(double min, double max){</p>
<p>String code = &#8220;&#8221;;</p>
<p>int totalChars = (int)((Math.random() * min)+max);</p>
<p>char startChar = &#8216;A&#8217;;</p>
<p>for(int i=0;i&lt;totalChars;i++){</p>
<p>int selNum = (int)(Math.random() * 13.0);</p>
<p>if(selNum &lt;= 4){</p>
<p>startChar = &#8216;A&#8217;;</p>
<p>code += (char)((Math.random()*26.0)+startChar);</p>
<p>}else if(selNum &gt;=5 &amp;&amp; selNum&lt;= 9){</p>
<p>code += (int)(Math.random() * 10.0);</p>
<p>}else if(selNum &gt;=10){</p>
<p>startChar = &#8216;a&#8217;;</p>
<p>code += (char)((Math.random()*26.0)+startChar);</p>
<p>}</p>
<p>}</p>
<p>System.out.println(code);</p>
<p>return code;</p>
<p>}</p>
<p>}</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fdownload-selected-files-as-zip-using-java', 'Download+selected+files+as+Zip+Using+JAVA')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fdownload-selected-files-as-zip-using-java', title: '+Download+selected+files+as+Zip+Using+JAVA+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/download-selected-files-as-zip-using-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purpose and Benefits of Virtual Social Community</title>
		<link>http://studyjava.org/general/purpose-and-benefits-of-virtual-social-community</link>
		<comments>http://studyjava.org/general/purpose-and-benefits-of-virtual-social-community#comments</comments>
		<pubDate>Thu, 18 Mar 2010 15:48:40 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[VIRTUAL SOCIAL COMMUNITY]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=480</guid>
		<description><![CDATA[Purpose of Virtual Social Community: The purpose of a virtual community helps to understand what it wants to accomplish, who is the target audience, and how participating in the community would benefit the members. The purpose of the community also helps to define both its structure, and what resources (time, information, and expertise) will be [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Purpose of Virtual Social Community:</strong></p>
<p><strong> </strong></p>
<p>The purpose of a virtual community helps to understand what it wants to accomplish, who is the target audience, and how participating in the community would benefit the members. The purpose of the community also helps to define both its structure, and what resources (time, information, and expertise) will be needed to run the community. Communities that have clearly stated goals appear to attract people with similar goals; this creates a stable community in which there is less hostility. A successful community serves a clear purpose in the lives of its members and meets the fundamental goals of its owners. Though communities evolve, and the purpose will change along with the shifting social and economic landscape of the Web, articulating the purpose up front will help to focus thinking and create a coherent, compelling, and successful Web community.</p>
<p>Virtual Community deals with Online interaction spaces and communities have been successfully set up to meet purposes such as: Consider:</p>
<ul>
<li>“Gathering” places where people converse, meet, get to know each other. Examples range from small spaces for families to large spaces for a wider public.</li>
<li>Discussing topics such as books, current events, news, global warming, technologies and chocolate details.</li>
<li>Socializing &#8211; informal connection places.</li>
<li>Gather better ideas to enhance the social community.</li>
<li>Planning and organizing (community groups, scout groups, sports teams)</li>
<li>Teambuilding &#8211; strengthening group relationships.</li>
<li>Relationship building &#8211; finding interesting people and getting to know them.</li>
<li>Work spaces for group meetings, interactions etc.</li>
<li>Learning spaces (all online or in combination with face-to-face learning, group or individual)</li>
<li>Information sharing &#8211; a place to share files and ideas.</li>
<li>Game playing &#8211; just having fun!</li>
</ul>
<p><strong>Three fundamental needs of virtual community members in their on-line activities:</strong></p>
<p><strong> </strong></p>
<ul>
<li>functional needs</li>
<li>social needs</li>
<li>psychological needs</li>
</ul>
<p><strong><span style="text-decoration: underline;">Functional needs:</span></strong></p>
<p><strong> </strong></p>
<p>Functional needs are met when community members go online to fulfill specific activities. It can be a transaction in which members buy and sell products or services. It also can support information gathering and seeking for both learning purposes and facilitating decision-making. It can be entertainment and fantasy or the convenience or value the virtual community provides to its members where information can be accessed without concerns about time and geographical limits.</p>
<p><strong><span style="text-decoration: underline;">Social needs:</span></strong></p>
<p><strong><span style="text-decoration: underline;"> </span></strong></p>
<p>Virtual communities are socially structured, convey social meaning, and meet social needs. These social needs may include relationship and interactivity among members since virtual communities give people with similar experiences the opportunity to come together, form meaningful personal relationships and communicate with each other in an interactive way; it may include trust between members and community owners and among community members which is the starting point in online communication; it may also include the fundamental function of any virtual community-communication.</p>
<p><strong> </strong></p>
<p><strong><span style="text-decoration: underline;">Psychological needs:</span></strong></p>
<p><strong> </strong></p>
<p>Psychological needs make the community a part of their lives. It is because of this social psychology that communities have become such a powerful organizing force in the world of commerce. Specifically, these psychological needs contain identification (who are they), involvement (what connects them), unity/belonging (what are they part of), relatedness (what relationships matter to them in the world), creative forms their communications can take, and the ‘‘there’’ provided by virtual communities in which they can learn new roles, cope with changes, and escape their everyday lives. Some will emphasize one need more than the others. But few will be able to succeed if they address one need to the exclusion of the others, because the strength of virtual communities rests in their ability to address multiple needs simultaneously.</p>
<p><strong>Virtual Community benefits are:</strong></p>
<ul>
<li>Easy access to top-notch coaching training and development</li>
<li>Connecting and networking with coaches worldwide</li>
<li>It’s inexpensive for people with high access costs &#8211; messages can be composed and read offline</li>
<li>Accumulate new appraisal from others vision.</li>
<li>Reaches and satisfies the End users in the community</li>
<li>Opportunities to learn from high-caliber speakers and leaders on a variety of topics and perspectives</li>
<li>A place where your voice can be expressed, heard and respected</li>
<li>A forum and space that you can help create and that will help you achieve your personal success</li>
<li>Good for meetings where you want to come to a conclusion with everyone there</li>
</ul>
<ul>
<li>Can have a real-time discussion</li>
</ul>
<ul>
<li>Opportunities for personal growth and contribution and to be part of our talented leadership team</li>
</ul>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fpurpose-and-benefits-of-virtual-social-community', 'Purpose+and+Benefits+of+Virtual+Social+Community')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fpurpose-and-benefits-of-virtual-social-community', title: '+Purpose+and+Benefits+of+Virtual+Social+Community+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/purpose-and-benefits-of-virtual-social-community/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display or download Files using servlet</title>
		<link>http://studyjava.org/ejb/display-or-download-files-using-servlet</link>
		<comments>http://studyjava.org/ejb/display-or-download-files-using-servlet#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:54:34 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[EJB]]></category>
		<category><![CDATA[Display or download Files using servlet]]></category>
		<category><![CDATA[Display using servlet]]></category>
		<category><![CDATA[download Files]]></category>
		<category><![CDATA[using servlet]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=466</guid>
		<description><![CDATA[import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * @author name * This servlet class is used to display or download the file * */ public class DownloadFile extends HttpServlet{ /** * */ private static final long serialVersionUID = 1L; public void doGet(HttpServletRequest request, [...]]]></description>
			<content:encoded><![CDATA[<p>import java.io.File;</p>
<p>import java.io.FileInputStream;</p>
<p>import java.io.IOException;</p>
<p>import java.io.InputStream;</p>
<p>import javax.servlet.ServletException;</p>
<p>import javax.servlet.ServletOutputStream;</p>
<p>import javax.servlet.http.HttpServlet;</p>
<p>import javax.servlet.http.HttpServletRequest;</p>
<p>import javax.servlet.http.HttpServletResponse;</p>
<p>/**</p>
<p>* @author name</p>
<p>* This servlet class is used to display or download the file</p>
<p>*</p>
<p>*/</p>
<p>public class DownloadFile extends HttpServlet{</p>
<p>/**</p>
<p>*</p>
<p>*/</p>
<p>private static final long serialVersionUID = 1L;</p>
<p>public void doGet(HttpServletRequest request, HttpServletResponse response)    throws ServletException, IOException {</p>
<p>doPost(request, response);</p>
<p>}</p>
<p>public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {</p>
<p>ServletOutputStream outputStream = null;</p>
<p>InputStream input = null;</p>
<p>try {</p>
<p>outputStream = response.getOutputStream();</p>
<p>String filePath = request.getParameter(&#8220;fileNames&#8221;);  //filepath</p>
<p>if(filePath != null &amp;&amp; filePath.trim().length()&gt;0){</p>
<p>String download = request.getParameter(&#8220;download&#8221;);//download or display</p>
<p>File prefile = new File(filePath);</p>
<p>byte buff[] = new byte[8192];</p>
<p>input = new FileInputStream(prefile);</p>
<p>String contenttype = filePath.substring(filePath.lastIndexOf(&#8220;.&#8221;)+1, filePath.length());</p>
<p>contenttype = contenttype.toLowerCase();</p>
<p>if(download != null &amp;&amp; download.trim().length()&gt;0){</p>
<p>response.setContentType(&#8220;application/octet-stream&#8221;);</p>
<p>}</p>
<p>else{</p>
<p>if (contenttype != null) {</p>
<p>String responseType = getResponseContentType(contenttype);</p>
<p>response.setContentType(responseType);</p>
<p>} else {</p>
<p>response.setContentType(&#8220;application/octet-stream&#8221;);</p>
<p>}</p>
<p>}</p>
<p>response.setHeader(&#8220;Content-Length&#8221;, String.valueOf(prefile.length()));</p>
<p>if(download != null &amp;&amp; download.trim().length()&gt;0){</p>
<p>response.setHeader(&#8220;Content-Disposition&#8221;,&#8221;attachment; filename=\&#8221;"+ prefile.getName()+&#8221;\&#8221;");</p>
<p>}</p>
<p>else{</p>
<p>response.setHeader(&#8220;Content-disposition&#8221;, (new StringBuilder(&#8220;inline; filename=&#8221;)).append(prefile.getName()).toString());</p>
<p>}</p>
<p>response.addHeader(&#8220;Cache-Control&#8221;, &#8220;no-transform, max-age=0&#8243;);</p>
<p>int i = 0;</p>
<p>while ((i = input.read(buff)) &gt; 0) {</p>
<p>outputStream.write(buff, 0, i);</p>
<p>outputStream.flush();</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>catch (Exception e) {</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>finally {</p>
<p>if (input != null)</p>
<p>input.close();</p>
<p>if (outputStream != null)</p>
<p>outputStream.close();</p>
<p>}</p>
<p>}</p>
<p>private String getResponseContentType(String contenttype){</p>
<p>String responseType = &#8220;&#8221;;</p>
<p>if(contenttype.indexOf(&#8220;doc&#8221;)&gt;-1){</p>
<p>responseType = &#8220;application/vnd.ms-word&#8221;;</p>
<p>}</p>
<p>if(contenttype.indexOf(&#8220;rtf&#8221;)&gt;-1){</p>
<p>responseType = &#8220;application/rtf&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;xls&#8221;)&gt;-1){</p>
<p>responseType = &#8220;application/vnd.ms-excel&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;ppt&#8221;)&gt;-1){</p>
<p>responseType = &#8220;application/ppt&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;xml&#8221;)&gt;-1){</p>
<p>responseType = &#8220;text/xml&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;html&#8221;)&gt;-1){</p>
<p>responseType = &#8220;text/html&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;htm&#8221;)&gt;-1){</p>
<p>responseType = &#8220;text/htm&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;txt&#8221;)&gt;-1 || contenttype.indexOf(&#8220;log&#8221;)&gt;-1){</p>
<p>responseType = &#8220;text/plain&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;pdf&#8221;)&gt;-1){</p>
<p>responseType = &#8220;application/pdf&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;gif&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/gif&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;png&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/png&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;jpg&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/jpg&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;jpeg&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/JPEG&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;jpe&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/JPEG&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;bmp&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/bmp&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;jpeg&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/JPEG&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;tiff&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/tiff&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;tif&#8221;)&gt;-1){</p>
<p>responseType = &#8220;image/tiff&#8221;;</p>
<p>}</p>
<p>else if(contenttype.indexOf(&#8220;html&#8221;)&gt;-1){</p>
<p>responseType = &#8220;text/html&#8221;;</p>
<p>}</p>
<p>else{</p>
<p>responseType = &#8220;application/octet-stream&#8221;;</p>
<p>}</p>
<p>return responseType;</p>
<p>}</p>
<p>}</p>
<p><strong>Configuration in web.xml</strong></p>
<p>&lt;servlet&gt;</p>
<p>&lt;servlet-name&gt;ViewFile&lt;/servlet-name&gt;</p>
<p>&lt;servlet-class&gt;com.org.servlet.DownloadFile&lt;/servlet-class&gt;</p>
<p>&lt;/servlet&gt;</p>
<p>&lt;servlet-mapping&gt;</p>
<p>&lt;servlet-name&gt;ViewFile&lt;/servlet-name&gt;</p>
<p>&lt;url-pattern&gt;*.viewfile&lt;/url-pattern&gt;</p>
<p>&lt;/servlet-mapping&gt;</p>
<p>&lt;mime-mapping&gt;</p>
<p>&lt;extension&gt;pptx&lt;/extension&gt;</p>
<p>&lt;mime-type&gt;</p>
<p>application/vnd.openxmlformats-officedocument.presentationml.presentation</p>
<p>&lt;/mime-type&gt;</p>
<p>&lt;/mime-mapping&gt;</p>
<p>&lt;mime-mapping&gt;</p>
<p>&lt;extension&gt;docx&lt;/extension&gt;</p>
<p>&lt;mime-type&gt;application/vnd.openxmlformats-officedocument.wordprocessingml.document&lt;/mime-type&gt;</p>
<p>&lt;/mime-mapping&gt;</p>
<p>&lt;mime-mapping&gt;</p>
<p>&lt;extension&gt;xlsx&lt;/extension&gt;</p>
<p>&lt;mime-type&gt;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&lt;/mime-type&gt;</p>
<p>&lt;/mime-mapping&gt;</p>
<p><strong>JSP Code&#8230;&#8230;</strong></p>
<p>&lt;form name=&#8217;form1&#8242; method=&#8221;post&#8221; action=&#8221;file.viewfile&#8221; target=&#8221;fileframe&#8221;/&gt;</p>
<p>&lt;input type=&#8217;hidden&#8217; name=&#8217;fileNames&#8217; id=&#8217;fileNames&#8217; value=&#8217;C:/path/resume.txt&#8217;/&gt;</p>
<p>&lt;input type=&#8217;hidden&#8217; name=&#8217;download&#8217; id=&#8217;download&#8217; value=&#8217;true&#8217;/&gt;//set as blank when u want to display</p>
<p>&lt;input type=&#8217;Submit&#8217; name=&#8217;Submit&#8217; id=&#8217;Submit&#8217; value=&#8217;Display&#8217;/&gt;</p>
<p>&lt;/form&gt;</p>
<p>&lt;frame&gt;&lt;/frame&gt;</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fejb%2Fdisplay-or-download-files-using-servlet', 'Display+or+download+Files+using+servlet')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fejb%2Fdisplay-or-download-files-using-servlet', title: '+Display+or+download+Files+using+servlet+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/ejb/display-or-download-files-using-servlet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIRTUAL SOCIAL COMMUNITY</title>
		<link>http://studyjava.org/general/virtual-social-community</link>
		<comments>http://studyjava.org/general/virtual-social-community#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:52:43 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[VIRTUAL SOCIAL COMMUNITY]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=478</guid>
		<description><![CDATA[VIRTUAL SOCIAL COMMUNITY A virtual community is a group whose members are connected by means of information technologies, typically the Internet. In other words, virtual community is a community of people sharing common interests, ideas, and feelings over the Internet (cyberspace) or other collaborative networks. “Virtual communities” can be described using key words such as [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong>VIRTUAL SOCIAL COMMUNITY</strong></p>
<p>A <strong>virtual community</strong> is a group whose members are connected by means of information technologies, typically the Internet. In other words, <strong>virtual community</strong> is a community of people sharing common interests, ideas, and feelings over the Internet (cyberspace) or other collaborative networks. “Virtual communities” can be described using key words such as <strong>‘‘social’’, ‘‘relationship’’, ‘‘virtual’’, ‘‘place’’, ‘‘group of people’’, ‘‘common interests’’, and ‘‘communication’’</strong>. A group sharing common interests in cyberspace rather than in physical space. Virtual communities exist in discussion groups, chat rooms, listserv, listprocs, those that are embedded in Web sites, multi-user dungeons or domains (MUDs) and object-oriented (MOOs), and newsgroups. Similar terms include online community and mediated community.</p>
<ul>
<li>Online Chat</li>
<li>Electronic mailing list</li>
<li>Online forum</li>
<li>MUD</li>
</ul>
<p><strong>Importance of Virtual Social Community:</strong></p>
<p><strong> </strong></p>
<p>The need for virtual community from both the vendors’ and members’ perspectives. They believe that virtual communities are not about aggregating information and other kinds of resources; rather, virtual communities are about <strong>aggregating people</strong>. People are drawn to virtual communities because they provide an engaging environment in which to connect with other people. The basis of this connection is essentially based on people’s desire to meet four basic <strong><em>needs: interests, relationship, fantasy</em></strong>, and <strong><em>transaction</em></strong>. As consumers most of us have passionate interests, may it be sports, entertainments, travel, or other professional interests. Virtual communities have created on-line services that enable members to share information on topics of common interest. Besides, the network environments also give people the opportunity to come together and explore new worlds of fantasy and entertainment where they can ‘‘try out’’ new persons and to engage in role-playing games where everything seems possible. Virtual communities can also meet the members’ needs to transact by meeting on-line through the trading of information between participants. Members with a strong interest in certain kinds of products and services are gathering to exchange information and experiences regarding purchasing.</p>
<p><strong>The following framework to define the virtual community concept:</strong></p>
<p><strong> </strong></p>
<h1><span style="text-decoration: underline;">Virtual community as Place:</span></h1>
<p>For the understanding of online community, people often make it analogous to physical community. In the latter, people group themselves into aggregated physical villages that they call communities urban, rural, or suburban; people also group themselves into symbolic subdivisions based on lifestyle, identity, or character that they call communities religious, professional, or philosophical. Analogously, a virtual community can be conceived as a place where people can develop and maintain social and economic relationships and explore new opportunities. We can perceive virtual communities as social organizations centered around certain commonalities such as fellowship (e.g., Jewish or Amish communities), profession (e.g., WELL) or interest (e.g., wine.com). They are places where discussions about commitment, identity, conflict resolution, tensions between the collectives and the individual, and negotiation of community boundaries are conducted.</p>
<p><strong><span style="text-decoration: underline;">Virtual community as Symbol:</span></strong></p>
<p><strong><span style="text-decoration: underline;"> </span></strong></p>
<p>‘‘<strong><em>Community as a complex of ideas and sentiments</em></strong>’’ where virtual community exists in the minds of participants. It exists because participants define it and give it meaning. Virtual community has its own cultural composition; it has its own collective sense, and its own virtual ideology and symbol. It should be noted that the symbolic dimension of virtual community is made possible by CMC. Social relations occurred and construct symbolic processes initiated and maintained by the community between and among individuals and groups.</p>
<p><strong><span style="text-decoration: underline;">Virtual community as Virtual</span></strong><span style="text-decoration: underline;">:</span></p>
<p><span style="text-decoration: underline;"> </span></p>
<p>Virtual communities are characterized by common value systems, norms, rules, and the sense of identity, commitment, and association that also characterize various physical communities. ‘‘Virtual’’ means something akin to ‘‘unreal’’ and so the entailments of calling online communities ‘‘virtual’’ include spreading and reinforcing a belief that what happens online is like a community, but isn’t really a community. This may explain why people in the online world tend to see online communities as virtual, but participants in the online communities see them as quite real. But if one agrees that communication is the core of any community, then a virtual community is real whether it exists within the same physical locality or half a world away.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fvirtual-social-community', 'VIRTUAL+SOCIAL+COMMUNITY')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fvirtual-social-community', title: '+VIRTUAL+SOCIAL+COMMUNITY+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/virtual-social-community/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NANOTECHNOLOGY</title>
		<link>http://studyjava.org/general/nanotechnology</link>
		<comments>http://studyjava.org/general/nanotechnology#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:47:22 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[NANOTECHNOLOGY]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=483</guid>
		<description><![CDATA[NANOTECHNOLOGY OVERVIEW Nanotechnology is the manipulation of matter on the nanoscale. A nanometer is a very small measure of length-it is one billionth of a meter, a length so small that only three or four atoms lined up in a row would be a nanometer. So, nanotechnology involves designing and building materials and devices where [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NANOTECHNOLOGY</strong></p>
<p><strong>OVERVIEW</strong></p>
<p><strong> </strong></p>
<p>Nanotechnology is the manipulation of matter on the nanoscale. A nanometer is a very small measure of length-it is one billionth of a meter, a length so small that only three or four atoms lined up in a row would be a nanometer. So, nanotechnology involves designing and building materials and devices where the basic structure of the material or device is specified on the scale of one or a few nanometers. Ultimately, nanotechnology will mean materials and devices in which every atom is assigned a place, and having every atom in the right place will be essential for the functioning of the device.</p>
<p>The kinds of product that could be built will range from microscopic, very powerful computers to super strong materials ten times as strong as steel, but much lighter too, food to other biological tissues. All these products would be very inexpensive because the molecular machines that built them will basically take atoms from garbage or dirt, and energy from sunshine, and rearrange those atoms into useful products, just like trees and crops take dirt, water and sunshine and rearrange the atoms into wood and food.</p>
<p>Nanotechnology cannot be defined as a definite branch of science but different from the conventional ones that we have as of now. It is set to encompass all the technological aspects that we have today and is nothing but the extension of scientific applications to a microscopic scale and thereby reaching closer to perfection if not right there.</p>
<p>The mechanical applications of nanotechnology are immense as it is in any other technological field. It concentrates on certain applications of interest viz. <strong>Carbon Nanotubes, Nanomachines</strong> and other related fields.</p>
<p><strong>Carbon nanotubes</strong> are cylindrical molecules with dimensions in the range of nanometers. They are constituted of carbon atoms only, and can essentially be thought of as a layer of graphite rolled-up into a cylinder. They have an impressive list of attributes. They can behave like metals or semiconductors, can conduct electrically better than copper, can transmit heat better than diamond, and they rank among the strongest materials known- not bad for structures that are just a few nanometers across. Several decades from now we may see integrated circuits with components and wires made from nanotubes and may be even buildings that can snap back into shape after an earthquake.</p>
<p><strong>Nanomachines</strong> are extremely small machines which are built from individual atoms. During the 1980’s and 1990’s, futurist and visionary K.Eric Drexler popularized the potential of nanomachines. ‘Nanomachines’ include replicas of present day machines(nanogears,nanopumps etc;) as well as  new  machines that do not have analog in the present world, like the assembler. The assembler is a nanomachine designed to manipulate matter as the atomic level.</p>
<p><strong>M.E.M.S</strong> OR Micro Electronic Mechanical Systems, Nano tools, the Biotechnology, Nanotechnology interface, Nanomedicines and Quantum Computing are some of the fields falling close to the above discussed and this paper throws light into these aspects.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fnanotechnology', 'NANOTECHNOLOGY')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fnanotechnology', title: '+NANOTECHNOLOGY+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/nanotechnology/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CARBON NANOTUBE</title>
		<link>http://studyjava.org/general/carbon-nanotube</link>
		<comments>http://studyjava.org/general/carbon-nanotube#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:46:44 +0000</pubDate>
		<dc:creator>rathi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[CARBON NANOTUBE]]></category>

		<guid isPermaLink="false">http://studyjava.org/?p=485</guid>
		<description><![CDATA[CARBON NANOTUBE In 1991, a Japanese scientist Sumio Iijima used a high-resolution transmission electron microscope to study the soot created in an electrical discharge between two carbon electrodes at the NEC Fundamental Research Laboratory in Tsukuba, Japan. He found that the soot contained structures that consisted of several concentric tubes of carbon, nested inside each [...]]]></description>
			<content:encoded><![CDATA[<p><strong>CARBON NANOTUBE</strong></p>
<p>In 1991, a Japanese scientist Sumio Iijima used a high-resolution transmission electron microscope to study the soot created in an electrical discharge between two carbon electrodes at the NEC Fundamental Research Laboratory in Tsukuba, Japan. He found that the soot contained structures that consisted of several concentric tubes of carbon, nested inside each like Russian dolls. These were termed as ‘Carbon Nanotubes’.</p>
<p>Later efficient ways of making large quantities of these multiwall nanotubes were developed. Subsequently, 1993, single-wall nanotubes were tens of nanometers across, the typical diameter of a single-wall nanotube was just one or two nanometers. The past decade has seen an explosion of research into both types of nanotube.</p>
<p>Today, nanotubes can be grown efficiently by the catalytic decomposition of a reaction gas that contains carbon, with iron often being used as the catalyst. This process has two main advantages. First, the nanotubes are obtained at much lower temperature, although this is at the cost of lower quality. Second, the catalyst can be grown on a substrate, which allows novel structures, such as ‘nanobrushes’, to be obtained. Currently nanotubes can be grown to lengths exceeding 100 microns, and in various shapes such as ‘nanosprings’.</p>
<p>A nanotube can be considered as a single sheet of graphite that has been rolled up into a tube. The electronic properties of the resulting nanotube depend on the direction in which the sheet was rolled up. Some nanotubes are metals with high electrical conductivity, while others are semiconductors with relatively large band gaps. Nanotubes also have remarkable mechanical properties that cam be exploited to strengthen materials or to act as ‘tips’ in scanning probe microscopes. And since they are composed entirely of carbon, nanotubes also have a low specific weight.</p>
<p><strong>MECHANICAL PROPERTIES OF CARBON NANOTUBES</strong></p>
<p>In a sheet of graphite each carbon atom is strongly bonded to three other atoms, which makes graphite very strong in certain directions. However, adjacent sheets are only weakly bound by vander waals forces, so layers of graphite can be easily pealed apart as happens when writing with a pencil. As we shall see, it is not easy to peel a carbon layer from a multiwall nanotube. Carbon fibre is already used to strengthen a wide range of materials, and the special properties of carbon nanotubes mean that they could be the ultimate high strength fibre.</p>
<p>Lieber and his co-workers went on to explore larger forces and deformations and compared carbon nanotubes with nanorods made from silicon carbide, another very strong material. What they found was surprising whereas the silicon-carbide nanorods eventually fractured the multiwall carbon nanotubes buckled, but did not break. This behaviour has since been confirmed in several experiments in which the nanotubes are either bent or compressed along their length.</p>
<p>Carbon nanotubes got a peculiar feature that they first bend over to surprisingly large angles, before they start ripple and buckle, and then finally develop kinds as well. The amazing thing about the carbon nanotubes is that these deformations are elastic- they all disappear completely when the load is removed.</p>
<p>To see how these properties might be useful, imagine owning a BMW car made from carbon nanotubes and being unlucky enough to crash into a wall. Due to high force of the impact, the nanotubes would bend and then buckle, squeezing your BMW into the shape of something like a Volkswagen Beetle. This would happen relatively long distance, which would provide an effective ‘crunch zone’. Moreover, after the crash all the buckles and kinks would unfold and your BMW would ‘reappear’ as if nothing had happened! To be completely safe, however, the nanotubes would have to be combined with energy-absorbing materials, otherwise the collision between the car and the wall would be completely elastic and you would rebound from the wall with the same speed as you hit it! Other, less futuristic applications might include light weight bullet proof vests and earthquake-resistant buildings, while nanotubes tips for scanning probe microscopes are already commercially available.</p>
<p>The high strength of carbon nanotubes makes them promising candidates in reinforcement applications but there are many outstanding problems that must be overcome. First, the properties of the individual tubes must be optimized. Second, the tubes must be efficiently bonded to the material they are reinforcing so that they actually carry the loads. Third, the load must be distributed within the nanotube itself to ensure that the outermost layer does not shear off.</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fcarbon-nanotube', 'CARBON+NANOTUBE')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fstudyjava.org%2Fgeneral%2Fcarbon-nanotube', title: '+CARBON+NANOTUBE+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://studyjava.org/general/carbon-nanotube/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
