• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1347
  • Last Modified:

XML Parser for J2ME

Hi experts,
I would like to know if there are XML Parser for Mobile Application developed with J2ME. Im just making a test I created a j2me apps that got data from a servlet, all this with HTTP request/response... then I did the same but using the stub generator of the JWT (Java Wireless Toolkit) & on the server side Axis2, I got back an XML text but I cannot parse it... I mean maybe I could but I don't know about parser for MIDlet.

An more... can you counsel me to use that or still remain on the Tomcat Servlet?

Thx in advance
ROberto
0
gokyo66
Asked:
gokyo66
  • 5
  • 5
  • 5
  • +1
2 Solutions
 
CEHJCommented:
What you're doing has a large bearing on how it's parsed. Can you tell us about that?
0
 
gokyo66Author Commented:
Sorry Im not english mother tongue? Can you explain me what do you mean with "has a large bearing"?

Sorry again
0
 
CEHJCommented:
Tell us what you're parsing for
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
gokyo66Author Commented:
The result of a query are the one that Axis serialized in XML and that are those I want to parse & show the result then on the cellphone..
0
 
CEHJCommented:
Have a look at XML Pull.

http://www.xmlpull.org/
0
 
objectsCommented:
following articlee gives a good start and fives a few parser options

http://developers.sun.com/mobility/midp/articles/parsingxml/
0
 
gokyo66Author Commented:
Thank you guys for the support, appriciate it
.
But for let me understand better, coz Im new with J2ME, last night (Im in Europe) I was checking the Java Wireless Toolkit (2.5.1) & under settings I saw that u can flag or a checkbox "JAXP XML Parser (JSR172)", this option is available when you choose "JTWI" as target device.

That means that a XML Parser already exist? But if Im not wrong once I tried & was working on the emulator, but not on the real cell phone, that could be possible?
0
 
objectsCommented:
does the cell support JTWI?
0
 
gokyo66Author Commented:
The cell phone support the KVM and one I guess just MIDP 1.0 & CLDC 1.0 the other CLDC 1.1 & MIDP 2.0
0
 
objectsCommented:
if it doesn't support jtwi then it doesn't make sense to check that option.
0
 
objectsCommented:
you'll need to add a parser such as kxml, http://kxml.sourceforge.net/
0
 
gokyo66Author Commented:
ok guys, got it. Thx 4ur support

Cheers
Roberto
0
 
CEHJCommented:
:-)
0
 
CEHJCommented:
Although the way around the accepted and assisted answers were awarded is somewhat strange:

>>you'll need to add a parser such as kxml, http://kxml.sourceforge.net/

since KXml *is* a pull parser and is referred to in the link i posted...
0
 
oracle_fabCommented:
thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 5
  • 5
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now