• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java plateform independent?

 
Greenhorn
Posts: 3
Netbeans IDE Java ME Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If we need to do diffrent coding and diffrent jdk's e.g. JDK SE, j2ME, jsr etc. For differnt hardware architectures and operating systems then how we can say java plate form indipendent languag?
I think we can say it plate form indipendent if and only if we writ a program with out considration of hardware/os and jvm converts it for riquired hardware/os automaticaly.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JME is a very different platform than JSE, and nowhere is it stated that the two are interoperable - so I'm not sure why you think they should be. JME platforms are -assuming they have the same version- interoperable to a very large extent, as are JSE platforms of the same version, so I'm not quite sure what your exact criticism is.

JSRs are a way of specifying Java APIs, and are used for JME, JSE and JEE. Per se, they have no impact on cross platform interoperability.
 
Ranch Hand
Posts: 160
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the Java ME branch split off from Desktop Java early (Java SE 1.2), and cell phones are very different platforms, more limited in many ways than desktop computers, but Java ME applications should run on any cell phones that support the Java ME platform.

There are some code-grammar writing differences such as angle bracket type safety that didn't make it into Java ME, like "<String>," but overall Java platforms aren't so much different languages, the code syntax is mostly the same, but they have different APIs -- the prepackaged Object libraries.

If you're having trouble moving a concept from the Java SE api into Java ME api, please post your question. That is what this area of the coderanch is for.
 
Muhammad Naveed Ul Haq
Greenhorn
Posts: 3
Netbeans IDE Java ME Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:JME is a very different platform than JSE, and nowhere is it stated that the two are interoperable - so I'm not sure why you think they should be. JME platforms are -assuming they have the same version- interoperable to a very large extent, as are JSE platforms of the same version, so I'm not quite sure what your exact criticism is.

JSRs are a way of specifying Java APIs, and are used for JME, JSE and JEE. Per se, they have no impact on cross platform interoperability.


Its not criticism but it was my confusion, from wording someone may think it as critisem as english is not my native langaug so there may be a mistak in chosing words. I just want to clear the concepts involved in Java before starting learnig of syntax and practical programing.
 
Walter Gabrielsen Iii
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First, You should learn the basic Java SE concepts before learning about Java ME.

Learning about Java SE will give you more information than you need to know, and tell you about things not in Java ME. But, most Java ME guides on the internet don't cover the basics of Java. They assume you already know the concepts of Java.
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic