At 02:48 AM 2/25/99 -0600, you wrote:
>Hey guys,
>
>     What are people's thoughts on Java servlets verses Enterprise JavaBeans?
>It seems to me that the two concepts overlap in very interesting ways (for
>example, both are pooled, and intended for distributed, networked
objects).  I
>see servlets as useful because they are request/response oriented, and more
>lightweight to develop.  Enterprise beans are general components, and gain a
>full suite of middleware services.
>
>     While these differences are important, it seems strange to me that we
have
>two seperate products in the Enterprise Java Platform that perform such
similar
>functions.  Has anyone made a special lightweight enterprise bean type
that was
>a request/response oriented bean, aka a servlet?  Has anyone built a servlet
>engine on top of an EJB container?

Not a servlet engine that sits on top of an EJB container but servlets that
talk to EJB containers.  These servlets talks to XML beans which talk to my
session beans.  It is an excellent architecture for a lightweight client.
My XML beans essentially repackage objects obtained from my session beans
into an XML format and give it to the servlet.  Right know, it is all
informational, but down the line I am looking at XML files created by the
browser (hopefully a Javascript-based XML parser) passed through the
servlet to my XML beans and into the system for a more interactive client.

I consider servlets a very nice facade to hook up a EJB system into an
Internet environment.  The reason I don't expose the EJB system directly is
the problem with firewalls.

Perry Hoekstra - [EMAIL PROTECTED]
-------------------------------------------------
All that is Microsoft does not glitter,
Not all those who wander are lost;
The old AT&T Unix that is strong does not wither,
Deep roots are not reached by frost.

>From the ashes of Spec1170 a fire shall be woken,
A light from the shadows shall spring;
Renewed shall be the Unix OS that was broken,
Linux shall be king.

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