I am doing exactly what you are requesting, except my EJB returns a Data Transfer Object (essentially a Java bean). Our generator then uses Betwixt to convert the bean directly into SAX events.
Ralph > -----Original Message----- > From: HRIVIK, Roman (ext.) [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2003 12:39 AM > To: [EMAIL PROTECTED] > Subject: how can I access EJB > > > > Hi, > > I'm new to the cocoon. > I'd like to know what way I can access an EJB. > > I wasn't able to find any example. > > I have this scenario. > i.e. > from request parameters I will get information via parameters > to show all users in my system. > I will have EJB invocator which returns an XML in String with > all users. > how can I output this data > > Do I need to create my Custom EJBGenerator > or can I do it in any Action. > > > Thks > > Roman > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
