Home » Eclipse Projects » Remote Application Platform (RAP) » Problem with progress monitor
|
Re: Problem with progress monitor [message #672806 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672809 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672854 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672859 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672875 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672882 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672910 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672945 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #672953 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #673050 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #673056 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #673070 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Problem with progress monitor [message #673125 is a reply to message #672214] |
Sun, 22 May 2011 10:28 |
|
Hi,
> I m developing a rap application and running it through jboss5, I call a
> service from Jboss which takes time to populate data in rap ui.and i m
> running this service in same thread.
I suppose with "same thread" you mean the UIThread, right?
> and i dont want to use progress
> monitor as it creates a new thread so to show long operations is there
> any way apart from progress monitor?
If you run long-running code in the UI Thread, the request is blocked and
UI cannot be updated. If you want to run long running code in the
background, i.e. while the UI is still responsive, I'm afraid there is no
alternative to a background thread.
I think the best solution to this problem would be to call remote methods
asynchronously, i.e. with a callback that is notified when the work is
finished. But not sure if this is possible with your backend.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| |
Goto Forum:
Current Time: Fri Apr 19 10:47:40 GMT 2024
Powered by FUDForum. Page generated in 0.02715 seconds
|