FREE tutorial,solution,RSS Feeds on Operating Systems, Programming, Web Development, Applications, Databases, Networking, Hardware, Security, SEO Free Expertsforge Membership
Join us as Moderator
Submit Article to Expertsforge.com Submit Article My Expertsforge
 
RSS Feeds, Help Help RSS Feeds
bannertop
 

Java Tutorial: Basic Java FAQs While Programming

gravikumar
2/11/2005 4:33:02 PM, Views: 1872
Below are some basic FAQ's while working with Java

1.Java is a programing language that lets you create programs for the Web called Java Applets. These applets can be inserted into your pages to add powerful interactive features. Sun Microsystems describes applets in this way:

"An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included. When you use a Java technology-enabled browser to view a page that contains an applet, the applets code is transferred to your system and executed by the browsers Java Virtual Machine (JVM)."

2.What is the difference between a Java Applet and a JavaScript?

Java is a programming language; JavaScript is a scripting language. Java applets are more like a whole programs, while JavaScripts are usually components of a Web page that extend your pages functionality by utilizing special features of Web browsers. Java Applets and JavaScripts both allow you to add interactive features to your Web pages, but Java Applets are far more customizable and powerful but harder to work with. To create Java Applets, you need specialized software. JavaScripts can be created in any program that allows you to edit the HTML, although there are many programs available that make creating them easier. To get a better idea of the difference between the two, see JavaBoutiquess Java versus JavaScript article.

3.What do you need to do differently to insert Java Applets and JavaScripts into your pages?

With JavaScripts, usually all you usually have to do is cut and paste some code (or add your own) into your Web pages HTML. Occasionally, you have to upload an additional .js file. With Java Applets, you will always have to upload at least one .class file, and often other types of files. You wont be able to alter these .class files without using special software. JavaScript source code, by contrast, is fully editable.

4.Whats the best way to get started using Java Applets?

There are many sites on the Internet where you can download free applets. Many of these have subtle labels that show the applets author. To remove these labels you may need to pay a small registration fee. You can find many applets that dont include these labels, but they may not be quite as polished as the labeled ones. You can always write your own applets from scratch, but youll need special software. To create your own Java applets youll also probably need some prior programing experience or someone to guide you through the process.
Next Steps:
Add this Tutorial to:
Blink Blink del.icio.ous Del.icio.us Digg Digg
Fark Fark Furl Furl Google Google
Reddit Reddit Simpy Simpy Spurl Spurl
Technorati Technorati Windows Live Win Live Yahoo Yahoo
Rate Me!
Not Yet Rated!
Rate:
Send Private MessageSend Message
Signup / Login To View the Solution or Provide Comments
Post Comment/Solution
Comment:*
        (Link Rules) 
  Use : [bold] for <b>; [/bold] for </b>; [italic] for <i>; [/italic] for </i>; [code] & [/code] for code
 
Categories
Options
Java RSS Feed
gravikumar
Most Popular Tutorial
Most Popular Solution
Top Rated
Top Rankers
Overall
1. jawahar (250)
2. gravikumar (200)
Yearly -2008
No Rankings!
Expertsforge Sponsors
bnrtop