• 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: EnterpriseObjects in a regular Java application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EnterpriseObjects in a regular Java application


  • Subject: Re: EnterpriseObjects in a regular Java application
  • From: jerry porter <email@hidden>
  • Date: Fri, 27 Jan 2006 13:01:30 -0800 (PST)

Hi,

I would even do something like this in you application's class to keep the app from creating
sessions

public class Application extends WOApplication {

    public Number workerThreadCountMax() {
        return new Integer(1);
    }

    public Number workerThreadCountMin() {
        return new Integer(1);
    }

    public void setSessionStoreClassName(String aString) {
    }

    public boolean autoOpenClientApplication() {
        return false;
    }

    public boolean autoOpenInBrowser() {
        return false;
    }

    public boolean isRefusingNewSessions() {
        return true;
    }
}


--- Ken Anderson <email@hidden> wrote:

> John,
>
> I just turn off auto-open in browser and use a normal WO project - I
> just never put any components into it.
>
> Ken
>
> On Jan 27, 2006, at 3:35 PM, John Huss wrote:
>
> > Is it possible to use my EnterpriseObjects classes and EOModel in a
> > regular Java application without any web interface?
> >
> > How do I get a connection to the database and get an editing context?
> >
> > My ultimate goal is to write a little command-line program that
> > will import text files into a database at scheduled times.  If this
> > is a bad approach I'm open to other ideas.
> >
> > Thanks,
> > John
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list      (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > 40anderhome.com
> >
> > 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
>


Jerry Porter
Senior Software Engineer
Universal Measurement Solutions, Ltd.
Unit 90, 2150-29th Street NE
Calgary, Alberta
Canada T1Y 7G4
http://www.umsltd.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
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: 
 >Re: EnterpriseObjects in a regular Java application (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: EnterpriseObjects in a regular Java application
  • Next by Date: How many is too many instances?
  • Previous by thread: Re: EnterpriseObjects in a regular Java application
  • Next by thread: Re: EnterpriseObjects in a regular Java application
  • Index(es):
    • Date
    • Thread