Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Designing a J2ME application

 
Jerome Landreau
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am designing a J2ME application. I am thinking of using Struts on the server.
An action generates the XML for the mobile and transmits the stream via http.
On the mobile, a parser xml (kxml) extracts the data and constructs the view.

Is it a good idea or is there a better way of doing this?
Have you got some tips ?

Thanks in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much information are you sending back to the phone?

Personally. I just create a Servlet that returns a String with the values. Struts is more for receiving Form values from a web page. Well a little more than just that, but mostly for Web Applications rather than J2ME.

Mark
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!