-----Original Message-----
From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 1:11 PM
To: '[EMAIL PROTECTED]'
Subject: RE: sexy open source


>> Please, see me as a newbie and give me some code! 
>> a) Explain if there is really working possibility to 
>> have J2EE datasource in cocoon's web.xml alone so one 
>> could access it directly or is it bad idea as such? 
>if you deploy cocoon.war inside your application's .ear file you'll see
everything, even EJBs, not to mention datasources.
>when cocoon is deployed on your appserver, you can get an InitialContext of
the JNDI server even easier, if it was a standalone app. >I simply don't see
a problem at all. I didn't have a necessity to call EJBs from Cocoon
components yet, but I don't see any technical >issues here.

So far, every time I hear someone talk about using EJB's and cocoon, the
topic gets bundled with deploying cocoon in the appserver itself, which pegs
you to one front end machine and causes all of your display logic (cocoon)
to run on the same disks and cpus as your ejb logic.  Is no one using EJB's
on a remote (conceptually remote, even if it's on the same machine for now)
server from within cocoon?  Seems to me that a powerful set up is

CocoonServer ...  [CocoonServer ... CocoonServer ...] cluster

EJBServer 

RDBMS 

Of course the EJBServer and database can be clustered too, but you'd need a 
pretty whopping load before that would be necessary.

Geoff

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to