是否有必要在JAXB实现为Android? [英] Is there a need in JAXB implementation for Android?

查看:413
本文介绍了是否有必要在JAXB实现为Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,目前还没有JAXB实现它会工作在Android平台上。

As far as I know, there is currently no JAXB implementation which would work on the Android platform.

我想问一个简单的问题? - 是否有必要对JAXB在Android

I would like to ask a simple question - Is there a need for JAXB on Android?

作为一个JAXB爱好者,我考虑写一个JAXB实现为Android。我可能不会端口JAXB RI,因为实在是有点偏胖的移动应用程序,我宁愿从头开始写。我写了一个 JAXB端口的JavaScript ,所以我知道这是可管理的。

Being a JAXB enthusiast, I consider writing a JAXB implementation for Android. I probably won't port JAXB RI since it is a bit too fat for the mobile apps, I'd rather write it from scratch. I wrote a JAXB port for JavaScript, so I know this is manageable.

但做你们需要它吗?还是做你舒服与其他工具,如的SimpleXML

But do you guys need it? Or do are you comfortable with other tools like SimpleXML?

推荐答案

作为一名Android开发者谁做大量的XML和JSON解析和几乎所有的应用程序,我开发框架中,我的回答是:不,没有必要对JAXB在Android上。其他工具完全符合该法案。如果不是这样,或者我们的Andr​​oid开发者已经习惯了没有JAXB和我们每个人都得到舒服的替代品之一。

As an Android developer who does lot of XML and JSON parsing and framing in almost every app I develop, my answer would be: No, there is no need for JAXB on Android. The other tools fit the bill perfectly. Either that, or we Android developers have got used to the absence of JAXB and each of us have gotten comfortable with one of the alternatives.

在我的情况,我甚至达到code重用我最喜欢的Andr​​oid XML序列化库在更换了JAXB的服务器的为好。

In my case, I even achieve code reuse by replacing JAXB with my favorite Android XML serialization library on the server as well.

这篇关于是否有必要在JAXB实现为Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