installing Applet along with multiple classes-urgent

hi , friends

i have 2 applets which have a shareable interface to perform object sharing ,between 2 but i m unable to install that applet ,

I am using eclipse and aspect developer to convert the applet in to a cap file ,the conversion is successfull but i m unable to install this cap file when i used inbuilt function of eclipse to install a cap file its give error

reference data not found .

can you pleasehelp me out in getting the solution for this ,

also if possible please let me know if any other way is there to do object sharing like we do in java (a main applet and different class files )

For exaple - say i have an applet :"Applet1" and the other class files are:

record - used for creating a record

filesystem-used for creating a file system

parameters-used to create a parameter list

thanks in advance i will be looking for your valuable support

regards

gaurav chawla

[967 byte] By [chipconsultanta] at [2007-11-26 20:42:20]
# 1

>>i have 2 applets which have a shareable interface to perform object >>sharing ,between 2 but i m unable to install that applet ,

>>I am using eclipse and aspect developer to convert the applet in to a >>cap file ,the conversion is successfull but i m unable to install this >>cap file when i used inbuilt function of eclipse to install a cap file its >>give error

>>reference data not found .

>>can you pleasehelp me out in getting the solution for this ,

I am SIM application developer, looking at your problem I think you were nt able to load the "Client Applet", If that is the case, just put .exp file/ Whole package of the "Server Applet" in the library of the loader.

Hope this helps

Thanks and Regards

Raaghu.K

Raaghuamateura at 2007-7-10 2:01:51 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

hi

Raghu

thanks for the reply

well i am going to work out on this solution since till now i havent use my specific code for installing applet ,till now i m using the eclipse converter .

but i want to do all this in a single applet ,means a main applet and other class file though which applet can read and write data .

chipconsultanta at 2007-7-10 2:01:51 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

Here are some hints for object sharing:

- for shared interface object (SIO): install the server applet first, and then all the clients

- SIO is only needed if you have two different packages

- in the same package one can access all public and protected classes

- in the same package one can have more than one applet which can access the class files in this package

lexdabeara at 2007-7-10 2:01:51 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4

hi

lexdabear

thanks for the response well talking about the points you mentioned

(iv)"in the same package one can have more than one applet which can access the class files in this package"

ya i agree with this ,

but the problem is when i m compiling and building the .cap file

after this while installing the generated cap file i m getting errors

Reference data not found and also condition of use not satisfied ,instead it going successfully for ext-auth and init-update

can you please send me a some example demo code foer the same take only one applet with 2 or more additional classes and then please elaborate on installing it .

Regards

Gaurav Chawla

chipconsultanta at 2007-7-10 2:01:51 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 5

Where does it fail? During upload or install? What JCOP product is it (check either the ATR historical characters or send the IDENTIFY command)? Please paste the upload/installation process log.

Different reasons that could make the upload fail:

- The export (e.g. xy.exp) file is mandatory if you have an applet referencing classes --> place the export file in the same directory as the cap file

- The class files are private --> set to public or protected

- The class files are in a different package --> move to the package where the applet is located

- The smart card OS does not accept debug and/or custom components --> check if the cap file includes this components

lexdabeara at 2007-7-10 2:01:52 > top of Java-index,Java Mobility Forums,Consumer and Commerce...