Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create a connection Client/Server more fast?  RSS feed

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I would like know how to create Client/Server more fast.
So far, I use a connection HTTP between my J2ME application and my Server.
I use kXML to parse my XML document.Now I would like enhance the speed to trying another way.
It seems that we can use WBXML(Binary compression of XML) to do it.

Does anybody help me to use WBXML or give me any information about WBXML.

Thank you in advance

OULD
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This techtip may help you: http://java.sun.com/developer/J2METechTips/2002/tt0325.html#tip2

If you're sending images, you can also look at JAI to turn an image from 24 bit to 8 bit color, significantly (3x) decreasing its size.
 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Moore for your help.

Your doc and link will be usefull for me.
I would like know statically how many seconds I can earn comparable with a classic parser.

OULD
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!