Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME and JSR 172

 
Welsh Ding
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to access web services with J2ME and JSR 172 on actual phone.

I use "J2ME Wireless Toolkit 2.2" it work's ok with the emulator.

if there's a phone without JSR 172 support, can the program run?
is upload the jsr172.jar to the phone helps?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't make a phone that doesn't support a JSR automatically support it by send up a jar file. All the support that a phone can have is built in from the manufacturer. Because the JSRs are really just a specification that a manufacture has to implement on their phone with their own OS code.

I hope that made sense. Basically you cannot add functionality and support for a JSR if it doesn't already exist on the device.

Now, it is not 100% that this is the case, there could be a vendor that could provide some services through a jar file. There is kXml for XML support for J2ME already out there.

Now for web services you could always jsut create a Servlet instead as a "Web Serivce" or you can use that Servlet to wrap around a Web Service if that service is not yours, meaning some other service out in the world that you want to leverage. The you can simply just pass back the results through the Servlet to the device.

Mark
[ September 15, 2005: Message edited by: Mark Spritzler ]
 
Welsh Ding
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it, thx a lot!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic