Re: inter application communication in wicket

2011-01-10 Thread Igor Vaynberg
i think http sessions are also isolated. ive never tried hacking the
jsessionid cookie to be on / if i have more than one app running on
different contexts...

-igor

On Mon, Jan 10, 2011 at 10:20 AM, Jeremy Thomerson
 wrote:
> Sorry, should have been more clear - the servlet session (not wicket
> session) - if it is the same across all apps (i.e. session cookie is on /)
>
> On Mon, Jan 10, 2011 at 11:05 AM, Igor Vaynberg 
> wrote:
>
>> no, sessions are isolated between web applications.
>>
>> -igor
>>
>> On Mon, Jan 10, 2011 at 9:02 AM, Jeremy Thomerson
>>  wrote:
>> > Additionally, since you said they were in the same container, you could
>> do
>> > it through the session.
>> >
>> > On Mon, Jan 10, 2011 at 12:53 AM, Nick Heudecker > >wrote:
>> >
>> >> We use ActiveMQ and Camel for those types of operations.  It's been very
>> >> successful.
>> >>
>> >> On Sun, Jan 9, 2011 at 10:51 PM, sap2000 
>> wrote:
>> >>
>> >> >
>> >> > Hi,
>> >> >
>> >> > Can anybody please throw some light on how two wicket applications,
>> >> > deployed
>> >> > into the same container can interact with each other?
>> >> >
>> >> > Basic requirement is,  parameters should be passed from component in
>> >> > Application1 to component in Application2, when Application2 is called
>> >> from
>> >> > Application1 via click of a link or button.
>> >> >
>> >> > Thanks.
>> >> > --
>> >> > View this message in context:
>> >> >
>> >>
>> http://apache-wicket.1842946.n4.nabble.com/inter-application-communication-in-wicket-tp3206671p3206671.html
>> >> > Sent from the Users forum mailing list archive at Nabble.com.
>> >> >
>> >> > -
>> >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >> > For additional commands, e-mail: users-h...@wicket.apache.org
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>> > --
>> > Jeremy Thomerson
>> > http://wickettraining.com
>> > *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> Jeremy Thomerson
> http://wickettraining.com
> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: inter application communication in wicket

2011-01-10 Thread Jeremy Thomerson
Sorry, should have been more clear - the servlet session (not wicket
session) - if it is the same across all apps (i.e. session cookie is on /)

On Mon, Jan 10, 2011 at 11:05 AM, Igor Vaynberg wrote:

> no, sessions are isolated between web applications.
>
> -igor
>
> On Mon, Jan 10, 2011 at 9:02 AM, Jeremy Thomerson
>  wrote:
> > Additionally, since you said they were in the same container, you could
> do
> > it through the session.
> >
> > On Mon, Jan 10, 2011 at 12:53 AM, Nick Heudecker  >wrote:
> >
> >> We use ActiveMQ and Camel for those types of operations.  It's been very
> >> successful.
> >>
> >> On Sun, Jan 9, 2011 at 10:51 PM, sap2000 
> wrote:
> >>
> >> >
> >> > Hi,
> >> >
> >> > Can anybody please throw some light on how two wicket applications,
> >> > deployed
> >> > into the same container can interact with each other?
> >> >
> >> > Basic requirement is,  parameters should be passed from component in
> >> > Application1 to component in Application2, when Application2 is called
> >> from
> >> > Application1 via click of a link or button.
> >> >
> >> > Thanks.
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://apache-wicket.1842946.n4.nabble.com/inter-application-communication-in-wicket-tp3206671p3206671.html
> >> > Sent from the Users forum mailing list archive at Nabble.com.
> >> >
> >> > -
> >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> > For additional commands, e-mail: users-h...@wicket.apache.org
> >> >
> >> >
> >>
> >
> >
> >
> > --
> > Jeremy Thomerson
> > http://wickettraining.com
> > *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


Re: inter application communication in wicket

