Jay,

The Oracle Business Components for Java J2EE framework provides
an implementation of "Data Transfer Rowset", but does it in
a way that is optionally fully updateable, too, with automatic
coordination to the business tier business objects whose
attribute data are shown in the rowset. Also, the developer
can optionally choose to have typesafe Row "subinterfaces"
generated so rather than working with a RowSet of "Row"
interfaces, the developer can cast the Row to a
OnLeaveEmployeesRow and then get full getter/setter method access
to the data in the client, too.

This whitepaper:

http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html

describes this and other BC4J features for J2EE/EJB developers in detail.

__________________________________________________________________
Steve Muench - Developer, Product Mgr, Java/XML Evangelist, Author
Simplify J2EE and EJB Development with BC4J
http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp
----- Original Message -----
From: "Jay Parikh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 02, 2002 8:16 AM
Subject: Re: How to return ResultSet type value from EJB to Servlet?


| The solution to this problem is using the javax.sql.RowSet
| which is serializable.  The key problem with sending the
| ResultSet to the servlet that it is actually not serializable
| since it holds a connection to the database.  For more information
| on how to accomplish what I just said please visit
| http://www.theserverside.com and download a (free) copy
| of the EJB Design Patterns pdf.  Its Data Transfer RowSet
| design pattern talks about this in more detail.
|
| -Jay
| J2EE, EJB, JSP developer.
| p.s. use JSP it will make your life easier.
|
| ===========================================================================
| 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".
|
|

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