Whoops, sorry for missing this, Lars. I'd like to support this if it can
be done easily. Please add it in Jira so I don't forget about the issue.
I can use a source processing tool I've got available to switch the code
between J2ME and regular versions, so if the only important differences
really are the java.sql.* classes I should be able to handle it easily.
- Dennis
Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117
Lars Braubach wrote:
Hi,
I never heard any comment on this issue?!
I think that it is basically a good idea having jibx
available for J2ME environments. This
may especially become important for newer
releases, as 1.5 features will prevent jibx
from running on J2ME at all.
Best,
Lars
Dirk Bade schrieb:
Hej,
we are currently working on porting an application to a runtime
environment for mobile devices (IBM's J9).
Our application uses JiBX for reading and writing XML-files. Since
the J9 lacks some java-classes
(as do all JREs for mobile devices, because of limited
device-resources) it is not possible to use the JiBX-runtime on
mobile devices.
The only Problem is the usage of java.sql.Time, java.sql.Date and
java.sql.Timestamp within the jibx.runtime.Utility-class.
If you simply remove the imports of these packages within the class
and change the methods for serialization and deserialization
(using Object instead of java.sql.* in the method-signature) it works
fine. And because java.sql.* is not
included in the 'Personal Profile' for mobile devices you won't miss
the methods anyway.
Note: the binding-compiler does not like the changes in the
method-signatures, so you have to use the original Utility-class for
binding-compiling.
Since JiBX is very fast and furthermore really small it fits
perfectly for the use on mobile devices.
Maybe it is possible to release a slightly modified version of the
JiBX-runtime-jar especially for mobile devices either with the
above mentioned changes or with some other kind of more generic
workaround ?
I could offer some help with modifying and testing if neccessary.
Greetings,
Dirk Bade
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users