"WHITESIDE, CHIP" wrote:
>
> I am using Oracle Application Server, and the bean lookup (see example
> below) is taking approximately 7 seconds. Everytime I hit a page, I have
> multiple lookups on multiple bean, which results in totally unacceptable
> performance (even with just one bean).
>
> Is this typical of EJB performance?
This is not at all typical for production-quality servers.
> Am I doing something obviously wrong?
Perhaps there is some kind of "com.oracle.run.fast" option for the
InitialContext environment? Seriously, I think you should contact Oracle Tech
Support for help with such issues.
> homeInterface =
> (com.adastar.ejb.MyBeanHome)javax.rmi.PortableRemoteObject.narrow(ic.lookup(
> ejbUrl), com.adastar.ejb.MyBeanHome.class);
This looks fine, and would run fast with several products. You should expect to
get about 50-100 lookups per second with a reasonable EJB implementation on
say a 500 Mhz Intel server.
________________________________________________________________________________
Evan Ireland Sybase EA Server Engineering [EMAIL PROTECTED]
Wellington - New Zealand +64 4 934-5856
===========================================================================
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".