Java or XML


Last Updated:

  1. devEndure

    devEndure Member This Topic's Starter

    Joined:
    Feb 4, 2010
    Messages:
    10
    Likes Received:
    0
    I'm trying to figure out what is more efficient performance wise, would it be better to create controls in java runtime or should I just stick to using XML?
     

    Advertisement
  2. Boogs

    Boogs Well-Known Member

    Joined:
    Apr 6, 2010
    Messages:
    85
    Likes Received:
    16
    While I can't comment with certainty on whether XML creates a performance hit or not, I can say that I've never thought the program was too slow on loading because of using XML. Also, I'm in agreement with the developers on this, declaring your widgets and layouts in the XML file certainly does clean up your Java classes quite a bit making them more readable and logical.
     
  3. devEndure

    devEndure Member This Topic's Starter

    Joined:
    Feb 4, 2010
    Messages:
    10
    Likes Received:
    0
    Yeah that does make sense. I actually prefer XML but thought maybe if I tried java it would be slightly better.. Thanks for the feedback!
     

Share This Page

Loading...