Hey

Nishi Nidamarty wrote:
> Any ideas along these lines ...
>
> 1. Maintaining the state of DB when have multiple containers with in
the
> same EJB server?
> (assuming all of them access the same DB). These containers can be any

> third party containers.

I assume that you are referring to EntityBeans. This is no problem as
long as two EB's in different containers do not map to the same table.
Same db is ok. If you are using WebLogic and thinking about the
"dbIsShared" property that should really change name to "tableIsShared"
or something like that.

</Nishi>
Not necessarily Entity Beans.
How to maintain the state of the DB assuming that it gets affected from
multiple containers?
Shouldn't the EJB server level handle this to certain extent instead of
handling it to DB.
I know right now the state management is done at DB level.
But I guess the spec would address this in there next release, becos the
EJB-server need to provide services like concurrency and caching instead
of relying it on DB.
I'm interested in the kind of issues that EJB-server vendors might need
to support these features.
</Nishi>

> 2. How does it impact caching and O/R mapping tools that are
integrated
> with EJB-Server?

Sharing between containers means less caching in the EJB-server, but
OTOH the DB will probably do caching anyway. Your actual performance hit

will depend on your DB vendor.

</Nishi>
I agree that DB performance would effect the performance on a EJB
server.
As a customer of EJB-Server I do not want my performance to determined
solely by the DB vendor.
I guess providing services that would make a difference in performance
at an EJB-Server layer would also play a key role.
Now coming back to the question caching and O/R mapping might be the
kind of services that we might have.
How does the EJB-Server make sure that DB state is maintained across
these different Containers?
Do we have a single main-container that manages all these containers
(that we call server),  how can these containers make use of common
caching layer provided by the EJB-Server (main-container), if not how
are the individual caching layer maintained so that they are always in
syc (may be JMS, JTS), etc, etc.....
</Nishi>

Thanks,
Nishi.
/Rickard

===========================================================================
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".

Reply via email to