Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Java classes that manipulate files - Running in database

Java classes that manipulate files - Running in database

From: Luch <DarthLuch_at_gmail.com>
Date: 8 Jan 2007 19:57:11 -0800
Message-ID: <1168315031.529439.91110@38g2000cwa.googlegroups.com>


We use some Java classes/functions that manipulate files. Example: The apache FOP processor... We call a method it provides, passing two arguments... THe location of an xml file, and the location of an XSL file. THe class takes those files, does its thing, and returns a PDF file.

We are moving to a PowerBuilder/.NET environment, where using Java classes will no longer be possible for us (we don't want to switch to a .NET equivalent either). Since we use an Oracle database, we figure we could load this java class in Oracle and invoke it there. Since we're inexperienced at this, I'd appreciate any feedback.

Should I create Oracle directory objects, and then save the content of the xml/xsl files there, and then invoke the Java class passing the paramaters of the file locations as being in that Oracle directory? Is that the only way to do it for a Java class that wants file locations as a paramater? Received on Mon Jan 08 2007 - 21:57:11 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US