Monday, December 19, 2011

Can JAVA language be used to build desktop applications like MS-Word, Excel and also an Operating system?

I am new to this JAVA.


Can JAVA be used to create desktop apps like word editors, browsers(like Firefox),


Flash creators etc.


And an Operating system like XP


If not what else are used to create these?


And about AJAX, can AJAX be used to create online apps like googledocs, gmail, and googlepages?


If not, how are they built?


I am very very curious to know.


Please help.|||Java is also a programming language like VB, VB.Net, C, C++. So you can make any applications like MS-Word, Excel, Power-Point in Java. The main advantage of java applications is they are platform independant. Means you can run them on any operating systems. MS-Word, Excel etc can run only on Windows OS. But Java Applications are sligtly slower then the application developed on Microsoft Platform like VB.Net, VB etc.





But to make an operating system you cannot use Java. Because Java is made for application programming not for system programming. For operating Systems you need lot of System Programming. C and C++ are the best language for system programming. So, to develop Operating Systems C, C++ are widely used. But only C and C++ are still not enough to make an OS. You also need Assembly Level programming but Java cannot be used to develop an OS.





AJAX stands for Asynchronous JavaScript And XML. It can be used for online applications. GMail and Google Pages uses AJAX. Now AJAX is also used in Beta version of Yahoo Mail.





To know about AJAX, you have to understand the general procedure of web pages.





Consider a web page containing a form which accepts the data of user information like first name, last name, address etc. and store it to the database and then after display a message like "Thank you for submitting your information..."





Now you fill up the data and click on the submit button. Now the following procedure occurs





1) Your data is sent to the web server.


2) Data is stored in the database.


3) After data is stored, web server gives back a web page containing a message like "Thank you for submitting your information..."


4) Your web browser accepts the response from web server and display the page.





Here, after clicking on submit button you have to wait until the data is stored and a new page is displayed.





But consider the example of Google Pages. In google pages during saving your page, the page is not refreshed. You can keep your editing page while your page is being saved. This happens because of AJAX.





With AJAX you can receive and send data from web server without refreshing the whole page.





To learn about AJAX, follow the link


http://www.w3schools.com/ajax/default.as鈥?/a>





This can give you a basic idea of AJAX.|||probably c or c++...


this is the backbone of programing|||No, it's too slow for anything serious. You can code any of these in java, the language is complete, but the resultant application are often slower than the 'real' compiled languages.





ajax has nothing to do with java. google uses ajax in everything, yahoo uses ajax from time to time. I use ajax all the time! it's quick and elegant!





ajax is a combination of different technologies, none of which has anything to do with java.|||The quick answer to all you questions would be, it depends. For sure Java can be used to create applications such as word editiors and so on; however, the operating system would be a little more complex. Java is dependent on its just in time compiler, the JRE. You would have to be able to somehow install this compiler onto a blank box or include it in the O.S.'s core somehow. Java is used to create cellphone operating systems, so I really don't see why in theory it couldn't be used to create a PC O.S..





But like it has already been stated, C/C++ is normally used for this type of programming.|||About java: Yes, it can.


As for AJAX, the applications you named ARE using it.

No comments:

Post a Comment