Hi,
First of all I'm going to describe the architecture I'm using.
I'm writting an application that uses an Oracle 9i Database, and Weblogic 6.1 sp1 as the Application Server. Also I use Entity CMP EJBs mapped to the database. In adittion I use Session EJBs as Facades of the Entity Beans. The presentation tier is implemented with
JSP and
Servlets (and perhaps XML).
1- When I have to return a "record set" to the client (in this case a JSP page) from the Facades I use a Collection containing Value Objects in place of a Collection containing Remote Interfaces to the Entity Beans. Is it a good solution in terms of performance?
2- It would be a good solution to return XML from the Facades in place of Collections?
3- Is there any API to generate XML from Collections?
Thanks in advance.
Cristian.