Rickard �berg wrote:
> For each page request, get new InitialContext() (which is cached
> internally anyway, so it is VERY fast to do it!), lookup the home and
> create your session. When fail-over is done this should be changed so
> that you do lookup once, and then home.create on each page request.

So, to sum up:

1) for now, move the EJB initialization back to doGet()/dopost()
2) When fail-over is ready, the lookup call goes back to init() and
home.create() stays in doGet()/doPost()
-- 
"Es tristi di pidil, piru is mas tristi di pidil un duminiu .es"


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to