aspose file tools*
The moose likes Beginning Java and the fly likes Creation of Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Creation of Java" Watch "Creation of Java" New topic
Author

Creation of Java

java tech
Greenhorn

Joined: Jul 13, 2005
Posts: 4
Hi friends
I always wondered what is the need of java when we have languages like C through which we can program most efficiently and a language like C++ which implements OOPs principle which help organize complex program through the use of inheritance, encapsulation and polymorphism .When I tried to find out the answer to my query I realized it is the �Complexity� that we need another language java for programming.
Java was first conceived by James Gosling, Patrick Naughton, Chris Warth, Ed frank and Mike Sheridan at Sun Microsystems in 1991.The language was initially called �OAK� but was renamed as JAVA.

There is a vast amount of similarity between C++ and Java. First, Java was designed ,tested and refined by real working programmers. It is a programmer�s language. Second, Java is cohesive and logically consistent. Third it gives programmer full control. Its because of similarities between Java and C++, people mostly think of Java as simply the Internet version of C++. But it is a big Myth. Java is neither upwardly nor downwardly compatible with C++.

The common thought is that the original impetus for java is internet, instead the primary motivation was the need for a platform-independent language that could be used to create software to be embedded in various consumer electronics devices, such as microwave ovens and remote controls. Many different type of CPUs are used as controllers.

The trouble with C and C++ is that they are designed to be compiled for a specific target .Although it is possible to compile a C++ program for any type of CPU but we require a full C++ compiler targeted for CPU. The major problem that comes in is that it is expensive and time consuming to create. A easier and cost efficient solution was needed, this effort led to creation of Java.

The second force was World Wide Web. Java can be used to create two types of programs Application and Applets.
Application is a program that runs on an computer under the Operating System of our computer. Applet is a application designed to be transmitted over the Internet and executed by a java compatible web browser. It is a program that can react to user input and dynamically change. Two fundamental problem associated with this is Security and Portability. Java answers to both these concerns by providing a firewall between a networked application and over computer.

To overcome the problem of portability we translate java in bytecode. Byte code is highly optimized set of instruction designed to be executer by java runtime system Java Virtual Machine. Once run-time Package exists for a given system, any java program can run on it. Sun supplies Just In Time (JIT) computer for bytecode. It compiles bytecode into executable code in real time on demand basis that is it compiles when its needed. This yields significant performance boost.
The initial release of Java was nothing short of revolutionary, but it did not mark the end of Java�s era of rapid innovation. It is just the beginning.
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

Okay...
Manuel Moons
Ranch Hand

Joined: Mar 05, 2002
Posts: 229
I'd say. Yes to that question! (-;
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Hi "java tech",

welcome at the Ranch!

You might have missed that we have a naming policy we care very much about. More specifically, we like everyone to be known by a reasonable first and last name. Please adjust your display name accordingly.

Thanks, and have fun!


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Hentay Duke
Ranch Hand

Joined: Oct 27, 2004
Posts: 198
I think I've stumbled onto the wrong ranch. First a C++ question, and now a history lesson!
Raymond Villeno
Ranch Hand

Joined: Jun 21, 2005
Posts: 63
IQ + C++ = JAVA



"Work Smart Not Hard"
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by Hentay Duke:
I think I've stumbled onto the wrong ranch. First a C++ question, and now a history lesson!


But it was good.
Jayesh Lalwani
Ranch Hand

Joined: Nov 05, 2004
Posts: 502
Originally posted by java tech:
Hi friends


The trouble with C and C++ is that they are designed to be compiled for a specific target .Although it is possible to compile a C++ program for any type of CPU but we require a full C++ compiler targeted for CPU. The major problem that comes in is that it is expensive and time consuming to create. A easier and cost efficient solution was needed, this effort led to creation of Java.


But, compared to creating a compiler, isn't it more time consuming and expensive to implement a JVM for a new platform??
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

Originally posted by rathi ji:

But it was good.


For some limiting values of "good" as correctness and quality tend toward zero.


[Jess in Action][AskingGoodQuestions]
Rick O'Shay
Ranch Hand

Joined: Sep 19, 2004
Posts: 531
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Someone needs their own website.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creation of Java