Register now or log in to join your professional community.
hint one of them is used only in web based systems but the other is in Visual programming /Graphical User Interface
I won't say that one is programming language and other is scripting language, because the difference is beyond that. Java is a cross platform, compiled language which means, once written the Java code can be used on any platform like Windows, Mac OS & Linux. The Java code gets compiled into bytecode which is a intermediate form of code which is again compiled into machine code by the Java virtual machine. Java is used for development of large complex applications and is the heart of android programming. Now coming to Javascript, it's a language which runs in browser and is mostly used to animate web elements and asynchronous calls to web service.Nowadays there's hardly any difference left in Java and Javascript because what you can do with Java, you can do the same with Javascript. For example :
So the difference only lies in your requirement. You have to decide which technology to use according to your requirements. Hope this answers your question. Thanks
JavaBeans are they are classes that many object you can define.