I have been able to do this by gutting a copy of ERXApplication and
ERXConfigurationManager (PW 4.0) into my own new classes.
I followed the initialization routine and stripped everything else out
I could, I corrected with several places with try/catches and would
love to see this rolled back into PW in a stand-alone or super class
for the aforementioned classes.
Here's the startup seed for you! Create your own replacement for
ERXApplication and ERXConfigurationManager!
public static void main(String args[]) {
ERXApplication.setup(args[]);
ERXConfiguration.defaultManager().initialize();
// all the rest of the daemon...
}
On Feb 4, 2009, at 2:05 PM, William Hatch wrote:
I'd like to create a really simple app that has no UI requirements,
just something that processes data basically. I'd like to use EO and
Wonder. I'm thinking somebody's already done this, so was hoping for
some gotcha's, pointers, info and the like. In particular, I'm
wondering (pardon the pun) how I'd ensure that any required set up
by erextensions happens during my main method or wherever, whether
you bundle everything in using jars or frameworks, and then if
there's anything special you have to look at being that we don't
have the R-R loop going on. Thanks.
Bill
_______________________________________________
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/tkliewer%40apple.com
This email sent to [email protected]
Tim Kliewer
WWBI Software Engineering
Apple, Sacramento Operations
MS: 204-50 Tel: (916) 399-5101
2911 Laguna Blvd Cell: (916) 717-8748
Elk Grove, CA 95758 E-mail: [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]