Hello John,

Wednesday, September 27, 2000, 10:50:20 PM, you wrote:

JM> I just wrote a longer response to your inquiry and my email client
JM> crashed right before I sent it.  So here is a shorter version with just
JM> a question.

JM> Why don't you just rearrange your package structure, urls like you give
JM> are already allowed:

>> http://host:port/zone/Turbine/action/one_package.Login
>> http://host:port/zone/Turbine/action/another_package.Login

JM> If module.packages=com.company.modules

JM> Then put the pieces of the applications into the various packages like:

JM> com.company.modules.actions.one_package.Login
JM> com.company.modules.actions.another_package.Login

Yes, this works, but only if you are the owner of all your packages.

The reason is that in distributed environment I want modules
from different developers to be plugged to the main core.
And I can not be sure that 2 different developers will not
use the same name in the package name.

Therefore we want to take this external modules and assign unique
prefix for each of them.

The only requirements is that external module developers should use some
mechanism to get assigned prefix name and use it when making urls:

DynamicURI duri = new DynamicURI();
duri.setScreen( Prefix.getPrefix() + "MyScreenName" );

And everything works fine without changing packages structure.



/ Shamil 




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to