scott coleman wrote:
> I wrote to one of your collegues and they informed to forward my letter
> to you, so here it is, it
>
> The problem is that we have a server with an Oracle database that the
> EJB's are deployed into. We then try to activate an EJB through a web
> browser and it is impossible. But if we have the same code but activate
> it through the applet veiwer or a Application it works. This appears to
> be due to the fact that the Web Browser has its own internal ORB. And
> oracle need there own to use the EJB's deployed into their database.
> They have informed me that this is probably the case for all EJB
> vendors.
> I thought of using PowerTier as our EJB vendor, but their web pages
> implies that ther have the same problem. The only way to instantiate and
> use an EJB on the server from with an Client Web Browser is to use
> servlets, for creation and method calls etc.
> Also i looked at the sun web page at a section called Communication
> Protocols and it states "Browsers can invoke the application through a
> servlet running on the HTTP server. The browser communicates with the
> servlet using HTTP, and the servlet communicates with the application
> using RMI" which to me implies that you can only invoke an EJB on the
> server and communicate with it using a servlet running on the HTTP
> server.

Why did you interpret "browsers can invoke" as "browsers can only
invoke"?

The problem is (educated guess) that Netscape has VisiBroker builtin,
and you need another ORB.

This will not happen with EJB servers that are not based on CORBA, i.e.
WebLogics server should work just fine in applets.

> I hope this has defined my question, is it possible to invoke and
> communicate with an EJB on the Server directly from within a Web Browser
> without using servlets.

Yes, definitely. What you are seeing is an implementation problem,
rather than a problem with the design of EJB.

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

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