Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP threading model inside J2EE container
RAP threading model inside J2EE container [message #479622] Tue, 11 August 2009 17:55 Go to next message
Eclipse UserFriend
Originally posted by: rap.questions.gmail.com

Hi All,

I have a few questions on RAP threading model for request processing
inside the J2EE container:

* How is a single request from client to server handled on the server
- Does the processing happen on the app server’s HTTP thread that
intercepts the request
* Does the OSGi runtime inside the J2EE server have any daemon threads
(threads that outlive a user’s request)
* How is the Eclipse Jobs API implemented in the J2EE server
* In multi-user scenario, is there any thread synchronization involved in
the OSGi runtime

In general, where can I find more "formal/documented" information about
this?

Thanks in advance,
RU
Re: RAP threading model inside J2EE container [message #480048 is a reply to message #479622] Thu, 13 August 2009 14:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rap.questions.gmail.com

Anyone? We are in the process of evaluating a XX million line Eclipse RCP
application conversion to RAP and hence asking this question. The original
application was written with no regard for RAP, hence these fundamental
questions are critical for us to complete the evaluation. If there are any
books or formal documentation available, that will help as well. But I am
not able to find those related to the above questions. Any help is greatly
appreciated!

Thanks again.
RU
Re: RAP threading model inside J2EE container [message #482136 is a reply to message #479622] Tue, 25 August 2009 13:28 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
RAP User wrote:
> Hi All,
>
> I have a few questions on RAP threading model for request processing
> inside the J2EE container:
>
> * How is a single request from client to server handled on the server
> - Does the processing happen on the app server�s HTTP thread that
> intercepts the request
Request processing mainly happens on a dedicated thread, referred to
as the "UI Thread". The HTTP thread is blocked in the meanwhile and
released after processing on the UI Thread was done.
Further details can be found in the "Apartment threading in in RAP"
paper that is available here:
http://www.eclipse.org/rap/documentation.php#articles

> * Does the OSGi runtime inside the J2EE server have any daemon threads
> (threads that outlive a user�s request)
AFAIK there are daemon threads running in Equinox (for other OSGi
implementations I don't know). To be entirely sure please ask this
question on the Equinox newsgroup.

> * How is the Eclipse Jobs API implemented in the J2EE server
The Jobs implementation is the same as in RCP.

> * In multi-user scenario, is there any thread synchronization involved
> in the OSGi runtime
I am afraid I don't quite understand the question.

>
> In general, where can I find more "formal/documented" information about
> this?
>
> Thanks in advance,
> RU
>
Previous Topic:Jobs and ErrorDialog
Next Topic:why the button can't display raduis border and gradient background
Goto Forum:
  


Current Time: Fri Apr 19 09:09:23 GMT 2024

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

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

Back to the top