Skip to Content
author's profile photo Former Member
Former Member

What is the lifecycle of Portal Service


I am thinking in building a Protal Service as a bridge to Stateful Session EBJ.

so i have two question:

1. what is the lifecycle of Portal Service?

When the PRT destroy the Portal service

2. what is the relation between Portal components and Portal Service and User.

For example i have to two user

that used the same Portal Component whitch used Portal Service to creat Stateful Session EJB.

are two users useing the same ejb client?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 17, 2005 at 01:49 PM

    Hi Raja,

    a service is started with the portal startup, if the "startup" property is set to true, or, if not, a service is started on request. It can be restarted manually via the portal interface (System Administration -- System Configuration -- Service Configuration). So a service is destroyed when the portal stops or if the service is restarted manually (then the old instance gets destroyed and a new one gets created).

    A service behaves like a singleton, so you access the same instance, independent of users and components they come from; if you want to differentiate, you have to implement the differentiation by yourself.

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.