2011-01-10 Thread Igor Vaynberg
no, sessions are isolated between web applications.

-igor

On Mon, Jan 10, 2011 at 9:02 AM, Jeremy Thomerson
 wrote:
> Additionally, since you said they were in the same container, you could do
> it through the session.
>
> On Mon, Jan 10, 2011 at 12:53 AM, Nick Heudecker wrote:
>
>> We use ActiveMQ and Camel for those types of operations.  It's been very
>> successful.
>>
>> On Sun, Jan 9, 2011 at 10:51 PM, sap2000  wrote:
>>
>> >
>> > Hi,
>> >
>> > Can anybody please throw some light on how two wicket applications,
>> > deployed
>> > into the same container can interact with each other?
>> >
>> > Basic requirement is,  parameters should be passed from component in
>> > Application1 to component in Application2, when Application2 is called
>> from
>> > Application1 via click of a link or button.
>> >
>> > Thanks.
>> > --
>> > View this message in context:
>> >
>> http://apache-wicket.1842946.n4.nabble.com/inter-application-communication-in-wicket-tp3206671p3206671.html
>> > Sent from the Users forum mailing list archive at Nabble.com.
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > For additional commands, e-mail: users-h...@wicket.apache.org
>> >
>> >
>>
>
>
>
> --
> Jeremy Thomerson
> http://wickettraining.com
> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: inter application communication in wicket

2011-01-10 Thread Jeremy Thomerson
Additionally, since you said they were in the same container, you could do
it through the session.

On Mon, Jan 10, 2011 at 12:53 AM, Nick Heudecker wrote:

> We use ActiveMQ and Camel for those types of operations.  It's been very
> successful.
>
> On Sun, Jan 9, 2011 at 10:51 PM, sap2000  wrote:
>
> >
> > Hi,
> >
> > Can anybody please throw some light on how two wicket applications,
> > deployed
> > into the same container can interact with each other?
> >
> > Basic requirement is,  parameters should be passed from component in
> > Application1 to component in Application2, when Application2 is called
> from
> > Application1 via click of a link or button.
> >
> > Thanks.
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/inter-application-communication-in-wicket-tp3206671p3206671.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>



-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


SV: inter application communication in wicket

2011-01-10 Thread Wilhelmsen Tor Iver
> Can anybody please throw some light on how two wicket applications, deployed
> into the same container can interact with each other?

The easiest is to just pass the parameters as normal path- or query parameters 
(strings) in the link. For more complex cases you can either try passing a JSON 
representation of an object, or use "cross-context" features in the container 
(e.g. in Tomcat you put a property in the context.xml file for the app to 
enable it) by getting the other application's ServletContext by path.

If they are just going to share information in a manner not limited to the 
request, try putting it into JNDI from application A then picking it up in 
application B.

Both the JNDI and cross-context approaches require the classes involved to be 
on a shared classpath, e.g. the container classpath.

- Tor Iver

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: inter application communication in wicket

2011-01-09 Thread Nick Heudecker
We use ActiveMQ and Camel for those types of operations.  It's been very
successful.

On Sun, Jan 9, 2011 at 10:51 PM, sap2000  wrote:

>
> Hi,
>
> Can anybody please throw some light on how two wicket applications,
> deployed
> into the same container can interact with each other?
>
> Basic requirement is,  parameters should be passed from component in
> Application1 to component in Application2, when Application2 is called from
> Application1 via click of a link or button.
>
> Thanks.
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/inter-application-communication-in-wicket-tp3206671p3206671.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


inter application communication in wicket

2011-01-09 Thread sap2000

Hi, 

Can anybody please throw some light on how two wicket applications, deployed
into the same container can interact with each other? 

Basic requirement is,  parameters should be passed from component in
Application1 to component in Application2, when Application2 is called from
Application1 via click of a link or button. 

Thanks.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/inter-application-communication-in-wicket-tp3206671p3206671.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org