[jacorb-developer] Server request interceptor implementation help?!
Nick Cross
jacorb at goots.org
Wed Apr 30 17:44:25 CEST 2014
What do you not understand about the link Juergen sent? Another example
is seen here
https://github.com/JacORB/JacORB/tree/master/test/regression/src/test/java/org/jacorb/test/interceptor/ctx_passing
Yet another is the bdir demo
https://github.com/JacORB/JacORB/tree/master/demo/bidir
There is no difference to registering the initializers to set up the
interceptors between client and server ... you register whichever
interceptors you want active on the respective ORBs.
Regards
Nick
On 30/04/14 16:20, Kujtim Hyseni wrote:
>
>
>
> Nick,
>
> can you send me some simple code on to implement server request interceptor ONLY?
>
> Thank you in forward!
>
> Kujtim
>
>> Date: Wed, 30 Apr 2014 15:56:32 +0100
>> From: jacorb at goots.org
>> To: jacorb-developer at lists.spline.inf.fu-berlin.de
>> Subject: Re: [jacorb-developer] Server request interceptor implementation help?!
>>
>>
>> Hmm. I am still not convinced ;-)
>>
>> You didn't answer - why not start simply to understand interceptors
>> rather than attempting to implement forwardrequests ? What are you
>> attempting to accomplish and why?
>>
>> Why not pass the IOR from Server1 to 2 ?
>>
>> (note : I have not tried building your code as it does not appear to be
>> buildable).
>>
>> Nick
>>
>>
>> On 30/04/14 14:16, Kujtim Hyseni wrote:
>>> Nick,
>>>
>>> the first orb (arg, null) is required to create the object's ior.
>>> Then the second is required to re-initiate the with props = ior. How
>>> could I create the object's ior and pass it to orb init at once? Am I
>>> clear now?
>>>
>>> Kujtim
>>>
>>>> Date: Wed, 30 Apr 2014 14:11:36 +0100 From: jacorb at goots.org To:
>>>> jacorb-developer at lists.spline.inf.fu-berlin.de Subject: Re:
>>>> [jacorb-developer] Server request interceptor implementation
>>>> help?!
>>>>
>>>>
>>>>
>>>> Why are you creating two ORBs in your server ? Why not create a
>>>> simple interceptor that just logs as per Juergen's example to prove
>>>> your configuration/code is correct. Then you could move onto using
>>>> ForwardRequests. You need to provide more documentation on what/why
>>>> so people can understand your intention.
>>>>
>>>> Nick
>>>>
>>>>
>>>> On 30/04/14 12:57, Kujtim Hyseni wrote:
>>>>> I have been based on client interceptors provided in
>>>>> JACORB_HOME\demo. What I am having problem is that to create an
>>>>> object ior and to pass it as props to orb.init I need to
>>>>> previously init the orb with props set to null since I until that
>>>>> have no ior created. This is basically my problem. Attaching you
>>>>> have my project, please unrar it to demo folder and compile it.
>>>>> Server2.java is the server creator class, other required classes
>>>>> are ServerInitializer.java and ServerForwardInterceptor.java.
>>>>> Also there are other files such idl and client.
>>>>>
>>>>> Regards, Kujtim
>>>>>
>>>>>> Date: Wed, 30 Apr 2014 12:45:10 +0100 From: jacorb at goots.org
>>>>>> To: jacorb-developer at lists.spline.inf.fu-berlin.de Subject:
>>>>>> Re: [jacorb-developer] Server request interceptor
>>>>>> implementation help?!
>>>>>>
>>>>>>
>>>>>> Many of the tests utilise server side interceptors ; you could
>>>>>> adapt one of those. Juergen's documentation pointer provides
>>>>>> some nicely documented solutions. Could you explain what is not
>>>>>> clear with those and/or why your current solution doesn't work?
>>>>>> I could take a look if you have a standalone (compilable) case
>>>>>> to show me.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Nick
>>>>>>
>>>>>>
>>>>>> On 30/04/14 12:24, Kujtim Hyseni wrote:
>>>>>>> Yes Nick, I have looked at the demos but it provides
>>>>>>> solution for client side interceptor - I need it at server
>>>>>>> side.
>>>>>>>
>>>>>>> I would send my code, if you have a bit of time to look at
>>>>>>> it. It is simpler than the example Juergen provided. Would
>>>>>>> you look at my code, I would send it to you?
>>>>>>>
>>>>>>> Kujtim
>>>>>>>
>>>>>>>> Date: Tue, 29 Apr 2014 21:12:16 +0100 From:
>>>>>>>> jacorb at goots.org To:
>>>>>>>> jacorb-developer at lists.spline.inf.fu-berlin.de Subject: Re:
>>>>>>>> [jacorb-developer] Server request interceptor
>>>>>>>> implementation help?!
>>>>>>>>
>>>>>>>>
>>>>>>>> What is the problem? Have you looked at the
>>>>>>>> ProgrammingGuide, the demos and the tests?
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> Nick
>>>>>>>>
>>>>>>>> On 29/04/14 16:50, Kujtim Hyseni wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I am asking again for support in implementing server
>>>>>>>>> request interceptor for FREE? Is there anyone that could
>>>>>>>>> help me? I did most of the tings, I am having some minor
>>>>>>>>> problems.
>>>>>>>>>
>>>>>>>>> Regards, Kujtim
>>>>>>>>> _______________________________________________
>>>>>>>>> jacorb-developer maillist -
>>>>>>>>> jacorb-developer at lists.spline.inf.fu-berlin.de
>>>>>>>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>>>>>>
>>>>
>>>>>>>>>
>> _______________________________________________
>>>>>>>> jacorb-developer maillist -
>>>>>>>> jacorb-developer at lists.spline.inf.fu-berlin.de
>>>>>>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>>
>>>>
>>>>>>>>
>> _______________________________________________ jacorb-developer
>>>>>>> maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
>>>>>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>>>>>
>>>>>>
>>>>>>>
>>>>
>>>>>>>
>> _______________________________________________
>>>>>> jacorb-developer maillist -
>>>>>> jacorb-developer at lists.spline.inf.fu-berlin.de
>>>>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>
>> _______________________________________________ jacorb-developer
>>>>> maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
>>>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>>>
>>>>
>>>>>
>> _______________________________________________
>>>> jacorb-developer maillist -
>>>> jacorb-developer at lists.spline.inf.fu-berlin.de
>>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>
>>>>
>>> _______________________________________________ jacorb-developer
>>> maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>
>> _______________________________________________
>> jacorb-developer maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>
>
> _______________________________________________
> jacorb-developer maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>
More information about the jacorb-developer
mailing list