Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPP » UDC in my RCP
UDC in my RCP [message #11006] Wed, 03 December 2008 20:37 Go to next message
Yonghe Yan is currently offline Yonghe Yan
Messages: 4
Registered: July 2009
Junior Member
Hi,

I have integrated the UDC into our RCP application, which is an open
source framework for oil industry. I would like to share my experience
here.

First, the file uploading is too complicated. I would like to see web
services to be used for uploading. Web service is much simple than file
uploading. Since I also use the usage server to broadcast instant messages
to running applications. I used RMI for uploading. (by the way, is there a
Chats in Eclipse? I saw a Chats view but have not figured out how to use
it).

Second, I would only want to collect usage data from internal users and
therefore the ui bundle is not needed.

Third, I created a method as API (i.e.
UsageClient.sendLog(UsageDataEvent))for developers to log any info other
than those gathered by gathering bundle. Actually, the method is used in
UsageDataRecorder#dumpEvents to upload the data. No events are cached in
local files.

I removed irrelevant bundles and packages. Removed ui, httpclient, and
codec bundles. Removed all classes in recording bundles except
UsageDataRecorder.java and UsageDataRecordingActivator.java. Only made
minor changes in the gathering bundle.

Right now, I need to find a usage log analyzer. Any recommendations? is
the VUA ready for us to use?

Yonghe
Re: UDC in my RCP [message #11043 is a reply to message #11006] Tue, 09 December 2008 08:55 Go to previous messageGo to next message
Eclipse User
Originally posted by: mknauer.innoopract.com

Thanks for the feedback... I've put some answers to your questions in
the text below.

Yonghe Yan wrote:
> Hi,
>
> I have integrated the UDC into our RCP application, which is an open
> source framework for oil industry. I would like to share my experience
> here.
>
> First, the file uploading is too complicated. I would like to see web
> services to be used for uploading. Web service is much simple than file
> uploading. Since I also use the usage server to broadcast instant
> messages to running applications. I used RMI for uploading. (by the way,
> is there a Chats in Eclipse? I saw a Chats view but have not figured out
> how to use it).

* File uploading: It uses plain HTTP mechanisms that are highly
flexible. But as you can see in our implementation that we did for the
VUA you can implement and plug in your own 'upload' strategy.

* Chat - you are probably using a version of Eclipse that includes the
ECF (Eclipse Communication Framework) and this includes among other
interesting features the chat functionality.

> Second, I would only want to collect usage data from internal users and
> therefore the ui bundle is not needed.

Yepp, I agree. This is what we have learned by using the UDC in a server
side environment - the coupling between UI and some core functionality
is to close. We will try to address this in the Galileo release.

> Third, I created a method as API (i.e.
> UsageClient.sendLog(UsageDataEvent))for developers to log any info other
> than those gathered by gathering bundle. Actually, the method is used in
> UsageDataRecorder#dumpEvents to upload the data. No events are cached in
> local files.
>
> I removed irrelevant bundles and packages. Removed ui, httpclient, and
> codec bundles. Removed all classes in recording bundles except
> UsageDataRecorder.java and UsageDataRecordingActivator.java. Only made
> minor changes in the gathering bundle.

The 'log-any-info' seems to be interesting, I already thought about
something similar. Maybe I can encourage you to create a bug report
against the EPP UDC and include a patch with your source file? Maybe we
can go on with a discussion about the 'if' and 'how' we integrate this
in a future version.

> Right now, I need to find a usage log analyzer. Any recommendations? is
> the VUA ready for us to use?

Despite the fact that the VUA is not (yet) available from eclipse.org
(it is currently in a public CVS repository on one of our servers) it is

(a) ready to use but...
(b) I am not sure if this is what you want because...

in order to visualise something you need an element/widget on the UI but
for some recorded events (e.g. bundle state changes) there is no mapping
at all, for other events (e.g. commands) there is no exact 1:1 mapping
and in some other cases (e.g. actions) you need to add some information.

But in any case: I/we are willing to help you...

Thanks and regards,
Markus
Re: UDC in my RCP [message #11090 is a reply to message #11043] Mon, 20 April 2009 04:53 Go to previous messageGo to next message
Yonghe Yan is currently offline Yonghe Yan
Messages: 4
Registered: July 2009
Junior Member
Markus Knauer wrote:

> Thanks for the feedback... I've put some answers to your questions in
> the text below.

> Yonghe Yan wrote:
>> Hi,
>>
>> I have integrated the UDC into our RCP application, which is an open
>> source framework for oil industry. I would like to share my experience
>> here.
>>
>> First, the file uploading is too complicated. I would like to see web
>> services to be used for uploading. Web service is much simple than file
>> uploading. Since I also use the usage server to broadcast instant
>> messages to running applications. I used RMI for uploading. (by the way,
>> is there a Chats in Eclipse? I saw a Chats view but have not figured out
>> how to use it).

> * File uploading: It uses plain HTTP mechanisms that are highly
> flexible. But as you can see in our implementation that we did for the
> VUA you can implement and plug in your own 'upload' strategy.

> * Chat - you are probably using a version of Eclipse that includes the
> ECF (Eclipse Communication Framework) and this includes among other
> interesting features the chat functionality.

>> Second, I would only want to collect usage data from internal users and
>> therefore the ui bundle is not needed.

> Yepp, I agree. This is what we have learned by using the UDC in a server
> side environment - the coupling between UI and some core functionality
> is to close. We will try to address this in the Galileo release.

>> Third, I created a method as API (i.e.
>> UsageClient.sendLog(UsageDataEvent))for developers to log any info other
>> than those gathered by gathering bundle. Actually, the method is used in
>> UsageDataRecorder#dumpEvents to upload the data. No events are cached in
>> local files.
>>
>> I removed irrelevant bundles and packages. Removed ui, httpclient, and
>> codec bundles. Removed all classes in recording bundles except
>> UsageDataRecorder.java and UsageDataRecordingActivator.java. Only made
>> minor changes in the gathering bundle.

> The 'log-any-info' seems to be interesting, I already thought about
> something similar. Maybe I can encourage you to create a bug report
> against the EPP UDC and include a patch with your source file? Maybe we
> can go on with a discussion about the 'if' and 'how' we integrate this
> in a future version.

First of all, I cannot send out the source files since I have already been
laid out from the oil company.

Before I used UDC to collect usage data, I developed another system which
collects usage data through logging. Since logging can be inserted into
any place, developers can collect any info they want. It is also the
downside of logging, comparing with UDC, since the developers have to
insert code to collect data.

>> Right now, I need to find a usage log analyzer. Any recommendations? is
>> the VUA ready for us to use?

I found Sawmill which is a commercial log analyzer, and use it to generate
usage reports. However, it is not easy to configure Sawmill to parse the
usage data.

> Despite the fact that the VUA is not (yet) available from eclipse.org
> (it is currently in a public CVS repository on one of our servers) it is

> (a) ready to use but...
> (b) I am not sure if this is what you want because...

> in order to visualise something you need an element/widget on the UI but
> for some recorded events (e.g. bundle state changes) there is no mapping
> at all, for other events (e.g. commands) there is no exact 1:1 mapping
> and in some other cases (e.g. actions) you need to add some information.

> But in any case: I/we are willing to help you...

> Thanks and regards,
> Markus
Re: UDC in my RCP [message #11674 is a reply to message #11043] Thu, 02 July 2009 05:11 Go to previous messageGo to next message
wishwas is currently offline wishwas
Messages: 7
Registered: July 2009
Junior Member
Hello Markus,

Can you please give me some more information in using VUA on a local usage
data file.

1. Can VUA be made to work on the csv file generated in the runtime
workspace by UDC ?

2. Can I configure the filters for logging in UDC ? The filtering option
is in uploading. You can filter out data that need not be uploaded. Is
there a similar option for logging in the local csv file ?

Look forward for a reply..

Cheers !!!

Markus Knauer wrote:

> Thanks for the feedback... I've put some answers to your questions in
> the text below.

> Yonghe Yan wrote:
>> Hi,
>>
>> I have integrated the UDC into our RCP application, which is an open
>> source framework for oil industry. I would like to share my experience
>> here.
>>
>> First, the file uploading is too complicated. I would like to see web
>> services to be used for uploading. Web service is much simple than file
>> uploading. Since I also use the usage server to broadcast instant
>> messages to running applications. I used RMI for uploading. (by the way,
>> is there a Chats in Eclipse? I saw a Chats view but have not figured out
>> how to use it).

> * File uploading: It uses plain HTTP mechanisms that are highly
> flexible. But as you can see in our implementation that we did for the
> VUA you can implement and plug in your own 'upload' strategy.

> * Chat - you are probably using a version of Eclipse that includes the
> ECF (Eclipse Communication Framework) and this includes among other
> interesting features the chat functionality.

>> Second, I would only want to collect usage data from internal users and
>> therefore the ui bundle is not needed.

> Yepp, I agree. This is what we have learned by using the UDC in a server
> side environment - the coupling between UI and some core functionality
> is to close. We will try to address this in the Galileo release.

>> Third, I created a method as API (i.e.
>> UsageClient.sendLog(UsageDataEvent))for developers to log any info other
>> than those gathered by gathering bundle. Actually, the method is used in
>> UsageDataRecorder#dumpEvents to upload the data. No events are cached in
>> local files.
>>
>> I removed irrelevant bundles and packages. Removed ui, httpclient, and
>> codec bundles. Removed all classes in recording bundles except
>> UsageDataRecorder.java and UsageDataRecordingActivator.java. Only made
>> minor changes in the gathering bundle.

> The 'log-any-info' seems to be interesting, I already thought about
> something similar. Maybe I can encourage you to create a bug report
> against the EPP UDC and include a patch with your source file? Maybe we
> can go on with a discussion about the 'if' and 'how' we integrate this
> in a future version.

>> Right now, I need to find a usage log analyzer. Any recommendations? is
>> the VUA ready for us to use?

> Despite the fact that the VUA is not (yet) available from eclipse.org
> (it is currently in a public CVS repository on one of our servers) it is

> (a) ready to use but...
> (b) I am not sure if this is what you want because...

> in order to visualise something you need an element/widget on the UI but
> for some recorded events (e.g. bundle state changes) there is no mapping
> at all, for other events (e.g. commands) there is no exact 1:1 mapping
> and in some other cases (e.g. actions) you need to add some information.

> But in any case: I/we are willing to help you...

> Thanks and regards,
> Markus
Re: UDC in my RCP [message #11853 is a reply to message #11674] Sun, 12 July 2009 03:15 Go to previous message
Wayne Beaton is currently offline Wayne Beaton
Messages: 498
Registered: July 2009
Senior Member
The filters apply to the data as it is collected and when it is
uploaded. That is, filtered entries are not written to any CSV file.
When uploading, all rows from the CSV files are re-read and re-filtered
before uploading.

The filtering mechanism is currently pretty simple.

Wayne

wishwas wrote:
....
> 2. Can I configure the filters for logging in UDC ? The filtering option
> is in uploading. You can filter out data that need not be uploaded. Is
> there a similar option for logging in the local csv file ?
> Look forward for a reply..
Re: UDC in my RCP [message #578471 is a reply to message #11006] Tue, 09 December 2008 08:55 Go to previous message
Markus Knauer is currently offline Markus Knauer
Messages: 107
Registered: July 2009
Senior Member

Thanks for the feedback... I've put some answers to your questions in
the text below.

Yonghe Yan wrote:
> Hi,
>
> I have integrated the UDC into our RCP application, which is an open
> source framework for oil industry. I would like to share my experience
> here.
>
> First, the file uploading is too complicated. I would like to see web
> services to be used for uploading. Web service is much simple than file
> uploading. Since I also use the usage server to broadcast instant
> messages to running applications. I used RMI for uploading. (by the way,
> is there a Chats in Eclipse? I saw a Chats view but have not figured out
> how to use it).

* File uploading: It uses plain HTTP mechanisms that are highly
flexible. But as you can see in our implementation that we did for the
VUA you can implement and plug in your own 'upload' strategy.

* Chat - you are probably using a version of Eclipse that includes the
ECF (Eclipse Communication Framework) and this includes among other
interesting features the chat functionality.

> Second, I would only want to collect usage data from internal users and
> therefore the ui bundle is not needed.

Yepp, I agree. This is what we have learned by using the UDC in a server
side environment - the coupling between UI and some core functionality
is to close. We will try to address this in the Galileo release.

> Third, I created a method as API (i.e.
> UsageClient.sendLog(UsageDataEvent))for developers to log any info other
> than those gathered by gathering bundle. Actually, the method is used in
> UsageDataRecorder#dumpEvents to upload the data. No events are cached in
> local files.
>
> I removed irrelevant bundles and packages. Removed ui, httpclient, and
> codec bundles. Removed all classes in recording bundles except
> UsageDataRecorder.java and UsageDataRecordingActivator.java. Only made
> minor changes in the gathering bundle.

The 'log-any-info' seems to be interesting, I already thought about
something similar. Maybe I can encourage you to create a bug report
against the EPP UDC and include a patch with your source file? Maybe we
can go on with a discussion about the 'if' and 'how' we integrate this
in a future version.

> Right now, I need to find a usage log analyzer. Any recommendations? is
> the VUA ready for us to use?

Despite the fact that the VUA is not (yet) available from eclipse.org
(it is currently in a public CVS repository on one of our servers) it is

(a) ready to use but...
(b) I am not sure if this is what you want because...

in order to visualise something you need an element/widget on the UI but
for some recorded events (e.g. bundle state changes) there is no mapping
at all, for other events (e.g. commands) there is no exact 1:1 mapping
and in some other cases (e.g. actions) you need to add some information.

But in any case: I/we are willing to help you...

Thanks and regards,
Markus


--
Markus Knauer

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: UDC in my RCP [message #578585 is a reply to message #11043] Mon, 20 April 2009 04:53 Go to previous message
Yonghe Yan is currently offline Yonghe Yan
Messages: 4
Registered: July 2009
Junior Member
Markus Knauer wrote:

> Thanks for the feedback... I've put some answers to your questions in
> the text below.

> Yonghe Yan wrote:
>> Hi,
>>
>> I have integrated the UDC into our RCP application, which is an open
>> source framework for oil industry. I would like to share my experience
>> here.
>>
>> First, the file uploading is too complicated. I would like to see web
>> services to be used for uploading. Web service is much simple than file
>> uploading. Since I also use the usage server to broadcast instant
>> messages to running applications. I used RMI for uploading. (by the way,
>> is there a Chats in Eclipse? I saw a Chats view but have not figured out
>> how to use it).

> * File uploading: It uses plain HTTP mechanisms that are highly
> flexible. But as you can see in our implementation that we did for the
> VUA you can implement and plug in your own 'upload' strategy.

> * Chat - you are probably using a version of Eclipse that includes the
> ECF (Eclipse Communication Framework) and this includes among other
> interesting features the chat functionality.

>> Second, I would only want to collect usage data from internal users and
>> therefore the ui bundle is not needed.

> Yepp, I agree. This is what we have learned by using the UDC in a server
> side environment - the coupling between UI and some core functionality
> is to close. We will try to address this in the Galileo release.

>> Third, I created a method as API (i.e.
>> UsageClient.sendLog(UsageDataEvent))for developers to log any info other
>> than those gathered by gathering bundle. Actually, the method is used in
>> UsageDataRecorder#dumpEvents to upload the data. No events are cached in
>> local files.
>>
>> I removed irrelevant bundles and packages. Removed ui, httpclient, and
>> codec bundles. Removed all classes in recording bundles except
>> UsageDataRecorder.java and UsageDataRecordingActivator.java. Only made
>> minor changes in the gathering bundle.

> The 'log-any-info' seems to be interesting, I already thought about
> something similar. Maybe I can encourage you to create a bug report
> against the EPP UDC and include a patch with your source file? Maybe we
> can go on with a discussion about the 'if' and 'how' we integrate this
> in a future version.

First of all, I cannot send out the source files since I have already been
laid out from the oil company.

Before I used UDC to collect usage data, I developed another system which
collects usage data through logging. Since logging can be inserted into
any place, developers can collect any info they want. It is also the
downside of logging, comparing with UDC, since the developers have to
insert code to collect data.

>> Right now, I need to find a usage log analyzer. Any recommendations? is
>> the VUA ready for us to use?

I found Sawmill which is a commercial log analyzer, and use it to generate
usage reports. However, it is not easy to configure Sawmill to parse the
usage data.

> Despite the fact that the VUA is not (yet) available from eclipse.org
> (it is currently in a public CVS repository on one of our servers) it is

> (a) ready to use but...
> (b) I am not sure if this is what you want because...

> in order to visualise something you need an element/widget on the UI but
> for some recorded events (e.g. bundle state changes) there is no mapping
> at all, for other events (e.g. commands) there is no exact 1:1 mapping
> and in some other cases (e.g. actions) you need to add some information.

> But in any case: I/we are willing to help you...

> Thanks and regards,
> Markus
Re: UDC in my RCP [message #579127 is a reply to message #11043] Thu, 02 July 2009 05:11 Go to previous message
wishwas is currently offline wishwas
Messages: 7
Registered: July 2009
Junior Member
Hello Markus,

Can you please give me some more information in using VUA on a local usage
data file.

1. Can VUA be made to work on the csv file generated in the runtime
workspace by UDC ?

2. Can I configure the filters for logging in UDC ? The filtering option
is in uploading. You can filter out data that need not be uploaded. Is
there a similar option for logging in the local csv file ?

Look forward for a reply..

Cheers !!!

Markus Knauer wrote:

> Thanks for the feedback... I've put some answers to your questions in
> the text below.

> Yonghe Yan wrote:
>> Hi,
>>
>> I have integrated the UDC into our RCP application, which is an open
>> source framework for oil industry. I would like to share my experience
>> here.
>>
>> First, the file uploading is too complicated. I would like to see web
>> services to be used for uploading. Web service is much simple than file
>> uploading. Since I also use the usage server to broadcast instant
>> messages to running applications. I used RMI for uploading. (by the way,
>> is there a Chats in Eclipse? I saw a Chats view but have not figured out
>> how to use it).

> * File uploading: It uses plain HTTP mechanisms that are highly
> flexible. But as you can see in our implementation that we did for the
> VUA you can implement and plug in your own 'upload' strategy.

> * Chat - you are probably using a version of Eclipse that includes the
> ECF (Eclipse Communication Framework) and this includes among other
> interesting features the chat functionality.

>> Second, I would only want to collect usage data from internal users and
>> therefore the ui bundle is not needed.

> Yepp, I agree. This is what we have learned by using the UDC in a server
> side environment - the coupling between UI and some core functionality
> is to close. We will try to address this in the Galileo release.

>> Third, I created a method as API (i.e.
>> UsageClient.sendLog(UsageDataEvent))for developers to log any info other
>> than those gathered by gathering bundle. Actually, the method is used in
>> UsageDataRecorder#dumpEvents to upload the data. No events are cached in
>> local files.
>>
>> I removed irrelevant bundles and packages. Removed ui, httpclient, and
>> codec bundles. Removed all classes in recording bundles except
>> UsageDataRecorder.java and UsageDataRecordingActivator.java. Only made
>> minor changes in the gathering bundle.

> The 'log-any-info' seems to be interesting, I already thought about
> something similar. Maybe I can encourage you to create a bug report
> against the EPP UDC and include a patch with your source file? Maybe we
> can go on with a discussion about the 'if' and 'how' we integrate this
> in a future version.

>> Right now, I need to find a usage log analyzer. Any recommendations? is
>> the VUA ready for us to use?

> Despite the fact that the VUA is not (yet) available from eclipse.org
> (it is currently in a public CVS repository on one of our servers) it is

> (a) ready to use but...
> (b) I am not sure if this is what you want because...

> in order to visualise something you need an element/widget on the UI but
> for some recorded events (e.g. bundle state changes) there is no mapping
> at all, for other events (e.g. commands) there is no exact 1:1 mapping
> and in some other cases (e.g. actions) you need to add some information.

> But in any case: I/we are willing to help you...

> Thanks and regards,
> Markus
Re: UDC in my RCP [message #579309 is a reply to message #11674] Sun, 12 July 2009 03:15 Go to previous message
Wayne Beaton is currently offline Wayne Beaton
Messages: 498
Registered: July 2009
Senior Member
The filters apply to the data as it is collected and when it is
uploaded. That is, filtered entries are not written to any CSV file.
When uploading, all rows from the CSV files are re-read and re-filtered
before uploading.

The filtering mechanism is currently pretty simple.

Wayne

wishwas wrote:
....
> 2. Can I configure the filters for logging in UDC ? The filtering option
> is in uploading. You can filter out data that need not be uploaded. Is
> there a similar option for logging in the local csv file ?
> Look forward for a reply..
Previous Topic:No update site for 3.5 externally available
Next Topic:changing the upload URL
Goto Forum:
  


Current Time: Fri Sep 19 13:55:05 GMT 2014

Powered by FUDForum. Page generated in 0.04591 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software