• 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
Webobjects without a Front end
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Webobjects without a Front end


  • Subject: Webobjects without a Front end
  • From: Don Lindsay <email@hidden>
  • Date: Sun, 01 Feb 2009 02:05:32 -0500

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Webobjects without a Front end
      • From: Don Lindsay <email@hidden>
  • Prev by Date: Re: More Eclipse Upgrading Pains: java.lang.ClassNotFoundException
  • Next by Date: Re: Webobjects without a Front end
  • Previous by thread: Re: java.lang.ClassNotFoundException
  • Next by thread: Re: Webobjects without a Front end
  • Index(es):
    • Date
    • Thread