Re: server code shared with clients

2004-06-01 Thread Stephen McConnell
Eike Stepper wrote: the following code lines do not work: ContainmentModel containmentModel = kernel.getModel(); ReferenceDescriptor reference = new ReferenceDescriptor(Identifiable.class.getName()); ComponentModel componentModel = (ComponentModel) containmentModel.getModel(reference)

Re: access services from outside an embedded merlin

2004-06-01 Thread Eike Stepper
"Niclas Hedhman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > how exactly would tha facility expose data to the embedding application? > > is there a better way than using a singleton or some static methods of the > > outside world? > > I think I need to know what "outside

Re: access services from outside an embedded merlin

2004-06-01 Thread Niclas Hedhman
On Tuesday 01 June 2004 23:37, Eike Stepper wrote: > "Niclas Hedhman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EMAIL PROTECTED] > > > So, you are talking about systems outside the components managed by > > Merlin?? > > > > If so, the 'proper' way is to create a "facility", which is a comp

Re: access services from outside an embedded merlin

2004-06-01 Thread Eike Stepper
"Niclas Hedhman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > So, you are talking about systems outside the components managed by Merlin?? > > If so, the 'proper' way is to create a "facility", which is a component that > is declaring that it wants the composition model in i

Re: access services from outside an embedded merlin

2004-06-01 Thread Niclas Hedhman
On Tuesday 01 June 2004 18:31, Eike Stepper wrote: > hi, > > i started a new thread because the other (server code shared with clients) > became quite long. as i already told, i've been able to start a merlin > DefaultKernel which then loads and starts some services (components?). up > to now i hav

Re: server code shared with clients

2004-06-01 Thread Eike Stepper
"Niclas Hedhman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Tuesday 01 June 2004 17:39, Eike Stepper wrote: > > i have no jar for now and i usually don't use maven when i work in eclipse. > > i manually copied pieces from the merlin tutorial (as i showed in former > > p

Re: Jmx in Merlin

2004-06-01 Thread Niclas Hedhman
On Tuesday 01 June 2004 17:33, Björn Pewe wrote: > Can anyone tell me the status of the jmx-facility in merlin 3.3? I've tried > a cvs version and I really liked it. We need to enable JMX for alot of our > components and it's really an easy way to do it through the facility. The JMX facility was n

Re: server code shared with clients

2004-06-01 Thread Niclas Hedhman
On Tuesday 01 June 2004 17:39, Eike Stepper wrote: > i have no jar for now and i usually don't use maven when i work in eclipse. > i manually copied pieces from the merlin tutorial (as i showed in former > postigs), the eclipse builder compiles the source files to the bin folder > (and also copies

Re: server code shared with clients

2004-06-01 Thread Eike Stepper
"Niclas Hedhman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:<[EMAIL PROTECTED]>... > On Sunday 30 May 2004 02:49, Eike Stepper wrote: > > you are right. i'll try to let merlin run embedded in an eclipse plugin at > > client-side. in fact i already succeeded to port the "generic embedding" > >

access services from outside an embedded merlin

2004-06-01 Thread Eike Stepper
hi, i started a new thread because the other (server code shared with clients) became quite long. as i already told, i've been able to start a merlin DefaultKernel which then loads and starts some services (components?). up to now i have not found a way to access those services from outside of th

Re: server code shared with clients

2004-06-01 Thread Eike Stepper
hi niclas, i have no jar for now and i usually don't use maven when i work in eclipse. i manually copied pieces from the merlin tutorial (as i showed in former postigs), the eclipse builder compiles the source files to the bin folder (and also copies all non-java resources). it doesn't seem to be

Jmx in Merlin

2004-06-01 Thread Björn Pewe
Hi! Can anyone tell me the status of the jmx-facility in merlin 3.3? I've tried a cvs version and I really liked it. We need to enable JMX for alot of our components and it's really an easy way to do it through the facility. /Björn ---

Re: server code shared with clients

2004-06-01 Thread Niclas Hedhman
On Tuesday 01 June 2004 16:48, Eike Stepper wrote: > ok, that sounds reasonable for jar archives and becomes important > when releasing the projet. but i'm at the very beginning of playing with > merlin. the sources are copied from the some of the tutorial chapters and > compiled into a bin-folder

Re: server code shared with clients

2004-06-01 Thread Eike Stepper
hi stephen, just to clarify, i have the feeling that the creation of the DefaultKernel does all the commisioning automatically: Factory factory = builder.getFactory(); Map criteria = factory.createDefaultCriteria(); criteria.put("merlin.deployment", new String[] { "bin"}); criteri

Re: server code shared with clients

2004-06-01 Thread Eike Stepper
"Stephen McConnell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Eike Stepper wrote: > > > hi stephen, > > > > the "bin/BLOCK-INF/block.xml" looks like: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The ab