<?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>ineedtutorials.com &#187; Java</title>
	<atom:link href="http://www.ineedtutorials.com/tag/java/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ineedtutorials.com</link>
	<description>Information made easy</description>
	<lastBuildDate>Thu, 14 May 2009 15:17:16 +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>Java Web Start</title>
		<link>http://www.ineedtutorials.com/code/java/java-web-start</link>
		<comments>http://www.ineedtutorials.com/code/java/java-web-start#comments</comments>
		<pubDate>Thu, 14 May 2009 15:17:16 +0000</pubDate>
		<dc:creator>Gertjan</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[java web start]]></category>

		<guid isPermaLink="false">http://www.ineedtutorials.com/?p=266</guid>
		<description><![CDATA[In the growing market of the software industry today, users are clamoring for client applications that can be run not only from a desktop environment but also from the Internet. Users want the same functionality and support from Web-based applications as they get from those on their desktop, preferably packed with a thin-client interface. The [...]]]></description>
			<content:encoded><![CDATA[<p>In the growing market of the software industry today, users are clamoring for client applications that can be run not only from a desktop environment but also from the Internet. Users want the same functionality and support from Web-based applications as they get from those on their desktop, preferably packed with a thin-client interface. The most common solution, currently, is to develop two separate Java applications: one that executes as a desktop application and one that simulates much of the functionality of a desktop application, but is accessed from the Web. This is a burden to developers, who are required to write two separate applications that perform the same on different execution environments, but it is also a financial burden to software companies, which are forced to provide support for two separate applications. To alleviate this problem, Sun Microsystems has introduced Java Web Start, a client-side technology that enables Java applications to launch either from a desktop or from a Web page. This eliminates the need to develop Java support for Web applications, and also provides an efficient means to upgrade, maintain, and manage client-side Java applications with the support of any common Web server.<br />
<span id="more-266"></span><br />
<strong>What is Java Web Start?</strong></p>
<p>Java Web Start is a software technology that encompasses the portability of applets, the maintainability of Servlets and JavaServer Pages (JSP) technology, and the simplicity of markup languages such as XML and HTML. It is a Java-based application that allows full-featured Java 2 client applications to be launched, deployed, and updated from a standard Web server. Upon launching Java Web Start for the first time, the user may download new client applications from the Web; thereafter these applications may be initiated either through a link on a Web page or (in Windows) from desktop icons or the Start menu. Applications initialize quickly under Java Web Start, are cached on the client machine, and can be launched remotely offline. Additionally, because Java Web Start is built from Java 2 technology, it inherits the Java platform&#8217;s complete security architecture.</p>
<p>Since Java Web Start is, in itself, a Java application, the software is platform independent and can be supported on any client system that supports the Java 2 platform. Java Web Start performs an update automatically when a client application is launched, downloading the latest code from the Web while simultaneously loading the application from a previous cache (provided that a cache exists). Java Web Start also provides a Java Application Manager utility, allowing end-users to organize their Java applications as well as providing a variety of options, such as clearing the cache of downloaded applications, specifying the use of multiple JREs, and setting HTTP proxies. </p>
<p>Link: <a href="http://www.ibm.com/developerworks/java/library/j-webstart/?open&#038;t=grj,l=766,p=jWebStart">Java Web Start </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ineedtutorials.com/code/java/java-web-start/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Basics of PHP</title>
		<link>http://www.ineedtutorials.com/code/php/basics-of-php</link>
		<comments>http://www.ineedtutorials.com/code/php/basics-of-php#comments</comments>
		<pubDate>Tue, 29 Jul 2008 01:27:07 +0000</pubDate>
		<dc:creator>Gertjan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[how to use php]]></category>
		<category><![CDATA[HTML coding]]></category>
		<category><![CDATA[hypertext preprocessor]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Microsoft C]]></category>
		<category><![CDATA[personal home page]]></category>
		<category><![CDATA[programming languages]]></category>
		<category><![CDATA[secure your website]]></category>
		<category><![CDATA[web forms]]></category>

		<guid isPermaLink="false">http://www.ineedtutorials.com/articles/basics-of-php</guid>
		<description><![CDATA[By Jeremy Gislason Practical Uses of PHP It almost goes without saying that you will want your business website to be compelling, interactive, and secure. All of these characteristics will make your website more effective at bringing in and keeping customers. But how to go about it in a way that is stable, cost-effective, and [...]]]></description>
			<content:encoded><![CDATA[<p>By Jeremy Gislason</p>
<p>Practical Uses of PHP </p>
<p>It almost goes without saying that you will want your business website to be compelling, interactive, and secure.  All of these characteristics will make your website more effective at bringing in and keeping customers.  But how to go about it in a way that is stable, cost-effective, and easy to manage?  One popular solution is to use the server-side scripting language PHP to help you solve those problems.</p>
<p>What is PHP?</p>
<p>Created in 1995, PHP originally stood for &#8220;Personal Home Page&#8221;, however it is now generally understood to mean &#8220;PHP: Hypertext Preprocessor&#8221;.  It was originally designed to create dynamic or more interactive web pages.  It is a widely-used, open-source, general-purpose scripting language.  PHP is a &#8220;high-level&#8221; language, meaning that it&#8217;s generally more human-friendly (and easier to learn) than other programming languages such as C, ASP or ASP.net.</p>
<p>PHP was originally designed for use in Web site development, but rapidly grew to become a much more robust language.  PHP&#8217;s primary use is as an &#8220;embedded&#8221; scripting language, which means that the actual PHP code is embedded in HTML code.  When used in this way, PHP enables your web server to process web pages before they&#8217;re displayed in the user&#8217;s web browser.<br />
Benefits of PHP <br /><span id="more-32"></span><br />
<br />
PHP is popular because it can be embedded directly into HTML coding.  </p>
<p>PHP can be used on all major operating systems and is supported on most web servers.  </p>
<p>PHP&#8217;s main focus is development for the web, so it has a quick development time and can solve scenarios much quicker than some of the other web design languages.  </p>
<p>The latest version of PHP is a very stable and mature language used for web programming much like Java and Microsoft C#. </p>
<p>It is open source so it is free!  </p>
<p>Database: It is very easy to write simple scripts which allow your Web site to interact with a database. </p>
<p>Cross-Platform: Both the PHP engine and the PHP code can be used on almost any platform, making it extremely versatile. </p>
<p>Development Tools: You only need a text editor to work on PHP; you do not need any development environment or compilers. </p>
<p>What can you do with PHP?</p>
<p>PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output, however you can also use it for command-line scripting and client-side GUI applications.   PHP is an extremely versatile language which enables you to create high-end, stable Web sites with plenty of bells and whistles. Here are just a few of the things you can do with PHP:</p>
<p>Make HTML Web Forms </p>
<p>Store Information in Databases </p>
<p>Remember Web site visitors (cookies and sessions) </p>
<p>Work with Arrays </p>
<p>Work with Files (File Management and downloads) </p>
<p>Parsing and Generating XML (also useful for large quantities of products on e-commerce) </p>
<p>Check which browser your visitor is using </p>
<p>How does PHP Work?</p>
<p>As its name (&#8220;PHP: Hypertext Preprocessor&#8221;) suggests, PHP derives its power by &#8220;preprocessing&#8221; hypertext on the server side.  This generally means that when the PHP script (saved as a .php file) runs on your web server, it performs the programmed actions, and returns HTML code that will then be sent back to your customer&#8217;s web browser.  The PHP script itself is not included in the HTML that is sent to the browser, so the PHP code is invisible and secure to the user.</p>
<p>For example, let&#8217;s consider the following simple PHP statement.  (This example is merely to show the basic syntax of PHP in action.  Any detailed discussion of PHP code is beyond the scope of this article.)</p>
<p>In this statement,  is the closing tag, and echo is a PHP instruction that tells PHP to output the text that follows it as plain HTML code. The PHP software processes the PHP statement and outputs the following:</p>
<p>Hello World	</p>
<p>This is a regular HTML statement that is delivered to the user’s browser. The PHP statement itself is not delivered to the browser, so the user never sees any PHP statements.</p>
<p>Using PHP to Improve Your Website.</p>
<p>PHP has many capabilities features designed specifically for use in Web sites, including the following:</p>
<p>1.	Securing Your Website.</p>
<p>PHP can be used to secure your website (or certain areas of your website) so that your customer must enter a valid username and password.  This can be used to reward preferred customers and to build an exclusive &#8220;membership&#8221; component of your business.</p>
<p>2.	Working with Web Forms.</p>
<p>PHP can display an HTML form and process the information that the user types in.  This can be an excellent way to learn more about your customers by asking them to provide profile information, and to collect information about their specific interests.</p>
<p>3.	Communicate with Your Databases.</p>
<p>PHP is particularly adept at interacting with your databases, and storing information from the user or retrieving information that is displayed to the user.  PHP handles connecting to the database and communicating with it, so it&#8217;s not necessary to know all of the technical details for connecting to or exchanging messages with the database. You tell PHP the name of the database and where it is, and PHP handles the details. All major databases are currently supported by PHP.</p>
<p>4.	Customer Loyalty Functions.</p>
<p>You can also use PHP to create a number of different functionalities on your website that will further help you to build customer loyalty, including interactive polls, a guestbook, and a message board.</p>
<p>The popularity of PHP continues to grow rapidly because it has many advantages over other technical solutions.  PHP is fast (because it&#8217;s embedded in the HTML code, the time to process and load a Web page is relatively short), PHP is free (it is open-source software), and PHP is versatile (is runs on a wide variety of operating systems, including Windows, Mac OS, Linux, and most Unix variants).</p>
<p>Perhaps most importantly, PHP is a very well-established language.  There are many user-run Internet communities that make very large amounts of information (and scripts) available.  With so much experience behind it, using PHP for certain dynamic features can be a cost-effective and low-hassle way of increasing the stability of your website.</p>
<p>
		Jeremy Gislason is a leading expert on membership sites, marketing and online business. For more Business Strategies, <a target="_blank" href="http://www.memberspeed.com">Membership Site Software</a> and Information visit <a target="_blank" href="http://www.memberspeed.com">MemberSpeed.com</a></p>
<p>Article Source: <a href="http://www.free-articles-zone.com/author/14886">http://www.free-articles-zone.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ineedtutorials.com/code/php/basics-of-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Common Java Errors</title>
		<link>http://www.ineedtutorials.com/code/java/fixing-common-java-errors</link>
		<comments>http://www.ineedtutorials.com/code/java/fixing-common-java-errors#comments</comments>
		<pubDate>Mon, 28 Jul 2008 00:06:50 +0000</pubDate>
		<dc:creator>Gertjan</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[common]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[programming language rules]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.ineedtutorials.com/articles/fixing-common-java-errors</guid>
		<description><![CDATA[By: Ashwak Sarhan Whether you are just starting your first Java program, or you are a well experienced programmer, your code can not be an error free code and compile successfully from the first time. At the least you may confuse variable names, forget to declare a variable, or miss a semicolon. Java language errors, [...]]]></description>
			<content:encoded><![CDATA[<p>By: Ashwak Sarhan</p>
<p>Whether you are just starting your first Java program, or you are a well experienced programmer, your code can not be an error free code and compile successfully from the first time. At the least you may confuse variable names, forget to declare a variable, or miss a semicolon. <span id="more-26"></span></p>
<p>Java language errors, just like all other programming languages, can be either syntax errors or logical errors. Syntax errors, also called compile time errors, are illegal use of statements in terms of programming language rules. When the compiler catches them it generates an error message indicating the class name, line number where the error is found, and the type of error. However, sometimes the actual error may not actually be in the line indicated in the message. You would want to look in and somewhere before these lines to locate the error.</p>
<p>This happens because syntax errors can be tricky sometimes; one error may lead to more than one error message. A missing semicolon for example causes the following one or more lines to be invalid, and thus generates error messages for all of them. Once you fix that error, all following messages will be cleared. </p>
<p>When writing a program with Java, syntax errors are almost unavoidable, so do not panic or get disappointed when you encounter them. Some of these errors are very common and you are very likely to encounter one or more of them when compiling your code. The fact is, you cannot avoid them. So the best way to deal with them is to get yourself familiar with them and know how to fix them. Below are some of the most common errors along with their solutions.</p>
<p>Capitalization Errors: Java language is case sensitive, variable names must be exactly the same, Total is not the same as total and not the same as toTal. </p>
<p>The file name is different than the public class name: The class should be saved in a file with exactly the same name; a Shirt class should be saved in a file named Shirt.java. Saving it to a different file name will give a compiling error.</p>
<p>Javac cannot find the class: When you save your classes, or source codes, they have to be in the very same directory where your javac.exe is. This file is responsible for compiling your codes and is created automatically when you download and successfully install the DSK machine. Generally you would install the SDK into your C: drive so there where your javac file will reside. Thus when saving your source code you need to save it in the C: directory in a folder named java.</p>
<p>&#8220;javac is not recognized as an internal or external command, operable program or batch file&#8221; (for Windows System) or &#8220;javac: Command not found&#8221; (for UNIX System): This means that your compiler cannot find your javac. This is due to one of two reasons, either you do not have a javac at all because you did not install the correct machine, or you did not set your PATH correctly. In this case you need to properly set your PATH, or you will have to type in the full file name path to execute it.</p>
<p>&#8220;Exception in thread &#8220;main&#8221; java.lang.NoClassFoundError: &#8216;fileName&#8217;: You probably misspelled the fileName, remember that java is case sensitive.</p>
<p>&#8220;Line nn: &#8216;;&#8217; expected&#8221;: This means you moved to a new line without signaling to the compiler. When your string, or code line, is too long to fit in one line, you may want to split into two lines. Doing that just by pressing the Enter key will confuse the compiler and generate an error. Instead you will need to concatenate with a &#8216;+&#8217; sign. That is split your string into two lines, ending the first with a &#8216;+&#8217; before moving to the second line.</p>
<p>Author Bio<br />
Ashwak Sarhan is a Java tutor for Baker College Online.</p>
<p>Article Source: <a href="http://www.ArticleGeek.com/">http://www.ArticleGeek.com &#8211; Free Website Content</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ineedtutorials.com/code/java/fixing-common-java-errors/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
