Re: help to get started on WebSphere 3.5

2002-04-03 Thread John . Y . Cherny

Hi, thank you for your response.
I was asked to generate response letters offline. The letters will have a standard text with an exception of
things like first name, last name, address etc. Because the letters are uniformed I have decided to have 
some sort of letter template and during the FOP process to plug in variables into the prearranged slots.
The generated letters will be send as an attachment in form of PDF files to our clients. That is the scope.
I have decided to use xsl-fo to create my letter templates and create DOM document that will consist
purely of variable data that I will get from the data base. By running FOP I am planning to generate PDF files.
I do have few years in developing with java/jsp. I did generate letters before using PdfLib.
I am novice with XML, XSL, FOP. I about to create the following projects in our repository:
Xerces(xerces.jar), Xalan(xalan.jar), FOP(fop.jar) and logkit(logkit.jar). I am not sure if I need anything else.
I am going to use an embedded FOP and run it in the MAIN method.
I would appreciate any help.
John Cherny.







J.Pietschmann [EMAIL PROTECTED]
04/03/02 10:34 AM
Please respond to fop-dev


To:[EMAIL PROTECTED]
cc:
Subject:Re: help to get started on WebSphere 3.5


[EMAIL PROTECTED] wrote:
 
 I have to generate PDF letters files. To do that I have decided to use 
 FOP files as letter templates supplying
 variables(name, address...) via XML. It is going to be a batch job, 
 running main method developing
 with Visual Age, WebSphere 3.5. Is anyone has examples?
 Most importantly, I have no idea what libraries to download, where to 
 install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
 and deploying code for WebSphere?
2. How much experience do you have in Java programming
 in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
 XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by batch job? Conventionally
 this is not used in assiciation with a web application
 server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





RE: help to get started on WebSphere 3.5

2002-04-03 Thread John . Y . Cherny

Hi Jason,
Thanks a million for code example.
Unfortunately I cannot use Websphere Application Developer, because we have troubles with
Websphere 4. I have to use Visual Age 3.5. As a matter of fact I do use WSAD to check syntax of
my XMLs. I am about to import few .jars: xerces.jar, xalan.jar, fop.jar, logkit.jar. Is there anything else
I need to create and configure?

Thanks again. John Cherny.







[EMAIL PROTECTED]
04/03/02 10:36 AM
Please respond to fop-dev


To:[EMAIL PROTECTED]
cc:
Subject:RE: help to get started on WebSphere 3.5


This is how I do it Websphere 4.

Using Websphere Application developer I put the jar files
into the WEB-INF/lib directory in my war file. If using VAJ
just add some entries to the WS Testenvironment classpath to
where these are.

I then used the code examples in the docs.

here is a little code snippet 
( it's contextual to my program and I use the oracle xml/xslt
 engines as well. )

import org.apache.fop.apps.Driver;
import org.apache.fop.apps.Version;
import org.apache.fop.apps.XSLTInputHandler;

import org.apache.log.*;


if ( sUseFOP.equals(Y) ) {
  XMLDocumentFragment foDocFrag =
  processor.processXSL(xsl, resultXML);
  XMLDocument foDoc = new XMLDocument();
  foDoc.appendChild( foDocFrag);
  renderXML((Document) foDoc, response, outW);
} else {
  processor.processXSL(xsl, resultXML, outW);
}


HTH, Jason


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: help to get started on WebSphere 3.5


[EMAIL PROTECTED] wrote:
 
 I have to generate PDF letters files. To do that I have decided to use 
 FOP files as letter templates supplying
 variables(name, address...) via XML. It is going to be a batch job, 
 running main method developing
 with Visual Age, WebSphere 3.5. Is anyone has examples?
 Most importantly, I have no idea what libraries to download, where to 
 install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
 and deploying code for WebSphere?
2. How much experience do you have in Java programming
 in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
 XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by batch job? Conventionally
 this is not used in assiciation with a web application
 server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





Re: help to get started on WebSphere 3.5

2002-04-03 Thread John . Y . Cherny

Thanks for advice.
I've looked at number of messages regarding running FOP in MAIN but I couldn't find any reasoning why.
In any case I took your warning, talked to my lead, and we are thinking of calling EJB to run FOP there.
What do think? 







J.Pietschmann [EMAIL PROTECTED]
04/03/02 10:34 AM
Please respond to fop-dev


To:[EMAIL PROTECTED]
cc:
Subject:Re: help to get started on WebSphere 3.5


[EMAIL PROTECTED] wrote:
 
 I have to generate PDF letters files. To do that I have decided to use 
 FOP files as letter templates supplying
 variables(name, address...) via XML. It is going to be a batch job, 
 running main method developing
 with Visual Age, WebSphere 3.5. Is anyone has examples?
 Most importantly, I have no idea what libraries to download, where to 
 install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
 and deploying code for WebSphere?
2. How much experience do you have in Java programming
 in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
 XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by batch job? Conventionally
 this is not used in assiciation with a web application
 server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





help to get started on WebSphere 3.5

2002-04-02 Thread John . Y . Cherny

I have to generate PDF letters files. To do that I have decided to use FOP files as letter templates supplying
variables(name, address...) via XML. It is going to be a batch job, running main method developing
with Visual Age, WebSphere 3.5. Is anyone has examples?
Most importantly, I have no idea what libraries to download, where to install and how to configure.
Please, help.

John Cherny.
email: [EMAIL PROTECTED]
(w)phone: (323)259-4631