You can create a standalone java program(s) to convert your XML, but I would presume that Websphere is front ending your service in some way (HTTP, Webservice, etc...) so I assume you need some kind of server, Websphere, Tomcat, Jboss, etc to do that and hook your service into it.
You can install all sorts of servers into your WDSC (and the i) and hook your service into it. You would then create a package (.jar, .war, .ear) and send that to your i and install it in the appropriate server.
In your case what I would do: (50,000 foot view)
Determine what version of Websphere your current service is running in.
Install that version into WDSC, if it isn't already there.
Create a "Dynamic Web Project" in WDSC, It will ask if you want an EAR project to be created, you do, for that server.
Find the source to your service and Import it into the project (Not the EAR)
Build the project, and either "Run As" or "Debug As" -> "On Server", on the appropriate server in WDSC.
Test it to see that it is doing as you expect.
When you are happy Export the EAR file and install it on your i in a TEST Websphere server and test some more.
Once you have the source in a project in WDSC you could create a new project for a different server (Tomcat etc...) copy the source and build the project for that server.
Senior Software Engineer
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Cole Gantz
Sent: Wednesday, June 09, 2010 7:38 AM
Subject: [WDSCI-L] Newbie Java setup for WDSC 6.0.1
I would like to start writing some Java to run on our SystemI box. I'm still using WDSC 6.0.1 to code in COBOL and there is no immediate way to upgrade that piece of the the process. What do I need to do to configure it so that my new Java code is stored on the SystemI box and then executes there as well. I've been searching IBM's site but can't seem to get my search right, I've also been slogging thru the archives and can't seem to find what I need. I need as detailed information as possible. If you can point me to some beginner stuff on the 'net as well that would be great.
Background if interested: We have a java batch process that we created to run in websphere that converts XML that is pulled from an Oracle table, is converted and then inserted into DB2 tables on our iSeries. Websphere isn't as dependable as I'd like and I'd like to run the whole process from our iSeries if possible.
Any and all help would be appreciated.
I love deadlines. I like the whooshing sound they make as they fly by.
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l
As an Amazon Associate we earn from qualifying purchases.