Re: EnterpriseObjects in a regular Java application
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