|By not specifing any properties to the context, it assumes that the current
|VM has properties set that will connect to the correct provider's url with
|the correct initial context impl... which is poor assumption to be making.

All EJB clients are supposed to set the provider's URL.

|It would be better/safer to save the beans provider url (and
|initial context
|impl classname) in the created handle impl.  This way, you could pass the
|handle to any vm (with the correct classpath) and it would return an object
|on the correct machine.

It's actually a good ease of use idea.  Sounds good to me.

|I don't know how to make this any clearer.

it's much clearer than,

|> |I would recommend at least saving the java.naming.provider.url in the
|> |handle, as the client should not assume which provider url the bean came
|> |from.
|>

The part on the client was really not clear.

Sounds good to me, if you can extract the information on provider for the
handle creation (I don't know), please submit a diff.

marc


|> what are you trying to say?
|>
|> if you save the url, you save the url.
|>
|> marc
|>
|> |
|> |--jason
|> |
|> |
|> |
|> |
|> |
|> |--
|> |--------------------------------------------------------------
|> |To subscribe:        [EMAIL PROTECTED]
|> |To unsubscribe:      [EMAIL PROTECTED]
|> |Problems?:           [EMAIL PROTECTED]
|> |
|> |
|>
|>
|> --
|> --------------------------------------------------------------
|> To subscribe:        [EMAIL PROTECTED]
|> To unsubscribe:      [EMAIL PROTECTED]
|> Problems?:           [EMAIL PROTECTED]
|>
|
|
|
|--
|--------------------------------------------------------------
|To subscribe:        [EMAIL PROTECTED]
|To unsubscribe:      [EMAIL PROTECTED]
|Problems?:           [EMAIL PROTECTED]
|
|



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to