Skip to main content

Lwuit and Web Question

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
3 replies [Last post]
abuhmead1987
Offline
Joined: 2010-04-21

Dear guys,

I want to know if the lwuit provides a method to interact with web, I mean I want to create an application display question and its four choices, and i want the questions on my server, and the app access my questions database via internet.

I think it could solved via web services, But some devices does not support RMI JSR. is there any approaches?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

No CLDC phone device supports RMI since it requires serialization.

You can use JSON/XML/REST and LWUIT4IO from the latest SVN.

abuhmead1987
Offline
Joined: 2010-04-21

Sorry,
I meant
JSR 172: J2METM Web Services Specification
import java.rmi.*; it works fine on some devices and RemoteException appeared on others
--------
Where we can find LWUIT4IO documentation?

vprise
Offline
Joined: 2003-11-07

Search the blog for LWUIT4IO.

The webservices JSR is problematic in some ways, you can give it a try but its unrelated to LWUIT.