Don,

I'm a little fuzzy as to why you need differentiation here. Just because we CAN access a WebObjects app through HTML doesn't mean you have to. I have a number of apps that use HTML/components, etc strictly as a way to perform maintenance on a running app. Everything else happens through a pub/sub java library that brings in messages from the publishing server.

You could also setup timers in your applicationDidFinishLaunching notification if you need to fire off things over a timeframe.

Is there something I'm missing from your question?

Ken


On Feb 1, 2009, at 2:12 AM, Don Lindsay wrote:

Oy on a different note, I created a coooool WebObjects interface but the users still desire their backend interfaces.

Don
On Feb 1, 2009, at 2:05 AM, Don Lindsay wrote:

Hello;

I am writing a monitoring java app. This app does not have a front end or web interface. I just want to be able to use EO to perform some maintenance tasks on the data. (validity checks from user database access). yes my users are allowed to connect directly to the database, a very bad idea I know but they have to have it ( I cant stop them having it ).

I have looked at all the documentation for how to open a datamodel and interact with it programatically. I would appreciate any pointers you can provide. After reviewing the JavaDocs I am thinking that the following might work, it appears to be waaaay to simple? but I have also learned with Webobjects and EO that if you work too hard you are probably doing it wrong. Please help.

Thanks

Don

        EOEditingContext oEO = null;
        
        public EOEditingContext getEO() {
                if (oEO==null) {
                        oEO = new EOEditingContext();
                        
EOUtilities.connectWithModelNamed(oEO,"myspecialmodel",null);
                }
                return oEO;
        }

_______________________________________________
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/pccdonl%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/kenlists%40anderhome.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