When you say "WebObjects", do you mean EOF? If you only want to use the object-relational parts of WO from Java, that doesn't need to be an elaborate process per se. There's a very lightweight example of doing so here:

http://worldofwebobjects.blogspot.com/2006/04/command-line-tool-for-fetching-with.html

Basically, it is a matter of getting the appropriate libraries onto your classpath, and doing some of the legwork manually that would otherwise be automatically done for an app that subclasses WOApplication. For example, above, the EOModelGroup is set up manually.

Clark

On 16 Sep 07, at 5:16 AM, Andrew.Yi.Huang wrote:

Hi Daniele,

Thank you very much for your suggestions!

The existing App can't not be converted into Web Application because it is a kernal application and used by many other applications. I can't rebuild the whole project for a little modification.

I have thought about using the URL of the page in the WebObjects application, but I have some parameters to pass to the page. So I need to find a way to invoke the WebObjects page by just adding one or more methods into the existing application.

On 9/16/07, Daniele Corti <[EMAIL PROTECTED]> wrote:


2007/9/16, Andrew. Yi. Huang <[EMAIL PROTECTED]>:
Hi

I am a new of WebObjects. I have a problem as follows.

I hava a existing Java application project which is not WebObject Application.

If this App is a Web Application the simple way is to redirect the browser to the Webobject App address.

And the expecting implementation is that a Page will popup If some methods in this java applicaiton are excuted. So I consider to create a WebObjects project which can be invoked by my existing java application.

If you want to invoke methods from an other app you have to make them Static, so you can simply call them in another class.

I don't know How I can solve this problem. Thank you very much for your help!

Best Regards!

Andrew

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ( [email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com

This email sent to [EMAIL PROTECTED]

hope this help, if you have more specific questions I'll help you

--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yi Huang (Andrew)
Ph.D Candidate
Department of Industrial engineering,
Tsinghua University, Beijing, P.R.China
100084
Tel:
(8610)62792376(O)
(8610)51534198(H)
e-mail:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
MSN:
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/cpmueller%40mac.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to