Sunday, August 18, 2002 05:53 AM
Regarding performance of applications utilizing EJBs, there are several design patterns. Go to theserverside.com
and check out the ebook "EJB Design Patterns".
Perhaps the most popular patterns used are "session facade" and "value object", which aim to minimize the network traffic caused by a remote method call.
XML is good for cooperation between different applications written by different authorities, but performance-wise, XML is sloooow compared to binary alternatives of data representation.
For retrieving large chunks of records from a database, Entity Beans (EJB) are a terrible choice. You can use a Session Bean as a front end for the data access layer, but please, implement the data access using JDBC.