× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Most likely yes, you will need everything in your project to be in the class
path (jars, resource files, .properties files, packages, xml config files,
etc).  I say "most likely" because some files in eclipse are just used at
compile/build time, but it shouldn't hurt to export it to your iSeries even
if they are never used.  An example file would be the .classpath or .project
files which are created and used by eclipse for development purposes, but
aren't needed at runtime on a remote server.

Aaron Bartell

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Anand, Rajesh
Sent: Thursday, May 26, 2005 6:44 AM
To: Java Programming on and around the iSeries / AS400
Subject: RE: Eclipse & Axis

        Sorry, for not providing all the info.
        
        The apps are soap client pgms and will be running as batch jobs
called from a cl.

        So do I need just .class object or the whole project from my
eclipse dir??

        I've all the components on the IFS and I can set my classpath so
that no reference issue occurs.

        rgds, 

Rajesh Anand
Email:Rajesh_anand@xxxxxx


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of albartell
Sent: 26 May 2005 12:38
To: 'Java Programming on and around the iSeries / AS400'
Subject: RE: Eclipse & Axis


>1. When I have completed and tested my Java app using Eclipse on
PC. If I want to run the same app on 400, what object/s I need to ship
to my as400??

Where within your iSeries are you running this application?  Is it
within a
Servlet container like Tomcat or Websphere? Or are you running it from
QShell or the iSeries command line?

I am assuming that you are running it in a Servlet container (at least
that
is where it will need to be in the end to be a web service). In that
case
just make sure you are deploying your WAR file the same as any other
machine.

>2. I've created 2 java classes in my package, however, when I
try to use a method from one class in the other class, I get "method is
undefined" .

Sounds like a possible classpath issue.  What Servlet container are you
using? Tomcat? Websphere? JBoss?

Aaron Bartell

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Anand, Rajesh
Sent: Thursday, May 26, 2005 3:21 AM
To: java400-l@xxxxxxxxxxxx
Subject: Eclipse & Axis

Folks,

        As this is my first experiment.

        I need answers to some questions.

        1. When I have completed and tested my Java app using Eclipse on
PC. If I want to run the same app on 400, what object/s I need to ship
to my as400??

        Is it just the compiled source or the whole project??

        2. I've created 2 java classes in my package, however, when I
try to use a method from one class in the other class, I get "method is
undefined" .


        Any ideas how can I do this??

        Thanks in advance, 

Rajesh Anand
Email:Rajesh_anand@xxxxxx
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy,
retain
or redistribute it. Click here for important additional terms relating
to
this e-mail.     http://www.ml.com/email_terms/
--------------------------------------------------------

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.