Pat Farrell wrote:
Paul Anilprem wrote:Java, on the other hand, seems to have lost its place in the mobile world for sure. JavaScript and HTML 5 have taken over its throne.
They have taken over the client-side stuff that Java applets tried to be in. I have not seen any evidence that they have displaced any of the standard Java/Tomcat/JSP/servlet code for high volume websites. There are a few folks talking bout JavaScript on the server. I not heard of any HTML-5 use on the server.
While "client-server" was all the rage in the early 1990s, these days we are doing more of it, and more successfully than it was ever dreamed 20+ years ago.
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
Paul Anilprem wrote:Yes, you are right and we are indeed talking about mobile. Not servers. The topic of the thread also suggests the same.
Pat Farrell wrote:
Paul Anilprem wrote:Yes, you are right and we are indeed talking about mobile. Not servers. The topic of the thread also suggests the same.
Sorry, I got distracted. You are right, we are talking mobile.
But I don't follow your argument on mobile in general, when Android has a huge lead in market share (units sold, $ value of units sold, models on the market, etc.) and Android is all about Java. Sure it runs on Dalvic, but you write Java. I'm not seeing the move to HTML5 from Objective-C, some very notable cases, such as the Facebook client, have moved back to Objective-C from HTML5.
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
Paul Anilprem wrote:Finally, I don't agree with your claim that Android runs Java. It just doesn't. You can't take a jar and run it on android. Irrespective of the feature set. You can't even take a simple hello world class file and run it on Android.
Bear Bibeault wrote:
Paul Anilprem wrote:Finally, I don't agree with your claim that Android runs Java. It just doesn't. You can't take a jar and run it on android. Irrespective of the feature set. You can't even take a simple hello world class file and run it on Android.
Of course Android runs Java. Just because the program must use the Android API to run, doesn't mean it's not Java.
That's like saying Tomcat doesn't run Java because the code needs to use the Servlets API and you can't "just run any old Hello world program".
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
Paul Anilprem wrote:So if you don't have a JVM on Android, you can't really claim that it runs java.
Paul Anilprem wrote:This process is no different from compiling C code or C++ code into a Linux or Windows binary. This is language independence and not platform independence. You are not running the same binary on different platforms.
Steve
Steve Luke wrote:
Paul Anilprem wrote:This process is no different from compiling C code or C++ code into a Linux or Windows binary. This is language independence and not platform independence. You are not running the same binary on different platforms.
The PhoneGap/GWT/m-gwt stack you pointed to in the video in not platform independent either, in those terms. You have to compile your application for each device - not just each device but for each browser on each device.
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!