I would like to have 2 Database (one replicates the other one, like Oracle
RDBMS allows to do), and I would like to have EJB entities (CMP) using those
DB. As each DB is on a separate computer with different IP, I fear it won't
be possible, as the EJB container will ask me ONE DB connection, which means
one IP...
Anyone tried such thing ?
In fact I want to put my application in a total fail-proof architecture (to
make high-avialability, to insure that 24/24 7/7 anyone can access the
application). So with two installation of the same application. I allow
myself to lose the current connection when one app shutdowns or crashed and
that my connections are redirected to the backup app, but I don't want the
user to have to use another url (web GUI) or change whatever in their GUI
settings (classic Java GUI).
My solution up to know is to use a 'high avialability Switch' (Cisco,
Alteon, ...) which will be (if I have enough cash) duplicated. So providing
one virtual address and redirecting to the HTTP server which is up. Then
behind I was thinking of software clustering like BEA WL or Oracle Parallel
Server provides but .. it's too expensive.
And then having a replicated DB.
Finally seems we are going to take Oracle Application Server Enterprise with
Oracle 8i DataBase Standard Edition. And seems I can set my OAS to shutdown
itself and the HTTP server when any of its cardriges, servlets, or EJB
container crashes. OAS shutdowning the HTTP server would be the key to force
the highav switch to .. switch to the backup server.
Everything seems fine except two points :
- the above point concerning accessing replicated DB from EJBs
- if the HTTP server crashes, there may be some application internal feature
which are still running and are not aware of the fact that they are no
longer the master, as the highav switch redirected to the backup server.
Any experience and/or comment would be welcome.
Thanks
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".