I have a question about reading (and writing) ASCII files with fixed-length records in an application that will run under 9iAS. (FWIW, the application uses no EJBs.)
Since the J2EE spec forbids standard file i/o, it would seem that using RandomAccessFile is not an option.
Purchasing a JDBC driver for text files is not an option for our project, either.
Does 9iAS provide any other options, besides ignoring the J2EE spec?
TIA,
Al Margheim
-
How to read and write fixed-length record ASCII files under 9iAS (3 messages)
- Posted by: Al Margheim
- Posted on: June 24 2003 14:04 EDT
Threaded Messages (3)
- How to read and write fixed-length record ASCII files under 9iAS by Tim Dwelle on June 26 2003 12:40 EDT
- How to read and write fixed-length record ASCII files under 9iAS by cai qingmian on June 27 2003 02:10 EDT
- How to read and write fixed-length record ASCII files under 9iAS by Tim Dwelle on June 27 2003 01:14 EDT
- How to read and write fixed-length record ASCII files under 9iAS by cai qingmian on June 27 2003 02:10 EDT
-
How to read and write fixed-length record ASCII files under 9iAS[ Go to top ]
- Posted by: Tim Dwelle
- Posted on: June 26 2003 12:40 EDT
- in response to Al Margheim
the *j2ee* spec does not forbid i/o... the ejb spec does.
if you *want* to use ejbs, you still can... just move the i/o part out of the ejb tier. for instance, use strings in the ejb tier, and let the ejb client deal with the reading and writing of those strings. -
How to read and write fixed-length record ASCII files under 9iAS[ Go to top ]
- Posted by: cai qingmian
- Posted on: June 27 2003 02:10 EDT
- in response to Tim Dwelle
But in some application, ejb tier can use java.io.*. Jboss , Weblogic -
How to read and write fixed-length record ASCII files under 9iAS[ Go to top ]
- Posted by: Tim Dwelle
- Posted on: June 27 2003 13:14 EDT
- in response to cai qingmian
But in some application, ejb tier can use java.io.*. Jboss , Weblogic
the ejb spec clearly states that you can't use io in your ejbs. afaik, no application server literally *prevents* you from using the java.io package... but that doesn't make it right.