This discussion is archived
1 Reply Latest reply: Nov 12, 2012 5:06 PM by safarmer RSS

Java Card 3 : Exchange Data with Other Web Servers

972087 Newbie
Currently Being Moderated
Hi everyone,
I hope to be happy and healthy.
I want to implement our internet voting protocol with jc3 connected edition. I mean by using NetBeans IDE (JC3 web project). what i need is that use jc3 as web service client but unfortunately jc3 does not support web service ( i test its APIs, but some people say it support restful web service, again i think it does not support restful APIs, too.
I need to have send and receive data over http. for example i want jc3 send a string value to a definite web server( electoral web application) and get response, over http. I have implemented my protocol by socketconnection but i need, send and receive done over http protocol. I use httpconnection ( javax.microedition.io.httpconnection) but i can not do that. I will be grateful if anyone can help me.

Thanks in advance for your help

Edited by: 969084 on Nov 1, 2012 11:38 PM
  • 1. Re: Java Card 3 : Exchange Data with Other Web Servers
    safarmer Expert
    Currently Being Moderated
    This may be difficult to do in the real world. I am not aware of any JC3 connected edition hardware commercially available.

    Is the intent that each voter will have a smart card that they can use to securely vote? It may be easier to have a host application on the voters computer that uses the smart card as a security token for signing and encrypting and then passing this encrypted data to the voting system with a HTTP connection.

    - Shane

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points