Tomcat and Websocket

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Tomcat and Websocket

Jacques Le Roux
Administrator
Hi,

I just upgraded Tomcat. Doing so I spotted tomcat7-websocket.jar and websocket-api.jar (that we have not embedded)
I have not worked with Websocket yet, I wonder if someone did?

Thanks

Jacques
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Ean Schuessler
I have played with it some. It would be really fun to do some things with the entity cache and webforms to automatically update views when data changes.

----- "Jacques Le Roux" <[hidden email]> wrote:

> I just upgraded Tomcat. Doing so I spotted tomcat7-websocket.jar and
> websocket-api.jar (that we have not embedded)
> I have not worked with Websocket yet, I wonder if someone did?

--
Ean Schuessler, CTO
[hidden email]
214-720-0700 x 315
Brainfood, Inc.
http://www.brainfood.com
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Jacques Le Roux
Administrator
Like for instance dynamic messages sent to UI (called ---------- Last system notes ---------- on top of OFBiz backend pages) ?

Jacques

On Sunday, January 12, 2014 8:52 PM, [hidden email] wrote
> I have played with it some. It would be really fun to do some things with the entity cache and webforms to automatically update
> views when data changes.
>
> ----- "Jacques Le Roux" <[hidden email]> wrote:
>
>> I just upgraded Tomcat. Doing so I spotted tomcat7-websocket.jar and
>> websocket-api.jar (that we have not embedded)
>> I have not worked with Websocket yet, I wonder if someone did?
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Ean Schuessler
Or, if you were currently looking at a party and someone updated their address that you would immediately see it without reloading.

----- "Jacques Le Roux" <[hidden email]> wrote:

> Like for instance dynamic messages sent to UI (called ---------- Last
> system notes ---------- on top of OFBiz backend pages) ?
>
> Jacques
>
> On Sunday, January 12, 2014 8:52 PM, [hidden email] wrote
> > I have played with it some. It would be really fun to do some things
> with the entity cache and webforms to automatically update
> > views when data changes.

--
Ean Schuessler, CTO
[hidden email]
214-720-0700 x 315
Brainfood, Inc.
http://www.brainfood.com
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Jacques Le Roux
Administrator
Yes fine, though we have all other priorities ;)

Jacques

On Sunday, January 19, 2014 4:34 PM, [hidden email] wrote

> Or, if you were currently looking at a party and someone updated their address that you would immediately see it without
> reloading.
>
> ----- "Jacques Le Roux" <[hidden email]> wrote:
>
>> Like for instance dynamic messages sent to UI (called ---------- Last
>> system notes ---------- on top of OFBiz backend pages) ?
>>
>> Jacques
>>
>> On Sunday, January 12, 2014 8:52 PM, [hidden email] wrote
>>> I have played with it some. It would be really fun to do some things
>> with the entity cache and webforms to automatically update
>>> views when data changes.
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Ean Schuessler
Of course. :-D But also think of such a facility as a stepping stone
to the future. Even if the only thing it did initially was drive the
"system notes" display, its really what you want for a lot of things.

You need a service that lets you "subscribe" a widget to an entity and
then propagate change events to the widget as the entity is modified.

A generic mechanism like that could eventually expand to be a general
purpose "data bound widgets" system that mostly looks like the existing
system but magically reflects updates.

Dashboard type pages would be an obvious next step after system notes.

----- "Jacques Le Roux" <[hidden email]> wrote:

> Yes fine, though we have all other priorities ;)

--
Ean Schuessler, CTO
[hidden email]
214-720-0700 x 315
Brainfood, Inc.
http://www.brainfood.com
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Jacques Le Roux
Administrator
Yes sounds like a good idea, we might put this at https://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document
I will try to clean this page soon...

Jacques

On Monday, January 20, 2014 10:55 PM, [hidden email] wrote

> Of course. :-D But also think of such a facility as a stepping stone
> to the future. Even if the only thing it did initially was drive the
> "system notes" display, its really what you want for a lot of things.
>
> You need a service that lets you "subscribe" a widget to an entity and
> then propagate change events to the widget as the entity is modified.
>
> A generic mechanism like that could eventually expand to be a general
> purpose "data bound widgets" system that mostly looks like the existing
> system but magically reflects updates.
>
> Dashboard type pages would be an obvious next step after system notes.
>
> ----- "Jacques Le Roux" <[hidden email]> wrote:
>
>> Yes fine, though we have all other priorities ;)
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Pierre Smits
Ean,

Would you be willing to do a hot-deployable PoC component/application and
put it in the OFBiz section of Apache-Extra? That way more community
members might get an idea of what you're trying to accomplish.

Regards,

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com


On Mon, Jan 20, 2014 at 11:12 PM, Jacques Le Roux <
[hidden email]> wrote:

> Yes sounds like a good idea, we might put this at
> https://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document
> I will try to clean this page soon...
>
> Jacques
>
> On Monday, January 20, 2014 10:55 PM, [hidden email] wrote
> > Of course. :-D But also think of such a facility as a stepping stone
> > to the future. Even if the only thing it did initially was drive the
> > "system notes" display, its really what you want for a lot of things.
> >
> > You need a service that lets you "subscribe" a widget to an entity and
> > then propagate change events to the widget as the entity is modified.
> >
> > A generic mechanism like that could eventually expand to be a general
> > purpose "data bound widgets" system that mostly looks like the existing
> > system but magically reflects updates.
> >
> > Dashboard type pages would be an obvious next step after system notes.
> >
> > ----- "Jacques Le Roux" <[hidden email]> wrote:
> >
> >> Yes fine, though we have all other priorities ;)
>
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat and Websocket

Jacques Le Roux
Administrator
Yes that would be great indeed, you could also create a Jira and attach a patch, even it's not usable as is to replace the current system note.
We could then build on that and create a dashboard example which sounds like a good idea to me (as a portlet for instance, could be placed everywhere it's needed)

Jacques

On Tuesday, January 21, 2014 5:01 PM, [hidden email] wrote

> Ean,
>
> Would you be willing to do a hot-deployable PoC component/application and
> put it in the OFBiz section of Apache-Extra? That way more community
> members might get an idea of what you're trying to accomplish.
>
> Regards,
>
> Pierre Smits
>
> *ORRTIZ.COM <http://www.orrtiz.com>*
> Services & Solutions for Cloud-
> Based Manufacturing, Professional
> Services and Retail & Trade
> http://www.orrtiz.com
>
>
> On Mon, Jan 20, 2014 at 11:12 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Yes sounds like a good idea, we might put this at
>> https://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document
>> I will try to clean this page soon...
>>
>> Jacques
>>
>> On Monday, January 20, 2014 10:55 PM, [hidden email] wrote
>>> Of course. :-D But also think of such a facility as a stepping stone
>>> to the future. Even if the only thing it did initially was drive the
>>> "system notes" display, its really what you want for a lot of things.
>>>
>>> You need a service that lets you "subscribe" a widget to an entity and
>>> then propagate change events to the widget as the entity is modified.
>>>
>>> A generic mechanism like that could eventually expand to be a general
>>> purpose "data bound widgets" system that mostly looks like the existing
>>> system but magically reflects updates.
>>>
>>> Dashboard type pages would be an obvious next step after system notes.
>>>
>>> ----- "Jacques Le Roux" <[hidden email]> wrote:
>>>
>>>> Yes fine, though we have all other priorities ;)