Hi there,

I'm not familiar with J2ME but I guess that depending on the profile you are 
using, only a limited part of Java SE API is available.
Restlet depends on Java 5 and generics heavily which maybe an issue as well.

Does your profile have the java.util.List available for example? If not, the 
Form class can't compile for sure.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : mastricker [mailto:[email protected]] 
Envoye : samedi 24 janvier 2009 16:40
A : [email protected]
Objet : Restlet Client with J2ME issues

Hi,

i just started using Restlet and followed the "items" tutorial on the
homepage.
I created the Server part and deployed it into Tomcat 6. It works just fine
with the console Java client.
Now I tried to migrate the console client to a J2ME Midlet, as I want to use
some RESTful services from my mobile device.

The following statement from the tutorial code gives an error:
        Form form = new Form();
The error says that it can't find class java.util.List which is not present
on the mobile device.
Is there a way to create a client ob J2ME?

mastricker
-- 
View this message in context: 
http://n2.nabble.com/Restlet-Client-with-J2ME-issues-tp2209206p2209206.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1047058

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1047597

Reply via email to