Hi Des,
I'm sorry that I had not answered your first post but I didn't know
about Jython and, actually, I didn't understand what you expected.
If you only need to develop a JavaClient application with no GUI,
you can create a new JavaClient projet. In the JavaClient
component, you should replace the "interfaceControllerClassName"
line by the following:
applicationClassName =
"fr.univlr.cri.convention.client.ApplicationClient";
where ApplicationClient is your client main class derived from
EOApplication. You can put your initialization code in
"finishInitialization()" which is called at launch time.
All the classes you need within the client are in
"JavaEODistribution.framework/WebServerResources/Java/wojavaclient.jar"
that bundles different packages.
The entry point for JavaClient applications is the
EOClientApplicationSupport class, so you could launch your
application by the following command line:
java -cp [your classpath]
com.webobjects.eoapplication.client.EOClientApplicationSupport
-applicationURL http://[your application URL]
From then on, the dialog with the application server in started.
Please, note that there are Java Client bugs with WO 5.2.3 so you
would prefer 5.2.1 or 5.2.2 (don't forget the patch) :-(.
Hope this helps.
Regards.
JF
Des Oates wrote:
On Nov 27, 2004, at 3:33 PM, Bill Bumgarner wrote:
On Nov 27, 2004, at 8:20 AM, Des Oates wrote:
Has anyone every built or seen a WO system with a java-based
command-line client? I'm curious to understand the minimal set
of client side EOF components I need use to create a very basic
app that talks to the server. E.g. An app with no GUI, that
runs in a shell and invokes a single simple remote method on
the server that returns a String, which in turn gets printed on
System.out.
Does anyone know where I could find any examples of such a setup?
If that is all the functionality that you need, it sounds like
you don't need to use WO or EO on the client side.
Unfortunately its not. I'm trying to determine how to build a
client side Java library that can be used within the Jython
scripting environment. What I need is a non-GUI scripting based
client. I posted a more direct (but also more verbose) question
to the list a few days ago but didn't get any bites, so I thought
I'd pare it back a bit and try again from a different angle.
Cheers
Des
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Jean-Francois GUILLAUD
CRI - Universite de La Rochelle
23 Avenue A. Einstein
17000 La Rochelle
Tel: 05 46 45 82 14
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden