• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WO & Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO & Scripting


  • Subject: WO & Scripting
  • From: Des Oates <email@hidden>
  • Date: Wed, 24 Nov 2004 18:44:43 +0000

Hi,

I'm trying to build an WO/Java Client application that exposes a scripting environment such as Jython to users as well as a fully functional desktop GUI Application. Much of the GUI functionality would also be accessible via the scripting interface. (E.g. Creating, updating and removing entities)

In the past I've done this by building a standard MVC (Single Tier) application, using Java and Swing, and exposing the 'Controller' classes to the Jython environment. However I'm not at all sure how I can do this within WebObjects, so I am looking for some advice. I should mention that I'm new to WebObjects, but not to Java.

So has anyone every tried to integrate support for Jython, or any scripting language, into a WO Desktop client?

What's the best way to do it? Based on my primitive knowledge of WebObjects, the 2 options I'm thinking about are:

1) Creating a EOF-aware framework that exposes all the functionality I need for scripting and the GUI , building a WebObjects JC app on top of that, and importing the framework into the Jython environment.

2) Building a 100% Java client, using Swing, and a set of wrapper 'Controller' classes in the form of a java library that talks to the appserver via EO Framework but abstracts away the API such that the scripting users (and GUI developers) are not exposed to the 'quirkyness' (No flames please :-) ) of the EOF APIs

But I'm new to this game, and have no idea how feasible either of these options are. Is there a better one? (2) looks the best option to me but it also looks like a lot of effort. (Actually they both look fairly daunting propositions :-0)

Has anyone done either of these before. Does something like this exist off the shelf or open source?
Any insights gratefully appreciated


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


  • Prev by Date: Re: EOGenerator and models with attribute prototypes
  • Next by Date: Re: ROLLBACK on EOUtilities.rawRowsForSQL
  • Previous by thread: Re: EOGenerator and models with attribute prototypes
  • Next by thread: Re: ROLLBACK on EOUtilities.rawRowsForSQL
  • Index(es):
    • Date
    • Thread