• 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
Re: How to create a non-web EOF application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a non-web EOF application


  • Subject: Re: How to create a non-web EOF application
  • From: John Huss <email@hidden>
  • Date: Fri, 25 Apr 2014 09:56:29 -0500

In your main method do this:

ERXExtensions.initApp(Application.class, new String[0]);

OR this

ERXExtensions.initEOF(new String[0]);

Having an Application class is weird since you don't need it, but there are a few places where things can break if WOApplication.application() returns null.  I'd start with the initEOF call and switch to initApp if it blows up.




On Fri, Apr 25, 2014 at 9:43 AM, John Pollard <email@hidden> wrote:
Hi List,

What is the sensible way to create a new application in Eclipse that uses EOF and a model, plus draws on Wonder bits and bobs, but isn't a web app i.e. has no web front end? I think Eclipse once had an EOF Application type, or I may have mis-remembered that.

I can create a new Wonder app in eclipse and just not have any request / responses and launch my code from Application(), but that feels a bit wrong. I don't want it to talk to wotaskd or be started from JavaMonitor.

Thanks in advance.

John
 _______________________________________________
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

 _______________________________________________
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

References: 
 >How to create a non-web EOF application (From: John Pollard <email@hidden>)

  • Prev by Date: Re: How to create a non-web EOF application
  • Next by Date: Re: How to create a non-web EOF application
  • Previous by thread: Re: How to create a non-web EOF application
  • Next by thread: Re: How to create a non-web EOF application
  • Index(es):
    • Date
    • Thread