Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

WBXML with JAXB

Posted on 2006-03-21
10
Medium Priority
?
613 Views
Last Modified: 2012-06-27
Hello,
I currently have a server that uses JAXB to parse client XML requests. I would like the clients to use WBXML (mobile clients), but keep using JAXB. Is there any way JAXB can parse WBXML, or do I have to parse the requests in 2 steps (WBXML->XML->JAXB classes)? If 2 steps are required, how do I do the first step (is there a Java built-in WBXML parser? if not, is there a recommended one?)?
Thanks,
Zohar.
0
Comment
Question by:zohar_amir
  • 3
  • 3
  • 2
8 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 16244880
>>or do I have to parse the requests in 2 steps (WBXML->XML->JAXB classes)?

Worst-case scenario, in theory, is that you could do an xsl  transform
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 16244892
0
 

Author Comment

by:zohar_amir
ID: 16244911
And the best case scenario...? ;)
If push comes to shove, what can I use to do such an XSL transformation (I don't think I like writing such a thing myself too much)?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 92

Expert Comment

by:objects
ID: 16244921
> what can I use to do such an XSL transformation

a xbxml parser would seem a better approach
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16244933
Best case scenario would be in-built support ;-) Next best case scenario would be to find a SAXFilter that can take one form and filter to the other
0
 

Author Comment

by:zohar_amir
ID: 16246785
what is XBXML?
0
 
LVL 92

Expert Comment

by:objects
ID: 16251796
> what is XBXML?

a typo ;) sorry
see the wbxml parser above
0
 

Author Comment

by:zohar_amir
ID: 16462955
As I did not get a real solution, can I only give some points to 'objects'?
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question