Chris,

        Again thanks for pointing that out. We just did that and decided to
"redirect" the searching of the opencard.properties from the default
JAVA.HOME or USER.HOME folders (or library ).

    To illustrate this, I sent an attachment how this was done so as to
provide a "sample look" on how to do this.
    This e-mail contains two files one file is just to provide the constants
and the other that which work on the override.

Cheers,

Harley
----- Original Message -----
From: "Christophe Muller" <[EMAIL PROTECTED]>
To: "Harley Barrales@YAHOO" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 4:53 PM
Subject: Loading Properties (was Re: [OCF] OCF Applet in a browser)


> Hello,
>
> Harley Barrales@YAHOO wrote:
> > We are now trying to work how to do away with the
> > opencard.properties search from the client but instead "redirect"
> > the search of the opencard.properties to a URL, (particularly,
> > the Web Server, that is).
>
> In OCF, the fact that the configuration is guessed by reading a
> "property" file is not "hard-coded", it's just an example of how
> to specify the configuration data. In fact, you need a class that
> implements the 'opencard.core.util.OpenCardConfigurationProvider'
> interface, and the 'opencard.opt.util.OpenCardPropertyFileLoader'
> is just the default example working with opencard.properties (note
> that it is in the "opt" part of the framework). If you change the
> configuration properties loading mechanism with your own system,
> you'll have to set a pointer to your own class in a Java properties
> (maybe it's possible to give Java properties values in the HTML code
> calling the applet, I'm not sure).
>
> See:
>
>
http://www.opencard.org/docs/pguide/PGuide.html#HDRLOADINGPROPERTIESWITHYOUR
OWNMECH
>
> for more details about loading properties with your own mechanism.
>
> Hope it'll help.
>
> Cheers,
> Christophe.
>
>  = Law of Research: Enough research will tend to support your theory. =
> --
> -------------------------------------------------------------
> [EMAIL PROTECTED] - Gemplus Research Lab
> Phone: +33 4-42-36-57-83 | Disclaimer: I don't speak for Gemplus
> Gemplus doesn't speak for me... it is better that way!
> -------------------------------------------------------------
>
>
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
>
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> !                           [EMAIL PROTECTED]
> ! containing the word
> !                           unsubscribe
> ! in the body.

harleyConstants.java

OpenCardPropertyFileLoader.java

Reply via email to