Standalone client API
kabirkhan Oct 19, 2010 3:20 PM[19:17] bstansberry: ok. emuckenhuber, might as well listen in on this chat with kkhan. this may very well be a task that can be divided up[19:18] bstansberry: kkhan, emuckenhuber: there are a number of pieces[19:19] bstansberry: first, a standalone server needs to be able to open a socket for management requests[19:19] bstansberry: my thinking is to re-use the <management/> element from the domain.xml config to configure that socket[19:20] kkhan: What exactly is <management/> in domain?[19:20] kkhan: I mean I've seen it, but don't know exactly what it is for[19:20] bstansberry: sorry, in host.xml[19:21] bstansberry: it basically configures the socket the SM uses for listening for requests from the DC[19:22] kkhan: ok[19:23] bstansberry: in the domain-client module there is a DomainClientImpl class that connects to the DC to send requests using a protocol[19:24] bstansberry: we'll need a similar set of classes that send requests to a standalone server using a similar protocol[19:24] kkhan: in standalone-client or something[19:25] bstansberry: yeah, we need to discuss that part in a sec, but basically, yes[19:26] bstansberry: in the server-manager module, the o.j.a.server.manager.management package there are some classes that show how the DC handles requests that come in on its management socket[19:26] bstansberry: a standalone server would want to use something very similar[19:28] bstansberry: kkhan: I'm thinking for M1 at least, let's just keep it simple. Copy and paste stuff and get this working; don't worry too much about code duplication between this standalone case and the DC case[19:28] kkhan: ok, makes sense[19:29] dmlloyd: ServerController is meant to be the standalone equivalent of DomainController[19:29] dmlloyd: someday[19:29] bstansberry: ok[19:31] kkhan: bstansberry: I think that has given me enough info to start looking at things[19:32] bstansberry: cool[19:17] bstansberry: ok. emuckenhuber, might as well listen in on this chat with kkhan. this may very well be a task that can be divided up
[19:18] bstansberry: kkhan, emuckenhuber: there are a number of pieces
[19:19] bstansberry: first, a standalone server needs to be able to open a socket for management requests
[19:19] bstansberry: my thinking is to re-use the <management/> element from the domain.xml config to configure that socket
[19:20] kkhan: What exactly is <management/> in domain?
[19:20] kkhan: I mean I've seen it, but don't know exactly what it is for
[19:20] bstansberry: sorry, in host.xml
[19:21] bstansberry: it basically configures the socket the SM uses for listening for requests from the DC
[19:22] kkhan: ok
[19:23] bstansberry: in the domain-client module there is a DomainClientImpl class that connects to the DC to send requests using a protocol
[19:24] bstansberry: we'll need a similar set of classes that send requests to a standalone server using a similar protocol
[19:24] kkhan: in standalone-client or something
[19:25] bstansberry: yeah, we need to discuss that part in a sec, but basically, yes
[19:26] bstansberry: in the server-manager module, the o.j.a.server.manager.management package there are some classes that show how the DC handles requests that come in on its management socket
[19:26] bstansberry: a standalone server would want to use something very similar
[19:28] bstansberry: kkhan: I'm thinking for M1 at least, let's just keep it simple. Copy and paste stuff and get this working; don't worry too much about code duplication between this standalone case and the DC case
[19:28] kkhan: ok, makes sense
[19:29] dmlloyd: ServerController is meant to be the standalone equivalent of DomainController
[19:29] dmlloyd: someday
[19:29] bstansberry: ok
[19:31] kkhan: bstansberry: I think that has given me enough info to start looking at things
[19:32] bstansberry: cool