You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Ahmed Mohombe <am...@yahoo.com> on 2005/08/25 19:28:07 UTC

Remote Manager Design Questions.

Hi,

Please bear with a newbie that tries to wet his fingers into the JAMES 
code :).

I red more than once the entire available documentation about JAMES, and
I looked over the JAMES code but I wasn't able to find an answer to my 
questions, or I don't get the picture about JAMES:

- What's the architecture of the Remote Manager(and JAMES)?
- How dependent is JAMES on the Remote manager (e.g. if it would be 
removed, would JAMES still work? I tried to search, but since James it's 
based on 'injection' I don't get the 'big picture'.
- Is the protocol between JAMES and the Remote Manager documented? It's 
just a hook? Or where should I look?

I'm evaluating to make a 'user friendly' UI for our customers, but I'm 
not sure if I'll manage the 'JAMES binding'.

Any help would be appreciated,

Thanks in advance,

Ahmed.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Remote Manager Design Questions.

Posted by Ahmed Mohombe <am...@yahoo.com>.
Hi Stefano,

Thank you very much for the details.

Ahmed.

========================
>>- What's the architecture of the Remote Manager(and JAMES)?
>>- How dependent is JAMES on the Remote manager (e.g. if it 
>>would be removed, would JAMES still work? I tried to search, 
>>but since James it's based on 'injection' I don't get the 
>>'big picture'.
> 
> 
> James does work also with RemoteManager classes deleted.
> You need to remove it from the assembly.xml if you don't need it.
> 
> The assembly.xml is the core of main blocks composition. There you can find
> top level blocks and dependencies.
> Just start from that file and try to understand how the binding works.
> You will also fine some .xinfo file around in the sources: every component
> that you see in the assembly have one of this to define it's own
> dependencies (the assembly is used to satisfy the dependencies declared in
> the xinfo).
> You will see that each xinfo also provide a list of services provided by the
> block (if any).
> 
> 
>>- Is the protocol between JAMES and the Remote Manager 
>>documented? It's just a hook? Or where should I look?
> 
> 
> RemoteManager have dependencies. Just look in its .xinfo to find out
> services it needs. Just look in the assembly.xml to find out what
> implementations of the services are passed to it.
> RemoteManager is a Serviceable block and will use
> serviceManager.lookup(String ROLE) to get a reference to the actual service.
> 
> Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Remote Manager Design Questions.

Posted by Stefano Bagnara <ap...@bago.org>.
> - What's the architecture of the Remote Manager(and JAMES)?
> - How dependent is JAMES on the Remote manager (e.g. if it 
> would be removed, would JAMES still work? I tried to search, 
> but since James it's based on 'injection' I don't get the 
> 'big picture'.

James does work also with RemoteManager classes deleted.
You need to remove it from the assembly.xml if you don't need it.

The assembly.xml is the core of main blocks composition. There you can find
top level blocks and dependencies.
Just start from that file and try to understand how the binding works.
You will also fine some .xinfo file around in the sources: every component
that you see in the assembly have one of this to define it's own
dependencies (the assembly is used to satisfy the dependencies declared in
the xinfo).
You will see that each xinfo also provide a list of services provided by the
block (if any).

> - Is the protocol between JAMES and the Remote Manager 
> documented? It's just a hook? Or where should I look?

RemoteManager have dependencies. Just look in its .xinfo to find out
services it needs. Just look in the assembly.xml to find out what
implementations of the services are passed to it.
RemoteManager is a Serviceable block and will use
serviceManager.lookup(String ROLE) to get a reference to the actual service.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org