Hello,
Thank you for your reply.
I read in the literature about the replication or duplication of CORBA
components for example.
"Automatic Generation of Fault-Tolerant CORBA-Services" of* Andreas Polze*
Duplication has been used also for fault tolerance for example.
But in our context, I use duplication to obtain a clone component in order
to test it.
You can see for example "Safe Runtime Validation of Behavioral Adaptations
in Autonomic Software" of* King *et all
and "Architecture Support for Runtime Integration and Verification of
Component-based
Systems of Systems" of *Alberto Gonzalez.*
The process that I want to do is as follows:
The test processes run on the clone (the test is a request sended to
component)
The business processes run on the original component
After finishing the test the clone is deleted.
My problem is how to obtain a clone or a duplicate of the component under
test?

I try to use iPOJO.
I used the method "createComponentInstance" to create an instance of
component. http://felix.apache.org/site/how-to-use-ipojo-factories.html
But I think there is no state transfer of the original component by
creating an instance.
Is this true?
if not, is there a method for duplicating an osgi bundle?
Can you help me please.
Thank you in advance.
Best regards,
---
Fairouz



2012/5/2 Justin Edelson <[email protected]>

> Fariouz-
> Could you point to the specific 'literature' you are referring to?
>
> Justin
>
> On Apr 30, 2012, at 6:04 PM, Fairouz Fakhfakh <[email protected]>
> wrote:
>
> > Hello,
> > I would like to test a bundle (send a request to test the behaviour of a
> > component). But, the problem, the test data and business data can
> interfere.
> > In the literature, I have found the technique of duplication.
> > This is the fact of testing the duplicata (not the original bundle).
> > But, I would like to duplicate the bundle just before calling the method
> of
> > test (not from the beginning to limit the use of resources).
> > I hope that you have understood the idea of my work.
> > I thought duplicating a bundle means copying a bundle???
> > Can you help me, please?
> > Best regards,
> >
> > --
> > Fairouz
> >
> > 2012/4/30 Neil Bartlett <[email protected]>
> >
> >> I think you need to be clearer about what you want to achieve. What do
> you
> >> mean by "duplicating" a bundle, if not copying the file?
> >>
> >>
> >> Neil
> >>
> >> Fairouz Fakhfakh wrote:
> >>
> >>>
> >>> Hello,
> >>> I work with Windows.
> >>> But I would like to duplicate a bundle at given moment (just before
> >>> calling
> >>> a method).
> >>> Have you any idea, please?
> >>> Thank you in advance.
> >>> Best regards,
> >>> --
> >>> Fairouz
> >>>
> >>> 2012/4/30 Neil Bartlett<[email protected]>
> >>>
> >>>
> >>>> May I suggest the "cp" command in UNIX? Or in Windows Explorer, hit
> >>>> Ctrl-C
> >>>> followed by Ctrl-V.
> >>>>
> >>>> Regards
> >>>> Neil
> >>>>
> >>>>
> >>>> Fairouz Fakhfakh wrote:
> >>>>
> >>>>
> >>>>> Hello,
> >>>>> I would like to duplicate a bundle OSGI.
> >>>>> Can someone help me, please?
> >>>>>
> >>>>> Thank for answering me.
> >>>>> Best regards,
> >>>>>
> >>>>> --
> >>>>> Fairouz
> >>>>>
> >>>>>
> >>>>
> >>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to