jcop tools

i installed jcop into eclipse IDE, and start running helloworld program, we use this jcop to create java card project, i have an doubt can we use this development environment to run applications or create applications for other non-java phones, or create applications using other API for example symbian C++ API(SIM APPLICATION TOOL KIT).

can anybody can clarify my doubt,

-thanks

[400 byte] By [Satya008a] at [2007-11-26 19:18:08]
# 1

From my point of view it is not impossible to use the JCOP emulator from an external or non-java application.

The JCOP emulator communicates via TCP/IP with its environment. After closing the JCOP shell with the /close command any program even a non-java program can connect o the JCOP socket. The only problem arising is that the communication protocol on this layer is undocumented. Therefore I see two possibilities:

1. If you are really willing to try you would have to do some reverse engineering e.g. compile the JCRemoteTerminal and see how it sends APDUs to the emulator. Afterwards you could write your own JCRemoteTerminal for example in C.

2. The more legally variant: Write a Java program which uses JCRemoteTerminal for communication with the JCOP emulator and implement your own, custom TCP/IP interface which can be used from within your applications. The connection diagram would like like this:

JCOP emulator [with attached Eclipse for debugging purposes]

|

| <- TCP connection using an unknown JCOP protocol

|

Java program translating own APDUs to JCRemoteTerminal requests

|

| <- TCP connection using your own, self defined protocol

|

Your program (C, C++, ...)

JPJavaa at 2007-7-9 21:33:17 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
The JCOP Remote Terminal protocol is proprietary, but pretty simple and fully described in the JavaDocs for the RemoteJCTerminal class. From that specification you could implement the protocol directly -- without any reverse engineering :)
mkdataa at 2007-7-9 21:33:17 > top of Java-index,Java Mobility Forums,Consumer and Commerce...