It is true that patch 3 does not speak about change of version of XML parser
or
the introduction of JAXP in WTE. Maybe patch 4 :-)

----- Original Message -----
From: "Kyle Brown" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 10:55 PM
Subject: Re: How to run Struts in VAJ


> I agree that VAJ 3.5.3 will be released next week -- in fact I'm working
> with an IBM internal beta now.  It should work with Struts, however, that
> does not necessarily mean it will work with Struts :)  I'm going to remain
> commentless until I prove that it works.  I'm working on moving Struts
over
> to VAJ 3.5.3 now...
>
> Kyle Brown
>
> BTW, It has been pointed out that the part I had not validated (the
WTE/EJB
> instructions I reveived from another source) conflicts with the
instruction
> to replace the IBM XML Parser with Xerces. If you do that, EJB's (actually
> the Persistent Naming Service) do not work.  We think there is a way
around
> this that we're working on now...
>
> "Bazoud Olivier" <[EMAIL PROTECTED]> on 04/18/2001 04:07:10 PM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   <[EMAIL PROTECTED]>
> cc:
> Subject:  Re: How to run Struts in VAJ
>
>
>
> VAJ 3.5.3 will be released next week.
> http://www7.software.ibm.com/vad.nsf/data/document4541
>
> And WTE will implement Servlet 2.2 and JSP 1.1,
> so it will work with Struts.
>
> ----- Original Message -----
> From: "Kyle Brown" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 18, 2001 3:08 PM
> Subject: Re: How to run Struts in VAJ
>
>
> If you mean VAJ 3.5.2 (3.5.3 has NOT been released yet) then the following
> instructions should work. This is from an upcoming article on this subject
> that I'm going to submit to the VisualAge developer domain website.
> Warning!  This is a work in progress -- in particular I have NOT validated
> that EJB's work as advertised...  Also, I obviously haven't attached my
> application -- you'll have to wait on the article for that.  Finally,
> PLEASE do not post this to other websites! Keep this on the mailing list
> only.
>
> However, I do welcome comments on the instructions.
>
>
> Using Struts in VisualAge for Java 3.5.2
>
>
> Since one of the requirements for using Struts is a JSP 1.1/Servlet 2.2
> compliant Servlet engine, if you want to use Struts in VisualAge for Java
> 3.5.2 you must use the Apache Test Environment.  This can be downloaded
for
> free from VADD at
>
http://www7.software.ibm.com/vad.nsf/Data/Document4290?OpenDocument&p=1&BCT
> =
> 3&Footer=1
>  (note that you must register for VADD (free) to obtain this download).
> After running the Apache Tomcat Test Environment installation program, you
> must load the Apache Test Environment Feature using the File>Quick Start
> dialog.
>
> <NOTE:  I have NOT validated that EJB's work after you do this.  That's on
> my to-do list for today >
>
> Note that it is not possible to have both the WebSphere Test Environment's
> servlet engine and the Apache Test Environment co-reside in the same
> VisualAge workspace.  The following set of instructions (provided by Sean
> Sundberg from the IBM WebSphere Services group) detail how to allow both
> EJB development using the WebSphere Test Environment and Servlet/JSP
> development using the Apache Test Environment:
>
> 1.   Start from a workspace that does not contain the Apache Tomcat Test
> Environment.
> 2.   Add the 'Websphere Test Environment' feature.
> 3.   Delete the 'Servlet API' project from the workspace.
> 4.   Add the 'Apache Tomcat Test Environement' feature.
> 5.   Select 'Options...' from the 'Window' menu.
> 6.   Select the 'Resources' menu option from the pane on the left.
> 7.   Press the 'Edit...' button from the pane on the right.
> 8.   Press the 'Add Jar/Zip' button.
> 9.   Browse to the 'project_resources\Apache_Tomcat_Test_Environment\lib'.
> 10.  Select 'servlet.jar' and press 'OK'.  (This is required to generate
> the EJB code.  The WTE requries some properties files from the
servlets.jar
> file.)
> 11.  Press the 'OK' button to commit the resource changes.
>
> The Persistent Name Server and EJB server can then be started to access
> EJBs.  Servlets can now be accessed using the Apache Tomcat Test
> Environment Note that this procedure is also covered in the IBM Redbook by
> Bill Moore, et.al.,  " Migrating WebLogic Applications to WebSphere
> Advanced Edition", SG24-5956, available from http://www.redbooks.ibm.com..
> Once you have verified that Tomcat is successfully installed and that you
> can serve pages from http://localhost:8080, then you are ready to proceed
> with the Struts installation.
>
> </NOTE>
>
> Struts will require not only that you have a compliant servlet engine on
> your classpath, but that also you have a recent version of Xerxes in your
> classpath as well.  You can either download these files from the Apache
> website, or you can simply install them from the VisualAge repository file
> that accompanies this article.  Note that Xerxes cannot co-exist with the
> version of the IBM XML Parser for Java that ships with VisualAge for Java.
> You will have to remove it from the workspace as well before you import
> Xerxes (I often import Xalan as well).
>
> Likewise, you will need to either download and install the Struts
framework
> from the Apache website, or load it from the accompanying repository file.
> The current version (1.0-beta2) seems to be more than stable enough for
> most uses ? there are several production sites currently using it.
>
> If you choose to load the projects from the accompanying repository file,
> be certain that you have loaded all of the following projects:
>
> (1)  ApacheStruts 1.0-b2
> (2)  Xerxes 1.2.2
> (3)  Struts Experiments [For VADD] 1.0
>
> Next, you will need to take the employeelist.zip file that accompanies
this
> article and unzip it into the <VAJ install
> root>/ide/project_resource/Apache Test Environment/webapps directory.
This
> will place the JSP, resource and XML files where Apache Tomcat expects to
> find them.  If you make changes to these files, you should be sure to
> create an open edition of the Apache Test Environment project and release
> these files into the project ? that will ensure that you can obtain your
> files even in the case of a crash.  For more information on using this
> feature, see [Sahu] or consult the VisualAge documentation.  In real
> development, of course, Resource, JSP and XML files should be managed
> externally in Websphere Studio and published to the Tomcat /webapps
> directory as a publication stage.
>
> Finally, you will need to configure the Apache Tomcat Runner to find the
> appropriate directories and jar files.  First, open the Properties dialog
> for the TomcatRunner class and press the "Edit?" button next to Project
> path.  Select ApacheStruts, StrutsExperiments and XerxesXalan and press
OK.
> Next, press the "Edit?" button next to Extra Directories path and add the
> directories "\employeelist", "\employeelist\Web-INF" and
> "\employeelist\WEB-INF\classes".  Press OK to dismiss the properties
dialog
> and then start the Apache Test Environment.  At this point you should be
> able to enter http://localhost:8080/employelist into your browser and use
> the application.
>
> Note:  Tomcat and Struts depend on the ability to use the DTD's associated
> with the struts-config.xml file.  If you are using Tomcat inside a
> firewall, VAJ may not be able to locate that file.  If this is true, edit
> struts-config.xml to change the location of the DTD from the apache
website
> to a local drive.
> Now that you've seen an example application built using Struts, you're
> ready to start experimenting on your own.  A good place to start is to
copy
> the "blank" webapp from the Apache Struts distribution and then edit it to
> suit your needs.
>
>
> If you really mean VisualAge for Java 3.5.3, then you're on your own --
> although I don't know how you got the product :)
>
> Kyle Brown
>
> IBM WebSphere Services
> IBM Corporation
> Raleigh, NC
>
>
>
>
> "Andreas Dejung" <[EMAIL PROTECTED]> on 04/18/2001 08:55:11 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  How to run Struts in VAJ
>
>
>
> Hi
>
> I studied the documentation and now I like to run Struts in VAJ 3.5.3. I
> would also like to run the Test Enviroment since I use EJB's.
>
> I found a lot of  mails in this mailing-list, but I did not found a
> installation guide.
>
> Can somebody help me ?
>
> Does anybode know if there is such a guide or just which projects I have
to
> install on VAJ?
>
>
> Thanks for help
>
> Andy
>
>
>
>
>
>
> ******************* PLEASE NOTE *******************
> This message, along with any attachments, may be confidential or legally
> privileged.  It is intended only for the named person(s), who is/are the
> only authorized recipients. If this message has reached you in error,
> kindly destroy it without review and notify the sender immediately. Thank
> you for your help.
> **********************************************************
>
>
>
>
>
>

Reply via email to