Re: WOApplication.createRequest 5.3 and 5.4

2007-10-30 Thread Anjo Krank
As super does the same thing without WORequest, I don't see why it's  
needed. But no, it isn't (without resorting to pretty fugly  
refelction). Go write a bug report against WO for this unneeded and  
unfriendly change of public api...


Cheers, Anjo

Am 30.10.2007 um 01:04 schrieb Andrew Lindesay:


Hello Anjo;

I suppose if one wanted to fiddle with the headers and then call  
super this is not going to work is it?


cheers.


Actually, to be able to compile, you have to write:

	public WORequest createRequest(String aMethod, String aURL,  
String anHTTPVersion, NSDictionary someHeaders, NSData aContent,  
NSDictionary someInfo) {
		return _createRequest(aMethod, aURL, anHTTPVersion, new  
NSDictionary(someHeaders, false), aContent, someInfo);

}

	public WORequest createRequest(String aMethod, String aURL,  
String anHTTPVersion, Map someHeaders, NSData aContent,  
NSDictionary someInfo) {
		return _createRequest(aMethod, aURL, anHTTPVersion, new  
NSDictionary(someHeaders, false), aContent, someInfo);

}

	 protected WORequest _createRequest(String aMethod, String aURL,  
String anHTTPVersion, NSDictionary someHeaders, NSData aContent,  
NSDictionary someInfo) {
		WORequest worequest = new ERXRequest(aMethod, aURL,  
anHTTPVersion, someHeaders, aContent, someInfo);

return worequest;
}

...

Bla Wonder, bla:


	public WORequest createRequest(String aMethod, String aURL,  
String anHTTPVersion, NSDictionary someHeaders, NSData aContent,  
NSDictionary someInfo) {


		// Workaround for #3428067 (Apache Server Side Include module  
will feed
		// INCLUDED as the HTTP version, which causes a request  
object not to be

// created by an excepion.
if (anHTTPVersion.startsWith(INCLUDED))
anHTTPVersion = HTTP/1.0;

		WORequest worequest = new ERXRequest(aMethod, aURL,  
anHTTPVersion, someHeaders, aContent, someInfo);

return worequest;
}

	public WORequest createRequest(String aMethod, String aURL,  
String anHTTPVersion, Map someHeaders, NSData aContent,  
NSDictionary someInfo) {
		return createRequest(aMethod, aURL, anHTTPVersion, new  
NSDictionary(someHeaders, false), aContent, someInfo);

}

...
Has anybody else identified a 5.3 and 5.4 API compatible means  
of overriding WOApplication.createRequest(...) ?  I presume  
this is not possible.


___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz




___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: 5.4 and comments

2007-10-30 Thread Daniele Corti
2007/10/29, Mike Schrag [EMAIL PROTECTED]:

 2007/10/29, Jeffrey Simpson [EMAIL PROTECTED]:
 
  We often use tags to pass values into a piece of JavaScript.  Will the
  tags
  be parsed?


 Sure!
 The only case, where some problems occur (but probably it works) is

 var myStr = My Name is webobject name=MyName /;

 in this case you should use webobject name=MyName / without quote.

 Wait, are you answering for WO 5.4 or the WOLips validator. This sounds
 like the WOLips validator, which also sounds like a bug that you can't use
 name = whatever inside of javascript quotes.  I honestly don't know for
 5.4 -- I haven't tested this out.


Well, I used name=whatever inside quote, and it worked in WO 5.3  (I've
not 5.4), but I remember I used it also in another component and in the
runtime (I don't remember the class, while generating the HTML) it gives an
exception (Tag Not Valid if I remember, sorry but It was last year). After I
remove the quotes it works perfectly.

ms

  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com

 This email sent to [EMAIL PROTECTED]




-- 
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you
open
WINDOWS

-- 
What about the four lusers of the apocalypse? I nominate:
advertising, can't log in, power switch and what backup?
--Alistair Young
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Thomas

Lachlan,

thanks, I thought of that. Leopard hosed my hostconfig file, so I put  
back HOSTNAME=localhost (the DNS server and my computer don't agree,  
so this overrides it); Eclipse uses a WO parameter for -WOHost  
localhost and so does wotaskd.


I did find one problem in the log it says:

Don't have permission to write to Configuration Directory /Library/ 
WebObjects/Configuration/ as this user; please change the permissions.


So I fixed that, and wotaksd then launched properly instead of trying  
over and over again.


However, I still can't connect to it on port 1085, and my Eclipse app  
still gives ...application was not found...


One thing that confuses me: in the wotaskd log it says:

main WebObjects version = 5.4

This is after I swapped out all the 5.4 frameworks and replaced them  
with 5.3. Should I worry about this?


Any other ideas?

Regards
Thomas


On 30/10/2007, at 5:47 PM, Lachlan Deck wrote:


On 30/10/2007, at 5:38 PM, Thomas wrote:

Mike, thanks for your continued valuable input to the WebObjects  
community.


I'm now trying to get my development machine working again after  
upgrading to Leopard. I've done everything in your What-I-Did  
epistle (except for JavaMonitor), and I'm nearly there.


- Apache is running, serving the virtual sites I previously had set  
up, and mod_rewrite is working;


- wotaskd is running, or at least it says so when I try to run it  
again;


- Eclipse is working, building and debugging WO 5.3 applications in  
direct-connect mode


However, when I try to connect to Eclipse with the usual deployment- 
mode .../cgi-bin/WebObjects/MyApp.woa/-/wa/... I get the dreaded


The requested application was not found on this server.

In the past, this was a sign that wotaskd was not running.


... or that the WOHost settings for wotaskd, JavaMonitor, YourApp  
don't agree.


Try setting it to localhost.

with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40woomeranet.com.au

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Simon McLean
The community edition is free, and you get InnoDB and MyISAM with it.  
Basically the community edition lags a few dot releases behind the  
enterprise edition but is more or less the same product.


Simon

On 30 Oct 2007, at 03:50, Cheong Hee (Datasonic) wrote:

Some may not aware that MYSQL is not free! The pricing for InnoDB  
and MyISAM are different, being InnoDB is slightly more expensive.


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Database choices

2007-10-30 Thread Cheong Hee (DS)
Thanks for pointing out.  I overlooked this as costing for commercial is always 
part of concerns.

To share a bit, these are some info I am able to dig out from MySQL support 
team email:

One commercial license is required for each server.
 For MySQL Classic, each commercial license cost US$395
 For MySQL Pro, each commercial license costs US$695

Cheers

Cheong Hee

  - Original Message - 
  From: Simon McLean 
  To: Cheong Hee (Datasonic) 
  Cc: webobjects-dev@lists.apple.com 
  Sent: Tuesday, October 30, 2007 5:48 PM
  Subject: Re: Database choices


  The community edition is free, and you get InnoDB and MyISAM with it. 
Basically the community edition lags a few dot releases behind the enterprise 
edition but is more or less the same product.


  Simon


  On 30 Oct 2007, at 03:50, Cheong Hee (Datasonic) wrote:


Some may not aware that MYSQL is not free! The pricing for InnoDB and 
MyISAM are different, being InnoDB is slightly more expensive.


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Johan Henselmans


Op 28 okt 2007, om 20:23 heeft Mike Schrag het volgende geschreven:

There are lots of other ways to address many of the steps I list  
here, and Apple now recommends that you use the jar versions of  
their frameworks instead of the .framework versions which I use, but  
I didn't want to rock the boat just yet -- this procedure I'm  
writing is all about getting things as close to normal again  
before we start doing other craziness over the next few days.  This  
is basically the how do I just get back to things working again  
tutorial.


Note, I did an upgrade install, so things may be a little different  
if you did a fresh install, but I suspect it would only be less  
things you have to do.


* Install Xcode Tools and select WebObjects so you get 5.4

* Make sure Web Sharing is enabled in the Sharing Prefs Panel

* Note: /etc/httpd is out, /etc/apache2 is in

* Edit /etc/apache2/httpd.conf (if you did a fresh install, you may  
already have these -- search httpd.conf first)

** search for rewrite_module, and above it, add a
LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ 
Apache2.2/mod_WebObjects.so

** go to the very end and add
Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
** Search for Directory / and comment out the Order and Deny lines:
Directory /
Options FollowSymLinks
AllowOverride None
#Order deny,allow
#Deny from all
/Directory
** Restart apache (apachectl restart as root)
** if you run ps auxw | grep httpd you should see apache now running

* Create /Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist  
with:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd 


plist version=1.0
dict
keyDisabled/key
false/
keyGroupName/key
stringappserverusr/string
keyLabel/key
stringcom.apple.webobjects.wotaskd/string
keyOnDemand/key
false/
keyProgram/key
string/System/Library/WebObjects/JavaApplications/ 
wotaskd.woa/wotaskd/string

keyProgramArguments/key
array
stringwotaskd/string
string-WOPort/string
string1085/string
/array
keyServiceIPC/key
false/
keyUserName/key
stringappserver/string
/dict
/plist

* Create /Library/LaunchDaemons/com.apple.webobjects.womonitor.plist  
with:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd 


plist version=1.0
dict
keyDisabled/key
false/
keyGroupName/key
stringappserverusr/string
keyLabel/key
stringcom.apple.webobjects.womonitor/string
keyOnDemand/key
false/
keyProgram/key
string/System/Library/WebObjects/JavaApplications/ 
JavaMonitor.woa/JavaMonitor/string

keyProgramArguments/key
array
stringJavaMonitor/string
string-WOPort/string
string56789/string
/array
keyServiceIPC/key
false/
keyUserName/key
stringappserver/string
/dict
/plist

* launchctl load /Library/LaunchDaemons/ 
com.apple.webobjects.wotaskd.plist
* launchctl load /Library/LaunchDaemons/ 
com.apple.webobjects.womonitor.plist
* if you run ps auxw | grep java you should see wotaskd and java  
monitor now running


* The following can be done a couple ways, but this is just how I  
happened to have things setup in betas, so I kept it (it worked for  
me):
** Make a /System/Library/Frameworks/WebObjects54 folder, and move  
the following frameworks from the 5.4 install into it:

JavaDTWGeneration.framework
JavaDirectToWeb.framework
JavaEOAccess.framework
JavaEOApplication.framework
JavaEOControl.framework
JavaEODistribution.framework
JavaEOGeneration.framework
JavaEOInterface.framework
JavaEOInterfaceCocoa.framework
JavaEOInterfaceSwing.framework
JavaEOProject.framework
JavaEORuleSystem.framework
JavaEOTool.framework
JavaFoundation.framework
JavaJDBCAdaptor.framework
JavaJNDIAdaptor.framework
JavaWOExtensions.framework
JavaWOJSPServlet.framework
JavaWebObjects.framework
JavaWebServicesClient.framework
JavaWebServicesGeneration.framework
JavaWebServicesSupport.framework
JavaXML.framework

** Make a /System/Library/Frameworks/WebObjects53 folder, and move  
the following frameworks from your old 5.3 install into it (I tar'd  
these up from 5.3 before upgrading, but you can download 5.3 and  
extract these from the pkg, or POSSIBLY install them with the  
actually installer ... YMMV on that one)

JavaDTWGeneration.framework
JavaDirectToWeb.framework
JavaEOAccess.framework

Re: Are Batch Sequences Possible ?

2007-10-30 Thread Mike Schrag
Actually, I proposed an idea to FrontBase a while back, but totally  
forgot to revisit this once they open sourced the plugin.  The method  
you want to look at is in the plugin:


	public NSArray newPrimaryKeys(int i, EOEntity eoentity, JDBCChannel  
jdbcchannel) {


Notice it takes an int?  That int is the number of keys it needs.  If  
you extend the plugin, you can provide a more optimal implementation  
than just a for loop (which is what most of them do in here).


ms

On Oct 30, 2007, at 12:52 AM, Chuck Hill wrote:


Short answer: yes.

Mike recently added something to the FrontBase plugin(?) in Wonder  
to do this.  I imagine that the same thing could be done for  
Oracle.  There are primary key generators in GVCEOFExtensions that  
also do this (get a batch from the DB and allocate them locally).


The method we used was  in EODatabaseContext's delegate interface,
databaseContextNewPrimaryKey(EODatabaseContext dbCtxt, Object  
object, EOEntity entity)


I'm not sure what Mike did for his.

Chuck


On Oct 29, 2007, at 8:49 PM, Owen McKerrow wrote:


Hi All,

Im currently developing an app against a Oracle databas, which uses  
sequence for generating its Primary Keys.


Is there a way to get WO to request a batch of sequences instead of  
doing it one at a time ( which is what it appears to be doing when  
you output the SQL ). For example I am doing 1 save to the database  
that is inserting 142 rows into 1 table, 142 into a second and 711  
into a third. Each of the 142 row table inserts takes 2 seconds to  
return all of the sequence while the 711 inserts take's 8 seconds  
to get the sequences. Thats 12 seconds used before it even starts  
the INSERT statements, which take another 2, 2 and 8 respectively.  
Meaning the total save time is 24 seconds ( with SQL debugging  
turned on, its a little quicker with it turned off ).


Please someone tell me Im doing something dumb, or that there is a  
better way.


Heres a cut down version of the SQL output..

14:22:44,154 DEBUG [WorkerThread2] (RQFBOWSelection:286   
setUpPublicationsList) - Save Start.
14:22:44,415 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:44,416 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT t0.pub, t0.ABSTRACT FROM PUB_ABSTRACT t0  
WHERE t0.pub = ? withBindings: 1:8657(pubID)


Repeated 141 for 2 secconds

14:22:46,521 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:46,522 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT RQF_GRP_PSN_PUB_SEQ.NEXTVAL FROM DUAL


Repated 142 for  2 seconds

14:22:48,045 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:48,046 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT AUDIT_LOG_SEQ.NEXTVAL FROM DUAL


Repeated 711 for  8 seconds

14:22:56,928 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:56,929 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT RQF_PUB_SEQ.NEXTVAL FROM DUAL

Repeated 141 for . 2 seconds
14:22:58,782 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:58,783 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: INSERT INTO RQF_PUB(NOTES,  
OUTLET_ANGLICISED_TITLE, LANGUAGE_OF_TITLE, LOCKED,  
TYPE_OTHER_DESCRIPTION, METRICS_IDENTIFIER, OUTPUT_IDENTIFIER,  
RQF_PUB, ENGLISH_TITLE, PUB, IS_REPRINT, SENSITIVITY_EXPLAINATION,  
AVALIABLE_YEAR, ANGLICISED_TITLE, IS_COMMERCIAL_SENSITIVE,  
TYPE_CODE, IS_CULTURALSENSITIVE, OUTLET_RANKING_IDENTIFIER,  
AVAILABILITY_FORM, OUTLET_ENGLISH_TITLE, AVAIL_STATUS_CODE,  
NON_REPOSITORY_JUSTIFICATION, YEAR_VARIANCE_JUSTIFICATION,  
RQF_YEAR) VALUES (NULL, NULL, NULL, ?, NULL, NULL, NULL, ?,  
NULL, ?, ?, NULL, NULL, NULL, ?, NULL, ?, NULL, NULL, NULL, ?,  
NULL, NULL, ?) withBindings: 1:0(locked), 2:2266(rqfPUBID),  
3:8430(pubID), 4:0(reprint), 5:0(commercialSensative),  
6:0(culturalSensative), 7:R(availabilityStatusCode),  
8:21(rqfYearID)


Repeatd 142  for  2 seconds

14:22:59,717 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: INSERT INTO RQF_GRP_PSN_PUB(PERSON, RQF_PUB,  
GRP, RQF_GRP_PSN_PUB, TYPE) VALUES (?, ?, ?, ?, ?) withBindings:  
1:12545(personID), 2:2342(rqfPubID), 3:373(groupID),  
4:2542(rqfGrpPersonPubID), 5:1(type)


Repeatd 141 for  2 seconds

14:23:00,368 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: 

Re: Database choices

2007-10-30 Thread Mike Schrag
When we spoke with MySQL a while back, I believe that you only have to  
pay the licensing fee if you BUNDLE mysql with your product.  That is,  
if you ship a product and mysql is inside of it, then you pay.  If you  
install MySQL separately, then you don't.  I even specifically asked  
them about this because it sounded very weird, phrasing it like I have  
in the previous sentence, and they agreed.  It's possible the  
licensing has changed since then (this was I believe in late 2005),  
but I doubt it.  So given that, most people aren't selling WO product  
bundles, and if they are they probably are not INCLUDING mysql in it,  
so it's unlikely that pricing actually affects WO people.


ms

On Oct 30, 2007, at 6:12 AM, Cheong Hee (DS) wrote:

Thanks for pointing out.  I overlooked this as costing for  
commercial is always part of concerns.


To share a bit, these are some info I am able to dig out from MySQL  
support team email:


One commercial license is required for each server.
 For MySQL Classic, each commercial license cost US$395
 For MySQL Pro, each commercial license costs US$695
Cheers

Cheong Hee

- Original Message -
From: Simon McLean
To: Cheong Hee (Datasonic)
Cc: webobjects-dev@lists.apple.com
Sent: Tuesday, October 30, 2007 5:48 PM
Subject: Re: Database choices

The community edition is free, and you get InnoDB and MyISAM with  
it. Basically the community edition lags a few dot releases behind  
the enterprise edition but is more or less the same product.


Simon

On 30 Oct 2007, at 03:50, Cheong Hee (Datasonic) wrote:

Some may not aware that MYSQL is not free! The pricing for InnoDB  
and MyISAM are different, being InnoDB is slightly more expensive.


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Database choices

2007-10-30 Thread Mike Schrag

New licensing al-
lows for free deployment of WebObjects applications.
I missed this completely ... That's pretty huge, and definitely worth  
looking more into.  Apologies to OpenBase!


ms ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Official Rubicode Statement Regarding EOGenerator and Leopard

2007-10-30 Thread Mike Schrag
I just want to thank you guys for EOGenerator.  That tool made a huge  
percentage of the WebObjects development community's lives  
substantially easier.  As I mentioned in my private email, it's a  
testament to how great your apps were that I believe the #1 reason  
WebObjects people can't move to Leopard is because eogenerator is  
broken.


ms

On Oct 30, 2007, at 1:44 AM, Doug McClure wrote:

Hi all.  I apologize for sending this to so many groups, but I  
wanted as many to get this information as possible.




On Oct 29, 2007, at 6:56 PM, Kieran Kelleher wrote:

Is a Leopard version coming?
Thanks, Kieran


A very good question and one we've been thinking about a lot  
recently, so here is the Officical Rubicode Statement about  
EOGenerator and Leopard.


EOGenerator (and EOReporter and DBEdit for that matter) are based on  
the Objective-C version of EOF.  By using Objective-C, we were able  
to extend many EOF classes so that we could build our tools easily,  
and in EOGenerator's case, to add additional methods that were  
easily accessible in your templates..


As of WebObjects 5, Apple effectively EOL'ed the Obj-C EOF for  
public consumption, but because EOModeler and WebObjectsBuilder  
depended on those frameworks, they had to continue delivering them  
as private frameworks, which we gladly took advantage of.  However,  
we are well aware that as of 5.4, Apple has officially deprecated  
those applications as well as the private frameworks that we  
depended on.


It IS still possible to run these tools if you obtain the private  
frameworks and add them to your system from the previous developer  
release.  We have not tested this ourselves, but we have heard that  
it worked fine.


Currently we have no plans to make a version of DBEdit to work under  
5.4.  There is too much code, and too many Objective-C tricks  
required to think about a Java version at this time.


As for EOGenerator, that is a bit more difficult question.  We  
realize that EOGenerator is an extremely popular tool among the  
WebObjects community, and we would very much like to continue to  
support the tool, although neither Carl nor myself are working with  
WebObjects professionally at the moment.  We are left with two  
choices:  recreate the necessary Objective-C classes we need to  
support the model or rewrite the application in Java.  The first is  
not ideal as that places more work on our shoulders to stay in sync  
with the any changes to EOModel, and the latter would mean would  
sacrificing template compatibility to go with an existing Java  
product (most likely Velocity).  Either solution would certainly  
take a bit of time.


If we do redo EOGenerator, we will also redo EOReporter as the  
majority of the code base is the same.


Now Mike Schrag apparently has a EOGenerator replacement that he is  
looking to add to WOLips.  That is a completely separate project  
that we have no information about at this time, but we have every  
reason to believe that this will be a very useful tool that may  
remove any need for us to redevelop ours.  And if that happens we'll  
be content to hand over the EOGenerator title to someone else,  
although we will miss it.


We have greatly enjoyed serving the community with these tools for  
the past 7 years and are quite impressed with how many of you have  
made EOGenerator part of your projects.  We are looking forward to  
what Mike has to offer and will be exploring what we can add to the  
community also.


Any questions feel free to direct to [EMAIL PROTECTED]

Thank you all,

Carl Lindberg
Doug McClure



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Mike Schrag
Simplifysimplifysimplify ... You're biting off too much at once.   
Remove all that virtual host junk and get everything back to a default  
state.  Once you get the simple case working with just stock httpd  
settings, etc, THEN move up to adding fancy stuff w/ virtual hosts.   
Someone else aimed me yesterday that they ran into some issues with  
virtual hosts and launching, but they were also doing funky things  
with host names.  I believe he ended up setting his host name to his  
bonjour name? (but that's usually a death sentence in WO ... but you  
might try it at some point).


ms

On Oct 30, 2007, at 4:59 AM, Thomas wrote:


Lachlan,

thanks, I thought of that. Leopard hosed my hostconfig file, so I  
put back HOSTNAME=localhost (the DNS server and my computer don't  
agree, so this overrides it); Eclipse uses a WO parameter for - 
WOHost localhost and so does wotaskd.


I did find one problem in the log it says:

Don't have permission to write to Configuration Directory /Library/ 
WebObjects/Configuration/ as this user; please change the permissions.


So I fixed that, and wotaksd then launched properly instead of  
trying over and over again.


However, I still can't connect to it on port 1085, and my Eclipse  
app still gives ...application was not found...


One thing that confuses me: in the wotaskd log it says:

main WebObjects version = 5.4

This is after I swapped out all the 5.4 frameworks and replaced them  
with 5.3. Should I worry about this?


Any other ideas?

Regards
Thomas


On 30/10/2007, at 5:47 PM, Lachlan Deck wrote:


On 30/10/2007, at 5:38 PM, Thomas wrote:

Mike, thanks for your continued valuable input to the WebObjects  
community.


I'm now trying to get my development machine working again after  
upgrading to Leopard. I've done everything in your What-I-Did  
epistle (except for JavaMonitor), and I'm nearly there.


- Apache is running, serving the virtual sites I previously had  
set up, and mod_rewrite is working;


- wotaskd is running, or at least it says so when I try to run it  
again;


- Eclipse is working, building and debugging WO 5.3 applications  
in direct-connect mode


However, when I try to connect to Eclipse with the usual  
deployment-mode .../cgi-bin/WebObjects/MyApp.woa/-/wa/... I  
get the dreaded


The requested application was not found on this server.

In the past, this was a sign that wotaskd was not running.


... or that the WOHost settings for wotaskd, JavaMonitor, YourApp  
don't agree.


Try setting it to localhost.

with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40woomeranet.com.au

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Miguel Arroz

Hi!

  Well, yeah! :) I'm using a virtual host, and, on leopard, the only  
way I could do it was setting the machine hostname to the same as the  
virtual host. So, if your virtual host is something like myApp.mac,  
do a sudo hostname -s myApp.mac. It started working after that. Of  
course, if you want to work with more that one vhost at the same  
time, then you may have problems.


  Yours

Miguel Arroz

On 2007/10/30, at 12:58, Mike Schrag wrote:

Simplifysimplifysimplify ... You're biting off too much at once.   
Remove all that virtual host junk and get everything back to a  
default state.  Once you get the simple case working with just  
stock httpd settings, etc, THEN move up to adding fancy stuff w/  
virtual hosts.  Someone else aimed me yesterday that they ran into  
some issues with virtual hosts and launching, but they were also  
doing funky things with host names.  I believe he ended up setting  
his host name to his bonjour name? (but that's usually a death  
sentence in WO ... but you might try it at some point).


ms

On Oct 30, 2007, at 4:59 AM, Thomas wrote:


Lachlan,

thanks, I thought of that. Leopard hosed my hostconfig file, so I  
put back HOSTNAME=localhost (the DNS server and my computer don't  
agree, so this overrides it); Eclipse uses a WO parameter for - 
WOHost localhost and so does wotaskd.


I did find one problem in the log it says:

Don't have permission to write to Configuration Directory /Library/ 
WebObjects/Configuration/ as this user; please change the  
permissions.


So I fixed that, and wotaksd then launched properly instead of  
trying over and over again.


However, I still can't connect to it on port 1085, and my Eclipse  
app still gives ...application was not found...


One thing that confuses me: in the wotaskd log it says:

main WebObjects version = 5.4

This is after I swapped out all the 5.4 frameworks and replaced  
them with 5.3. Should I worry about this?


Any other ideas?

Regards
Thomas


On 30/10/2007, at 5:47 PM, Lachlan Deck wrote:


On 30/10/2007, at 5:38 PM, Thomas wrote:

Mike, thanks for your continued valuable input to the WebObjects  
community.


I'm now trying to get my development machine working again after  
upgrading to Leopard. I've done everything in your What-I-Did  
epistle (except for JavaMonitor), and I'm nearly there.


- Apache is running, serving the virtual sites I previously had  
set up, and mod_rewrite is working;


- wotaskd is running, or at least it says so when I try to run  
it again;


- Eclipse is working, building and debugging WO 5.3 applications  
in direct-connect mode


However, when I try to connect to Eclipse with the usual  
deployment-mode .../cgi-bin/WebObjects/MyApp.woa/-/wa/... I  
get the dreaded


The requested application was not found on this server.

In the past, this was a sign that wotaskd was not running.


... or that the WOHost settings for wotaskd, JavaMonitor, YourApp  
don't agree.


Try setting it to localhost.

with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects% 
40woomeranet.com.au


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 
40mdimension.com


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz% 
40guiamac.com


This email sent to [EMAIL PROTECTED]


Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com





smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

5.4 and JavaScript

2007-10-30 Thread Jeffrey Simpson
We use components to dynamically create chunks of JavaScript.  These chunks
are in comments.  In 5.4 will these components be evaluated?

I would send an example but the spam filters stopped the email.

Jeffrey Simpson
Youth For Understanding USA
[EMAIL PROTECTED]
Telephone: (240) 235-2114
FAX: (202) 235-2104

Preparing young people for their responsibilities and opportunities in a
changing, interdependent world.





 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Official Rubicode Statement Regarding EOGenerator and Leopard

2007-10-30 Thread Kieran Kelleher


On Oct 30, 2007, at 8:43 AM, Mike Schrag wrote:


I just want to thank you guys for EOGenerator.

+10

 That tool made a huge percentage of the WebObjects development  
community's lives substantially easier.

+10
 As I mentioned in my private email, it's a testament to how great  
your apps were that I believe the #1 reason WebObjects people can't  
move to Leopard is because eogenerator is broken.

+100

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Thank you for your comments

2007-10-30 Thread Daniele Corti
2007/10/30, Ken Foust [EMAIL PROTECTED]:

 Yes it is the passing of the tools and the ease of getting everything
 to work and coupled with the integration  that really hurts the
 novice.  One thing I fail to understand is,  If Apple is going to kill
 these tools why not just pass them on to the WO community here and let
 you people make them better if you want.


Well, it's just my opinion, but I think it's a business rule to prefer
projects death at give them for free. I think apple want to own these tools
source and patents, also for reuse in future project.

ken
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com

 This email sent to [EMAIL PROTECTED]




-- 
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you
open
WINDOWS

-- 
What about the four lusers of the apocalypse? I nominate:
advertising, can't log in, power switch and what backup?
--Alistair Young
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Official Rubicode Statement Regarding EOGenerator and Leopard

2007-10-30 Thread Ken Anderson
Same here no Leopard until something is available to replace  
EOGenerator!  Thanks!


On Oct 30, 2007, at 8:43 AM, Mike Schrag wrote:

I just want to thank you guys for EOGenerator.  That tool made a  
huge percentage of the WebObjects development community's lives  
substantially easier.  As I mentioned in my private email, it's a  
testament to how great your apps were that I believe the #1 reason  
WebObjects people can't move to Leopard is because eogenerator is  
broken.


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Thank you for your comments

2007-10-30 Thread Ken Foust
Yes it is the passing of the tools and the ease of getting everything  
to work and coupled with the integration  that really hurts the  
novice.  One thing I fail to understand is,  If Apple is going to kill  
these tools why not just pass them on to the WO community here and let  
you people make them better if you want.


ken
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread John Huss
We use FrontBase for an application that does mostly large, complex queries
(aggregating data, etc).  A few things about FrontBase have bothered me and
made me consider switching to Postgres:

- The database process crashes sometimes due to various queries that it
doesn't like
- Left join performance is bad
- Legacy left join syntax can return incorrect results
- OR performance is bad
- Multi-column indexes only allow a range of values for the last column of
the index - resulting in bad performance
- Adding columns to large tables can take hours and makes the DB
unresponsive

So I would say that FrontBase is great for applications that do simple, fast
queries, but maybe not if your needs are more demanding.

John
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Database choices

2007-10-30 Thread Guido Neitzer

On 29.10.2007, at 19:52, Mike Schrag wrote:


in FB, you might want to take a look at:
OPTIMIZE DATABASE;
OPTIMIZE DISK ZONE disk zone name | DEFAULT;
(see Page 115 of the FB User Guide for more info) ... Maybe will help?


As far as I understood Geert, this will not reclaim space on disk.  
You'll have to do a backup/restore cycle to get that back.


We had that problem with a fairly large logging database, where the  
space on disk doubled after an optimize - to 40GB ... And backup /  
restore takes too long to tolerate the downtime.


Yes!  FB has a query plan output also, but it's worthless.  It's  
totally cryptic and doesn't nearly report enough information about  
what it did.  My kingdom for them to make this better and on par  
with most of the competition.


Yes, same feelings here. I'd love to see something like explain  
analyze ... on FrontBase. The output in FrontBase only told me, that  
it was using some indexes for this and that, but that's about it.



Can't you just pg_dump your tables?


Sure you can, but than you have just one monolithic backup. And point  
in time recovery, what FrontBase backup does if you keep transaction  
logs, is on PG just plain pain in the ... wherever. FrontBase is  
easier to setup with that and just works (at least it did for us).  
PITR in PostgreSQL requires for a non-dba some serious shell scripting  
testing and digging until it works as expected. And even than it is  
not nice.


For a dba, this might sound ridiculous, but for me it isn't.

And just for completeness, I always have strange problems with FB  
Backup/Restore -- For one, they're not endian-safe, so you can't  
backup and restore across architectures, which just sucks.


You can't do either with PostgreSQL PITR (basically wal archiving). We  
found, that it mainly works from a Linux 64 bit Suse box to a Mac OS X  
Server (Leopard), 64 Bit compiled PG, if you recreate all indexes on  
the Leopard machine or use a plain C locale.


For another, it seems to segfault under odd circumstances for me  
when I try to move across machines, even of the same architecture.   
I write backup and also write all output just to be safe (write all  
output is actually not transactionally safe on FB, but I like to  
have it as a just in case in the event of an emergency).


I do the same.

Another wish I have is if I add a fulltext index, that I could tell  
it to make '%whatever%' queries use LookSee so I don't have to  
resort to proprietary SQL to do it.
I know WHY they don't do this, but it would just be a little nicer.   
I always mean to write a FullTextQualifier in Wonder that will turn  
into the proper SQL for a full-text search in the various databases,  
but I never seem get around to it.


Maybe this will appear one day if you ignore it long enough? Who  
knows? :-P


Yeah I would agree with this, too ... And we mix and match.  The  
other one is that PG has a much better query optimizer.  If you ever  
do a left outer join in FB, you may find that under certain  
circumstances performance really sucks.  We had to switch one of our  
apps over to PG which handed FB its ass in query performance with a  
complex query over a fairly large dataset.  For straight WO, this  
turns out to not matter much, because WO tends to generate fairly  
simple queries, but if you ever have particular complex custom SQL  
fetches, you might run into it.


We had the same problem about two years ago when I was still working  
in Germany, and it was really a pain. The planner did an obviously  
wrong choice (doing a nested loop or something similar over a set of  
more than 100k rows ...) where it could just use a subset (or  
subselect). The query was generated by D2W, so not much I could do  
about that without hacking way to deep and loosing all the nice, fast  
and easy development. I switched this app to PostgreSQL which handled  
that case way better.


As far as I know, FrontBase has solved this by bringing the query  
optimizer that was planned for version 5 into version 4. It solved the  
problem for the queries I had, but was still about a factor of two or  
three slower on that kind of stuff than FrontBase was. And we were on  
fairly old hardware and needed the speed. So we stayed with PG for that.


But to be fair: if you run into that kind of problem, the guys at  
FrontBase really want to help you and normally they find a way quickly.


cug
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Thank you for your comments

2007-10-30 Thread Michael Warner
It is just my own experience of course,  but I have found that by  
getting my hands dirty
with raw html and css and trying to comply with web standards and  
approaches that make
my pages more accessible to those with disabilities (and others),   
the result has been very rewarding.  Once you have templates
for best practice,  together with some third-party software that  
let's you copy and paste snippets of proven
html,  there is actually very little loss in productivity.   Rather  
than thinking you are going to step on your
designers' toes,  think how pleased they will be (well, may not ;-) )  
that they can work more closely with you.


Mike Warner, novice at heart

p.s.  with respect to web accessibility / usability,  I highly  
recommend the work of Roger Hudson and Russ Weakley of MaxDesign


http://www.maxdesign.com.au/

On Oct 30, 2007, at 7:10 AM, Daniele Corti wrote:




2007/10/30, Ken Foust [EMAIL PROTECTED]:
Yes it is the passing of the tools and the ease of getting everything
to work and coupled with the integration  that really hurts the
novice.  One thing I fail to understand is,  If Apple is going to kill
these tools why not just pass them on to the WO community here and let
you people make them better if you want.

Well, it's just my opinion, but I think it's a business rule to  
prefer projects death at give them for free. I think apple want to  
own these tools source and patents, also for reuse in future project.


ken
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ildenae% 
40gmail.com


This email sent to [EMAIL PROTECTED]



--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly  
if you open

WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
advertising, can't log in, power switch and what backup?
--Alistair Young
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mmwarner% 
40mac.com


This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

coexisting installs of WO 5.3/5.4 on Tiger/Leopard?

2007-10-30 Thread Ray Kiddy


I am wondering what people think about these (very random) ideas.

I have to admit I have not jumped onto using a Leopard system yet.  
For one thing, I have midterms, and for another, I am tempted to wait  
until I can get hardware with Leopard on it (which I probably cannot  
yet) and get a new laptop with Leopard on it. Then I will be able to  
transition things over from my current laptop as I desire, and not  
try to upgrade my somewhat beat-up laptop.


I am pretty sure of some things, some of which are represent  
competing viewpoints:


1) WO 5.3 is not and will not be supported on Leopard.

2) WO 5.3 works with Java 1.4, which is on Leopard, and so the WO 5.3  
runtime should work on Leopard.


3) It has been possible, for quite a while, to have more than one  
version of WO on a machine, but Apple will never support this.  
Essentially, the theoretical cost of supporting configuration goes up  
exponentially, not linearly, with the number of versions on a system.  
There will never be a reason for Apple to take on the job of  
supporting a machine that has two different versions of WO. But


Having no tool support, it should be a lot easier to configure  
runtimes for multiple versions. Things like soft-linked directory  
branches work a lot better when they do not have to deal with the  
ObjC bridge and all its associated noise. Project Wonder, for  
instance, could include scripts for configuring this. A script could  
even check the integrity of deployment installs. While at Apple, I  
wrote a verify your versions direct action. Too support-ish and not  
enough aqua, so not shippable.


4) EOModeler and WebObjects Builder may work on Leopard, but one  
would have to get the apps and many of their private frameworks over  
by hand and Apple may have done something to make these apps not  
launch, or they will launch but be crashy in the extreme. I still use  
them on Tiger, but I will have to give up on them for Leopard. :-(


Has Apple announced a public API for plugins in Xcode? Probably not.  
The amusing thing is, Xcode being an ObjC app, there are lots of APIs  
used by the plugins that Apple has written. That's actually the crux  
of the biscuit. Each group of people doing a plugin or two has  
created a new internal API


I know I should take the time to get comfortable with Eclipse. I just  
have had other things to do. Like creating WO apps. Sorry.


6) I am willing to bet I can take Xcode templates for WebObjects  
projects and make them work in Leopard. It should not even be  
difficult. Project templates are, after all, just a resource. I  
cannot decide if this is worth any time.


I am sure I will come up with other ideas, some even more useless  
than some of these, when I actually have a Leopard system. We'll see.  
I am open to suggestions, question, jibes, innuendoes, catcalls, or  
anything short of insults. No, insults are ok, too. :-)


happy halloween - ray


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Official Rubicode Statement Regarding EOGenerator and Leopard

2007-10-30 Thread Chuck Hill
What Mike said.  EOGenerator has been a vital part of our development  
process for many years now.  I never understood why more people did  
not use dbEdit.  I shall miss that.



Chuck


On Oct 30, 2007, at 5:43 AM, Mike Schrag wrote:

I just want to thank you guys for EOGenerator.  That tool made a  
huge percentage of the WebObjects development community's lives  
substantially easier.  As I mentioned in my private email, it's a  
testament to how great your apps were that I believe the #1 reason  
WebObjects people can't move to Leopard is because eogenerator is  
broken.


ms

On Oct 30, 2007, at 1:44 AM, Doug McClure wrote:

Hi all.  I apologize for sending this to so many groups, but I  
wanted as many to get this information as possible.




On Oct 29, 2007, at 6:56 PM, Kieran Kelleher wrote:

Is a Leopard version coming?
Thanks, Kieran


A very good question and one we've been thinking about a lot  
recently, so here is the Officical Rubicode Statement about  
EOGenerator and Leopard.


EOGenerator (and EOReporter and DBEdit for that matter) are based  
on the Objective-C version of EOF.  By using Objective-C, we were  
able to extend many EOF classes so that we could build our tools  
easily, and in EOGenerator's case, to add additional methods that  
were easily accessible in your templates..


As of WebObjects 5, Apple effectively EOL'ed the Obj-C EOF for  
public consumption, but because EOModeler and WebObjectsBuilder  
depended on those frameworks, they had to continue delivering them  
as private frameworks, which we gladly took advantage of.   
However, we are well aware that as of 5.4, Apple has officially  
deprecated those applications as well as the private frameworks  
that we depended on.


It IS still possible to run these tools if you obtain the private  
frameworks and add them to your system from the previous developer  
release.  We have not tested this ourselves, but we have heard  
that it worked fine.


Currently we have no plans to make a version of DBEdit to work  
under 5.4.  There is too much code, and too many Objective-C  
tricks required to think about a Java version at this time.


As for EOGenerator, that is a bit more difficult question.  We  
realize that EOGenerator is an extremely popular tool among the  
WebObjects community, and we would very much like to continue to  
support the tool, although neither Carl nor myself are working  
with WebObjects professionally at the moment.  We are left with  
two choices:  recreate the necessary Objective-C classes we need  
to support the model or rewrite the application in Java.  The  
first is not ideal as that places more work on our shoulders to  
stay in sync with the any changes to EOModel, and the latter would  
mean would sacrificing template compatibility to go with an  
existing Java product (most likely Velocity).  Either solution  
would certainly take a bit of time.


If we do redo EOGenerator, we will also redo EOReporter as the  
majority of the code base is the same.


Now Mike Schrag apparently has a EOGenerator replacement that he  
is looking to add to WOLips.  That is a completely separate  
project that we have no information about at this time, but we  
have every reason to believe that this will be a very useful tool  
that may remove any need for us to redevelop ours.  And if that  
happens we'll be content to hand over the EOGenerator title to  
someone else, although we will miss it.


We have greatly enjoyed serving the community with these tools for  
the past 7 years and are quite impressed with how many of you have  
made EOGenerator part of your projects.  We are looking forward to  
what Mike has to offer and will be exploring what we can add to  
the community also.


Any questions feel free to direct to [EMAIL PROTECTED]

Thank you all,

Carl Lindberg
Doug McClure



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]


--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Thank you for your comments

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 6:59 AM, Ken Foust wrote:

Yes it is the passing of the tools and the ease of getting  
everything to work and coupled with the integration  that really  
hurts the novice.  One thing I fail to understand is,  If Apple is  
going to kill these tools why not just pass them on to the WO  
community here and let you people make them better if you want.


One very good reason is that they depend on and require system  
libraries (aka frameworks) that are no longer part of OS X (as of  
Leopard).  Apple can not (for very valid reasons) release these  
system libraries as Open Source.  Without them, the apps are of  
little value.


Chuck

--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 7:31 AM, John Huss wrote:

We use FrontBase for an application that does mostly large, complex  
queries (aggregating data, etc).  A few things about FrontBase have  
bothered me and made me consider switching to Postgres:


- The database process crashes sometimes due to various queries  
that it doesn't like


Usually this is a parser bug and they have always fixed them  
quickly.  But it is definitely not something you want to find on an  
app in production.





- Left join performance is bad
- Legacy left join syntax can return incorrect results
- OR performance is bad


Yes, something odd is going on there.



- Multi-column indexes only allow a range of values for the last  
column of the index - resulting in bad performance


I have not run into this one.  Can you elaborate on this?

- Adding columns to large tables can take hours and makes the DB  
unresponsive


So I would say that FrontBase is great for applications that do  
simple, fast queries, but maybe not if your needs are more demanding.



Chuck

--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


AJRDatabase + MiscMerge ?= NeoEOGenerator

2007-10-30 Thread Jason Jobe

Ok, how much is really needed to port eogenerator to leopard?

Is AJRDatabase (http://www.raftis.net/~alex/source.html) old as it  
may be suitable for the task at hand?


Also, has anyone considered a CoreData model for an EOModel and then  
simply write an import/export plugin (possibly using a custom Core  
Data Atomic Store)?


What solutions are being considered?

-jason

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: AJRDatabase + MiscMerge ?= NeoEOGenerator

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 10:22 AM, Jason Jobe wrote:


Ok, how much is really needed to port eogenerator to leopard?

Is AJRDatabase (http://www.raftis.net/~alex/source.html) old as it  
may be suitable for the task at hand?


Also, has anyone considered a CoreData model for an EOModel and  
then simply write an import/export plugin (possibly using a custom  
Core Data Atomic Store)?


What solutions are being considered?


http://wiki.objectstyle.org/confluence/display/WOL/Home


--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Guido Neitzer

On 30.10.2007, at 11:01, Chuck Hill wrote:


- OR performance is bad


Yes, something odd is going on there.


If you stay inside one column with your or its using an index, if  
you use two different columns in an or, it won't. E.g.:


select * from foo where a = 'bar' or a = 'bas';

will use an index, but:

select * from foo where a = 'bar' or b = 'bar';

will not.

cug
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: coexisting installs of WO 5.3/5.4 on Tiger/Leopard?

2007-10-30 Thread Kieran Kelleher

Ray,

suggestion: embed=true for all frameworks solved much of this multi- 
version garbage in deployment in the past ... probably easiest route  
since WOLips ant tasks have easy embed flags


catcall/insult: switch to Eclipse you scardey cat! :-p

jibe: cannot believe you still use XCode :)

compliment: thanks for your email

Cheers, Kieran

On Oct 30, 2007, at 12:30 PM, Ray Kiddy wrote:



1) WO 5.3 is not and will not be supported on Leopard.

2) WO 5.3 works with Java 1.4, which is on Leopard, and so the WO  
5.3 runtime should work on Leopard.


3) It has been possible, for quite a while, to have more than one  
version of WO on a machine, but Apple will never support this.  
Essentially, the theoretical cost of supporting configuration goes  
up exponentially, not linearly, with the number of versions on a  
system. There will never be a reason for Apple to take on the job  
of supporting a machine that has two different versions of WO. But


Having no tool support, it should be a lot easier to configure  
runtimes for multiple versions. Things like soft-linked directory  
branches work a lot better when they do not have to deal with the  
ObjC bridge and all its associated noise. Project Wonder, for  
instance, could include scripts for configuring this. A script  
could even check the integrity of deployment installs. While at  
Apple, I wrote a verify your versions direct action. Too support- 
ish and not enough aqua, so not shippable.



I am sure I will come up with other ideas, some even more useless  
than some of these, when I actually have a Leopard system. We'll  
see. I am open to suggestions, question, jibes, innuendoes,  
catcalls, or anything short of insults. No, insults are ok, too. :-)




___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: AJRDatabase + MiscMerge ?= NeoEOGenerator

2007-10-30 Thread Guido Neitzer

On 30.10.2007, at 11:22, Jason Jobe wrote:


Ok, how much is really needed to port eogenerator to leopard?


For now, until a new solution arrives, you can just copy the needed  
Frameworks to you /System/Library/PrivateFrameworks and /System/ 
Library/Frameworks folders.


I moved the following from my Tiger install to /System/Library/ 
Frameworks:


InterfaceBuilder.framework
EOModeler.framework

And to /System/Library/PrivateFrameworks:

DevToolsCore.framework
DevToolsRemoteClient.framework
DevToolsSupport.framework
JavaKit.framework
EOAccess.framework
EOControl.framework
EOInterface.framework

With that, EOGenerator seems to work fine for me. I haven't noticed  
any problems yet, but I did this only this morning, so no guarantees  
that everything works.


cug
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread John Huss
For example, the FrontBase mail list archive has this message:

Subject: [RESOLVED] Re: Optimization/Caching/Indexing how-to

The order of the columns in the composite index definition is very important
for your case.

If you want the optimal performance, you need to put the timestamp column
last in the index definition because it is used with a range. The server
cannot use the column of an index after one with a range qualifier.

For example, in your case, if your composite index is define like these
example with a = check on fkY and fkZ and a range on dateX:
- (dateX, fkY, fkZ), only the date columsn is used like an index (dateX)
- (fkY, dateX, fkZ), only the fkY and date columsn is used like an index
(fkY, dateX)
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Thank you for your comments

2007-10-30 Thread Mike Schrag
Yes it is the passing of the tools and the ease of getting  
everything to work and coupled with the integration  that really  
hurts the novice.  One thing I fail to understand is,  If Apple is  
going to kill these tools why not just pass them on to the WO  
community here and let you people make them better if you want.
These tools were written ten years ago, and I suspect Apple doesn't  
want to deal with the fact that it might not reflect well on them  
releasing the source, which is probably not-so-pretty these days.


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Mike Schrag
But to be fair: if you run into that kind of problem, the guys at  
FrontBase really want to help you and normally they find a way  
quickly.

Agreed ... FrontBase support is great.

ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: coexisting installs of WO 5.3/5.4 on Tiger/Leopard?

2007-10-30 Thread Lachlan Deck

On 31/10/2007, at 5:04 AM, Kieran Kelleher wrote:

suggestion: embed=true for all frameworks solved much of this  
multi-version garbage in deployment in the past ... probably  
easiest route since WOLips ant tasks have easy embed flags


The thing I /do not/ like about embedding of WO supplied frameworks  
is how this makes each app needlessly bulky for uploading.


So for me, if there's some work put into a better solution, then +1  
from me. (This may just mean adding an option to WOLips to set a  
custom location to find the system frameworks).



On Oct 30, 2007, at 12:30 PM, Ray Kiddy wrote:

Having no tool support, it should be a lot easier to configure  
runtimes for multiple versions. Things like soft-linked directory  
branches work a lot better when they do not have to deal with the  
ObjC bridge and all its associated noise. Project Wonder, for  
instance, could include scripts for configuring this. A script  
could even check the integrity of deployment installs. While at  
Apple, I wrote a verify your versions direct action. Too support- 
ish and not enough aqua, so not shippable.


Seems like those shippable constraints are lifted ;-)

I am sure I will come up with other ideas, some even more useless  
than some of these, when I actually have a Leopard system. We'll  
see. I am open to suggestions, question, jibes, innuendoes,  
catcalls, or anything short of insults. No, insults are ok, too. :-)


Plan away... much appreciated. You have a unique opportunity given  
your knowledge of WO.


with regards,
--

Lachlan Deck
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Ted Thibodeau Jr
* Chuck Hill [2007/10/29 01:31 PM -0700] wrote:
 It is easy to install and administer and has pretty tools.  But it is
 not free, not SQL92 standard, and doesn't have (last time I used it)
 multiple column indexes.

One choice that hasn't been mentioned, and is perhaps worth exploring
given the features raised as important here (clustering, replication,
SQL-9x/200x, optimization engine, EXPLAIN, multi-column indexes, etc.).

   OpenLink Virtuoso Universal Server
   http://virtuoso.openlinksw.com/wiki/main/Main/
   http://sf.net/projects/virtuoso

The Open Source Edition is linked above.  The Commercial version also
includes Virtual DBMS features -- so you can keep your existing Oracle,
MySQL, PostgreSQL, Progress, Informix, etc. repositories, and just make
use of them through Virtuoso's feature set, which includes --

* Object-Relational Database for SQL, XML, RDF, and Free Text
  that includes Java and .NET runtime hosting
* RDF store and SPARQL
* WebDAV and Web Application Server
* Web Services Platform for SOA
* Data Access Interfaces for ODBC, JDBC, ADO.net and OLE/DB clients
* Web-based administration interface and interactive developer tutorials

The what's new blurbs for the latest two dot-releases --

 2007-09-27: Release v5.0.2

 This release includes 64-bit Integer support, RDF Sink Folders for
 WebDAV (enabling RDF Quad Store population simply by dropping RDF
 files into WebDAV), SPARUL optimizations, enhanced typed literal
 support in SPARQL, automatic metadata extraction from audio binary
 files, support for PHP 5.2 runtime hosting, an enhanced UI for RDF
 Linked-Data deployment using URL-rewrite rules, sew Sponger
 cartridges for Facebook, Freebase, Wikipedia, GRDDL, RDFa, eRDF
 and more. The Demonstration Database includes RDF Views  SQL Table
 samples for the THALIA data integration benchmark and testsuite and
 the Tutorial application includes Linked Data-style RDF Views for
 the Northwind SQL DBMS schema (the standard Virtuoso demo database
 schema). There is a new Amazon EC2 Image variation of Virtuoso with
 a fully configured instance comprising the Virtuoso core, OpenLink
 Data Spaces application suite and the OpenLink Ajax Toolkit.


 2007-05-31: Release v5.0.1

 This release includes an enhanced cost-based optimizer; fixed-cost
 calculation for RDF inf nodes; improved SPARQL performance and
 support for BREAKUP optimization for triple-construction from SQL
 data and support for the LIMIT and OFFSET clauses to CONSTRUCT and
 DESCRIBE; documentation updates; significant updates to all ODS
 applications: compliance with the latest SIOC vocabulary, calendar,
 OpenID login and registration. There are also small bug-fixes.


(Yes, I work for OpenLink.  No, I get no benefit if you grab the Open
Source Edition, nor directly if you buy a license for the Commercial
Edition or any services associated with either.  I would like to hear
from you about both positive and negative experiences with either.)

Be seeing you,

Ted



-- 
-- 
A: Yes.  http://www.guckes.net/faq/attribution.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?

Ted Thibodeau, Jr.   //   voice +1-781-273-0900 x32
Evangelism  Support //mailto:[EMAIL PROTECTED]
OpenLink Software, Inc.  //  http://www.openlinksw.com/
 http://www.openlinksw.com/weblogs/uda/
OpenLink Blogs  http://www.openlinksw.com/weblogs/virtuoso/
   http://www.openlinksw.com/blog/~kidehen/
Universal Data Access and Virtual Database Technology Providers
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Official Rubicode Statement Regarding EOGenerator and Leopard

2007-10-30 Thread David LeBer

On 30-Oct-07, at 12:51 PM, Chuck Hill wrote:

What Mike said.  EOGenerator has been a vital part of our  
development process for many years now.  I never understood why more  
people did not use dbEdit.  I shall miss that.



Chuck


On Oct 30, 2007, at 5:43 AM, Mike Schrag wrote:

I just want to thank you guys for EOGenerator.  That tool made a  
huge percentage of the WebObjects development community's lives  
substantially easier.  As I mentioned in my private email, it's a  
testament to how great your apps were that I believe the #1 reason  
WebObjects people can't move to Leopard is because eogenerator is  
broken.


Yes, ditto and Me too on both.

When I think of the sheer volume of code I would have had to have  
written myself that EOGenerator took care of for free, or the sense of  
freedom I got from knowing that a change in my model would result in  
new attribute accessors or fetch methods or factories in my Java  
classes automagically. Why it almost makes me get teary eyed...*


And I was really annoyed at myself when I realized that naming all of  
my PKs id in a recent model made it not open in DBEdit. Do'h!


(*Well not really, but it was for effect.)

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Thank you for your comments

2007-10-30 Thread Mike Schrag
Yes it is the passing of the tools and the ease of getting  
everything to work and coupled with the integration  that really  
hurts the novice.  One thing I fail to understand is,  If Apple is  
going to kill these tools why not just pass them on to the WO  
community here and let you people make them better if you want.
These tools were written ten years ago, and I suspect Apple doesn't  
want to deal with the fact that it might not reflect well on them  
releasing the source, which is probably not-so-pretty these days.
Incidentally this was sent prior to Chuck's comment on this thread,  
and I hadn't considered that part, but he's absolutely right ... Open  
sourcing EOModeler requires open sourcing EOF, which will never happen.


Anyway, it's not going to happen, so none of this really matters.  I  
explicitly asked all the involved parties for access to the source to  
both applications and was told that would not happen.  No point in  
getting upset with this, because it won't change anything.  The best  
thing people can do is move on and start using the new tools and help  
make them better.


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: AJRDatabase + MiscMerge ?= NeoEOGenerator

2007-10-30 Thread Andrew Lindesay

Hello Jason;

Although far from the generator most folk are using, I have written a  
wee ant task to do a basic generation which is akin to what  
EOModeller used to produce.  It's in my lejstuff project which you  
can download off my website if you are interested -- you are very  
welcome to use it.


cheers.


Ok, how much is really needed to port eogenerator to leopard?

Is AJRDatabase (http://www.raftis.net/~alex/source.html) old as it  
may be suitable for the task at hand?


Also, has anyone considered a CoreData model for an EOModel and  
then simply write an import/export plugin (possibly using a custom  
Core Data Atomic Store)?


What solutions are being considered?


___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Shehryar Khan


If you're going to use MySQL with WebObjects in a production  
environment, make sure to do the following:


- create all your tables with InnoDB engine support - the default  
MyISAM support is non-transactional


- make sure to create all your tables with the right charset and  
collation (UTF-8 all the way).  MySQL's internationalization support  
is excellent but ONLY if configured properly.


- make sure to add the correct voodoo to the JDBC connection string  
for your application so that it uses the right charset / collation  
over the JDBC connection.


While MySQL has worked out quite well for us when used with  
WebObjects (and PHP), the lack of sequences makes it a less viable  
choice for projects going forward.


These days we go out of our way to design schemas that are  
WebObjects, Ruby on Rails, Hibernate, and PHP friendly.  The MySQL /  
EO_PK_TABLE paradigm just doesn't fit well in this methodology -  
PostgreSQL is a much better choice.


thanks!

-shehryar

On Oct 30, 2007, at 11:42 AM, John Huss wrote:


For example, the FrontBase mail list archive has this message:

Subject: [RESOLVED] Re: Optimization/Caching/Indexing how-to

The order of the columns in the composite index definition is very  
important for your case.


If you want the optimal performance, you need to put the timestamp  
column last in the index definition because it is used with a  
range. The server cannot use the column of an index after one with  
a range qualifier.


For example, in your case, if your composite index is define like  
these example with a = check on fkY and fkZ and a range on dateX:
- (dateX, fkY, fkZ), only the date columsn is used like an index  
(dateX)
- (fkY, dateX, fkZ), only the fkY and date columsn is used like an  
index (fkY, dateX)

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/khans% 
40ubermind.com


This email sent to [EMAIL PROTECTED]


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Regarding Final Note

2007-10-30 Thread Thierry Kramis
There have been many mails on WO passing. First of all it didn't until  
now, and it won't for some time (at least that is what I think). But  
anyway. With the introduction of Webobject 5.4 and Leopard we've seen  
two things:


1. Java isn't top priority anymore (look at Java 6 not being there...).
2. Therefore also Webobjects can't be.

They didn't even manage to launch a new webobjects homepage  
synchronized with the release of Leopard and in Server Features it  
isn't leasted under the key technologie section. And to be honest, the  
progress they made since 5.3 in my view is a little dissapointing  
altough going in the right direction. They now mainly rely on help  
from the superbe wonder community for tools and anything. But in the  
end their pushing other technologies in place...


Regards Thierry



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: coexisting installs of WO 5.3/5.4 on Tiger/Leopard?

2007-10-30 Thread Lachlan Deck

On 31/10/2007, at 7:55 AM, Kieran Kelleher wrote:


On Oct 30, 2007, at 3:42 PM, Lachlan Deck wrote:


On 31/10/2007, at 5:04 AM, Kieran Kelleher wrote:

suggestion: embed=true for all frameworks solved much of this  
multi-version garbage in deployment in the past ... probably  
easiest route since WOLips ant tasks have easy embed flags


The thing I /do not/ like about embedding of WO supplied  
frameworks is how this makes each app needlessly bulky for uploading.


scp is particularly slow if you transfer the built embedded bundle  
as is with each file transfered separately . however if you  
tar.gz the bundle, it makes a dramatic difference to upload .


Sure, and this is what I do. But it's still bigger than it needs to be.

For the extra 60 seconds upload, I find it refreshing to never have  
deployment launch problems and peace of mind that I never stomp  
over frameworks with new versions that are incompatible with  
existing deployed apps.


For sure, a dedicated server with one or two apps might make sense  
to manage the server frameworks as separate deployments, but IMHO  
for servers with 6 or 12 or more different apps where some might  
not get updates for a long long time, embedding is the best way to  
deployment sanity.


I really don't see the conceptual difficulty with the following:

instead of:
WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/ 
javaeoaccess.jar


use in Contents/Unix/CLASSPATH.txt for example:
WOROOT_53/Library/Frameworks/JavaEOAccess.framework/Resources/Java/ 
javaeoaccess.jar

...

Simply requires either org.objectstyle.woproject.ant.WOApplication to  
take some argument or some other ant call to regex-replace after the  
fact.


So for me, if there's some work put into a better solution, then  
+1 from me. (This may just mean adding an option to WOLips to set  
a custom location to find the system frameworks).


with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Regarding Final Note

2007-10-30 Thread Mike Schrag
There have been many mails on WO passing. First of all it didn't  
until now, and it won't for some time (at least that is what I  
think). But anyway. With the introduction of Webobject 5.4 and  
Leopard we've seen two things:


1. Java isn't top priority anymore (look at Java 6 not being  
there...).

2. Therefore also Webobjects can't be.

They didn't even manage to launch a new webobjects homepage  
synchronized with the release of Leopard and in Server Features it  
isn't leasted under the key technologie section. And to be honest,  
the progress they made since 5.3 in my view is a little  
dissapointing altough going in the right direction. They now mainly  
rely on help from the superbe wonder community for tools and  
anything. But in the end their pushing other technologies in place...
I don't believe this is the case.  First of all, their release plan  
with Java 6 basically matches their behavior with all previous  
releases of Java and demonstrates to me that it's as important as it's  
always been (whether that is high importance or not, who knows, but it  
seems at  least consistent). There's a huge amount of speculation  
about what's going on, but I suspect the answer is it's coming out  
really soon, chill people.  All these folks on the blogs who are so  
worked up about Java 6, I'm curious what exactly the features are of 6  
that they're really that upset about not having right now?  It seems  
to me Sun's pretty well lamed up the Java 6 release -- give me some  
REAL features, Sun -- don't just bundle a damn database in your VM.   
This is not by any means an excuse for Apple to delay releasing, I'd  
love the latest and greatest also, but looking at the differences, I'm  
not really all that upset.


Secondly while 5.3 in many ways is just catching up with what Wonder  
and others have had for a while, I think it's forward momentum, and  
that's a good thing for the platform.  Wonder has had 7 (or so) years  
of active development while WO has mostly stood still, so yeah, it's  
going to take a while to figure out what makes sense to go into the  
platform and for them to bring those features in.  And while I've  
disagreed with some of the specific 5.4 decisions, I think Pierre,  
Daryl, and crew have good intentions for the platform and I know  
they're actively working on making it better.  Apple could have  
decided to not put a single more man hour into WO development, but  
instead they've made a fairly substantial turn in the past year or so  
and are actually trying to offer new developments.


I do agree that the WO 5.3 webpage on Apple's site is pretty lame, but  
it's also a technology in a weird place at the moment.  Do they show  
WOLips pictures there? Maybe, but I'm not sure there's much of a  
precedent for that. Give it time to work itself out.  And honestly, if  
it doesn't, so be it.  You're still using one of the best technologies  
around, and Apple not doing a damn thing for almost a decade hasn't  
really held you up thus far.


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Chuck Hill
If I understand what they are saying / what the situation is, then  
that seems like a reasonable limitation on using indexes for  
optimization.


Chuck


On Oct 30, 2007, at 11:42 AM, John Huss wrote:


For example, the FrontBase mail list archive has this message:

Subject: [RESOLVED] Re: Optimization/Caching/Indexing how-to

The order of the columns in the composite index definition is very  
important for your case.


If you want the optimal performance, you need to put the timestamp  
column last in the index definition because it is used with a  
range. The server cannot use the column of an index after one with  
a range qualifier.


For example, in your case, if your composite index is define like  
these example with a = check on fkY and fkZ and a range on dateX:
- (dateX, fkY, fkZ), only the date columsn is used like an index  
(dateX)
- (fkY, dateX, fkZ), only the fkY and date columsn is used like an  
index (fkY, dateX)


--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Regarding Final Note

2007-10-30 Thread Mike Schrag
And by the way, the move from Xcode + WOB + EOM to Eclipse + WOLips +  
EM is really no different than Apple's move from the old iMovie to  
iMovie 08.  The big point of contention is that it's neither a clear  
upward or downward move.  In some ways it's substantially better, in  
some ways it's worse, but, like Apple with iMovie, we (being WOLips  
and Apple) collectively believe that even though we took a step down  
in some areas, the overall trajectory of this direction is much  
stronger.  I fully believe this for WOLips.  Yes, graphical editing of  
tables isn't there yet, and you can't drag and drop bindings yet, but  
there's a HUGE amount of new stuff that IS there that makes a much  
stronger development platform to work off of.  Think different ;)


ms

On Oct 30, 2007, at 4:27 PM, Thierry Kramis wrote:

There have been many mails on WO passing. First of all it didn't  
until now, and it won't for some time (at least that is what I  
think). But anyway. With the introduction of Webobject 5.4 and  
Leopard we've seen two things:


1. Java isn't top priority anymore (look at Java 6 not being  
there...).

2. Therefore also Webobjects can't be.

They didn't even manage to launch a new webobjects homepage  
synchronized with the release of Leopard and in Server Features it  
isn't leasted under the key technologie section. And to be honest,  
the progress they made since 5.3 in my view is a little  
dissapointing altough going in the right direction. They now mainly  
rely on help from the superbe wonder community for tools and  
anything. But in the end their pushing other technologies in place...


Regards Thierry



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: coexisting installs of WO 5.3/5.4 on Tiger/Leopard?

2007-10-30 Thread Kieran Kelleher


On Oct 30, 2007, at 3:42 PM, Lachlan Deck wrote:


On 31/10/2007, at 5:04 AM, Kieran Kelleher wrote:

suggestion: embed=true for all frameworks solved much of this  
multi-version garbage in deployment in the past ... probably  
easiest route since WOLips ant tasks have easy embed flags


The thing I /do not/ like about embedding of WO supplied frameworks  
is how this makes each app needlessly bulky for uploading.


scp is particularly slow if you transfer the built embedded bundle as  
is with each file transfered separately . however if you tar.gz  
the bundle, it makes a dramatic difference to upload . I find  
that a typical woa with fully embedded Apple frameworks, Wonder and a  
few custom ones tar.gz's to 15MB to 30MB more or less.  it is  
faster than when I scp'd non-tar.gz'd, non-embedded woa's before from  
what I can see.


For the extra 60 seconds upload, I find it refreshing to never have  
deployment launch problems and peace of mind that I never stomp over  
frameworks with new versions that are incompatible with existing  
deployed apps.


For sure, a dedicated server with one or two apps might make sense to  
manage the server frameworks as separate deployments, but IMHO for  
servers with 6 or 12 or more different apps where some might not get  
updates for a long long time, embedding is the best way to deployment  
sanity.




So for me, if there's some work put into a better solution, then +1  
from me. (This may just mean adding an option to WOLips to set a  
custom location to find the system frameworks).




___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Thomas

OK, just to be simple I've removed virtual hosts, without change.

I've tried all sorts of HostName combinations, but I believe that is a  
red herring.


I believe that the real problem is that wotaskd is not listening on  
port 1085. I can't connect to it with a browser, and although ps tells  
me wotaskd was launched with ... -WOPort 1085 ... netstat does not  
list anything using port 1085.


I guess I'll just give up on Leopard development for now, and use an  
older 10.4 machine to do development. Direct connect is not an option,  
because my apps use mod-rewrite and readable URLs for most links.


Regards
Thomas

On 30/10/2007, at 11:58 PM, Mike Schrag wrote:

Simplifysimplifysimplify ... You're biting off too much at once.   
Remove all that virtual host junk and get everything back to a  
default state.  Once you get the simple case working with just stock  
httpd settings, etc, THEN move up to adding fancy stuff w/ virtual  
hosts.  Someone else aimed me yesterday that they ran into some  
issues with virtual hosts and launching, but they were also doing  
funky things with host names.  I believe he ended up setting his  
host name to his bonjour name? (but that's usually a death sentence  
in WO ... but you might try it at some point).


ms

On Oct 30, 2007, at 4:59 AM, Thomas wrote:


Lachlan,

thanks, I thought of that. Leopard hosed my hostconfig file, so I  
put back HOSTNAME=localhost (the DNS server and my computer don't  
agree, so this overrides it); Eclipse uses a WO parameter for - 
WOHost localhost and so does wotaskd.


I did find one problem in the log it says:

Don't have permission to write to Configuration Directory /Library/ 
WebObjects/Configuration/ as this user; please change the  
permissions.


So I fixed that, and wotaksd then launched properly instead of  
trying over and over again.


However, I still can't connect to it on port 1085, and my Eclipse  
app still gives ...application was not found...


One thing that confuses me: in the wotaskd log it says:

main WebObjects version = 5.4

This is after I swapped out all the 5.4 frameworks and replaced  
them with 5.3. Should I worry about this?


Any other ideas?

Regards
Thomas


On 30/10/2007, at 5:47 PM, Lachlan Deck wrote:


On 30/10/2007, at 5:38 PM, Thomas wrote:

Mike, thanks for your continued valuable input to the WebObjects  
community.


I'm now trying to get my development machine working again after  
upgrading to Leopard. I've done everything in your What-I-Did  
epistle (except for JavaMonitor), and I'm nearly there.


- Apache is running, serving the virtual sites I previously had  
set up, and mod_rewrite is working;


- wotaskd is running, or at least it says so when I try to run it  
again;


- Eclipse is working, building and debugging WO 5.3 applications  
in direct-connect mode


However, when I try to connect to Eclipse with the usual  
deployment-mode .../cgi-bin/WebObjects/MyApp.woa/-/wa/... I  
get the dreaded


The requested application was not found on this server.

In the past, this was a sign that wotaskd was not running.


... or that the WOHost settings for wotaskd, JavaMonitor, YourApp  
don't agree.


Try setting it to localhost.

with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40woomeranet.com.au

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40woomeranet.com.au

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 2:26 PM, Thomas wrote:


OK, just to be simple I've removed virtual hosts, without change.

I've tried all sorts of HostName combinations, but I believe that  
is a red herring.


I believe that the real problem is that wotaskd is not listening on  
port 1085. I can't connect to it with a browser,


What happens?  Might it be password protected?

and although ps tells me wotaskd was launched with ... -WOPort  
1085 ... netstat does not list anything using port 1085.


You can also try

sudo lsof -i tcp:1085

Chuck



I guess I'll just give up on Leopard development for now, and use  
an older 10.4 machine to do development. Direct connect is not an  
option, because my apps use mod-rewrite and readable URLs for most  
links.


Regards
Thomas

On 30/10/2007, at 11:58 PM, Mike Schrag wrote:

Simplifysimplifysimplify ... You're biting off too much at once.   
Remove all that virtual host junk and get everything back to a  
default state.  Once you get the simple case working with just  
stock httpd settings, etc, THEN move up to adding fancy stuff w/  
virtual hosts.  Someone else aimed me yesterday that they ran into  
some issues with virtual hosts and launching, but they were also  
doing funky things with host names.  I believe he ended up setting  
his host name to his bonjour name? (but that's usually a death  
sentence in WO ... but you might try it at some point).


ms

On Oct 30, 2007, at 4:59 AM, Thomas wrote:


Lachlan,

thanks, I thought of that. Leopard hosed my hostconfig file, so I  
put back HOSTNAME=localhost (the DNS server and my computer don't  
agree, so this overrides it); Eclipse uses a WO parameter for - 
WOHost localhost and so does wotaskd.


I did find one problem in the log it says:

Don't have permission to write to Configuration Directory / 
Library/WebObjects/Configuration/ as this user; please change the  
permissions.


So I fixed that, and wotaksd then launched properly instead of  
trying over and over again.


However, I still can't connect to it on port 1085, and my Eclipse  
app still gives ...application was not found...


One thing that confuses me: in the wotaskd log it says:

main WebObjects version = 5.4

This is after I swapped out all the 5.4 frameworks and replaced  
them with 5.3. Should I worry about this?


Any other ideas?

Regards
Thomas


On 30/10/2007, at 5:47 PM, Lachlan Deck wrote:


On 30/10/2007, at 5:38 PM, Thomas wrote:

Mike, thanks for your continued valuable input to the  
WebObjects community.


I'm now trying to get my development machine working again  
after upgrading to Leopard. I've done everything in your What- 
I-Did epistle (except for JavaMonitor), and I'm nearly there.


- Apache is running, serving the virtual sites I previously had  
set up, and mod_rewrite is working;


- wotaskd is running, or at least it says so when I try to run  
it again;


- Eclipse is working, building and debugging WO 5.3  
applications in direct-connect mode


However, when I try to connect to Eclipse with the usual  
deployment-mode .../cgi-bin/WebObjects/MyApp.woa/-/wa/... I  
get the dreaded


The requested application was not found on this server.

In the past, this was a sign that wotaskd was not running.


... or that the WOHost settings for wotaskd, JavaMonitor,  
YourApp don't agree.


Try setting it to localhost.

with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects% 
40woomeranet.com.au


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 
40mdimension.com


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects% 
40woomeranet.com.au


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects






Re: Database choices

2007-10-30 Thread Mike Schrag

WebObjects
OpenBase 10 includes a new plugin and WO qualifier objects, allowing  
you to easily
perform complex sub-queries inside your WebObjects applications.   
Schema synchroni-
zation functions allow users to easily manage WebObjects schemas.   
New licensing al-

lows for free deployment of WebObjects applications.
Is OB 10 free for any of the versions for WO deployment, or is this  
license only for specific versions (like the Solo version or something)?


ms ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Database choices

2007-10-30 Thread Mike Schrag
Is OB 10 free for any of the versions for WO deployment, or is this  
license only for specific versions (like the Solo version or  
something)?
Our mail server is being super slow, btw ... So I'm not just retarded  
and asking already-answered questions 15 minutes later :)


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: 5.4 and comments

2007-10-30 Thread Charles Koppelman
I think your problem with using double-quoted name attributes inside of
double-quotes in JS.  If you want to solve that, use single-quotes for your
JS string.  I have had trouble with using a webobject ... / tag in JS,
though.  I instead use webobject ... /webobject
Charles Koppelman


On 10/30/07 4:31 AM, Daniele Corti [EMAIL PROTECTED] wrote:

 
 
 2007/10/29, Mike Schrag [EMAIL PROTECTED]:
 2007/10/29, Jeffrey Simpson  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 :
  We often use tags to pass values into a piece of JavaScript.  Will the
 tags 
 be parsed?
 
 Sure! 
 The only case, where some problems occur (but probably it works) is
 
 var myStr = My Name is webobject name=MyName /;
 
 in this case you should use webobject name=MyName / without quote.
 Wait, are you answering for WO 5.4 or the WOLips validator. This sounds like
 the WOLips validator, which also sounds like a bug that you can't use name =
 whatever inside of javascript quotes.  I honestly don't know for 5.4 -- I
 haven't tested this out.
 
 Well, I used name=whatever inside quote, and it worked in WO 5.3  (I've not
 5.4), but I remember I used it also in another component and in the runtime (I
 don't remember the class, while generating the HTML) it gives an exception
 (Tag Not Valid if I remember, sorry but It was last year). After I remove the
 quotes it works perfectly.
 
 ms
 
  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com
 mailto:Webobjects-dev@lists.apple.com )
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com
 http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com
 
 This email sent to [EMAIL PROTECTED]
 
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: WO54 on Tiger?

2007-10-30 Thread Mike Schrag
WebObjects is just Java.  This will 100% work but will be completely  
unsupported (but then, what is supported really?).  I've been  
running w/ that for a while.


ms

On Oct 30, 2007, at 6:24 PM, Galen Rhodes wrote:

Just out of curiosity, has anyone tried putting WO54 frameworks on  
Tiger Server?  I'm sure some of you might see where I'm heading with  
this?


--
Galen Rhodes
[EMAIL PROTECTED]

There is no worse tyranny than to force a man to pay for what he  
does not want merely because you think it would be good for him.


-- Robert Heinlein --



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Regarding Final Note

2007-10-30 Thread Ricardo Parada


On Oct 30, 2007, at 4:31 PM, Mike Schrag wrote:


And by the way, the move from Xcode + WOB + EOM to Eclipse + WOLips +
EM is really no different than Apple's move from the old iMovie to
iMovie 08.  The big point of contention is that it's neither a clear
upward or downward move.  In some ways it's substantially better, in
some ways it's worse, but, like Apple with iMovie, we (being WOLips
and Apple) collectively believe that even though we took a step down
in some areas, the overall trajectory of this direction is much
stronger.  I fully believe this for WOLips.  Yes, graphical editing of
tables isn't there yet, and you can't drag and drop bindings yet, but
there's a HUGE amount of new stuff that IS there that makes a much
stronger development platform to work off of.  Think different ;)


What I would love to see is a simple download and install package  
for WO developers.


For example, the recommended Eclipse 3.3.1 and stable WOLips for WO5.4  
development.


Not sure if it's possible but that would be nice.

And maybe bundle a README file with links pointing users to places  
pages where they can find more info.  Since most real projects consist  
of reusable frameworks and applications that use them, I think a  
tutorial should cover how to build a framework and add that dependency  
to one of your apps.


That should be helpful for beginners.

Ricardo Parada

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


JavaEOGenerator

2007-10-30 Thread Mike Schrag

OK Leopard EOGenerator waiters ...

After much legal gnashing of teeth, and some poking and prodding,  
Apple has agreed to release JavaEOGenerator.  This is 100% work done  
by Apple.  I'm just releasing it on mDimension build server while they  
get their ducks in a row on their own proper release.  This will  
eventually be a developer example in some forthcoming Leopard  
developer update, which means it will also include source code.  I'm  
only providing the binary release at the moment, though a source  
release may also be coming prior to a Leopard release also.


You can download JavaEOGenerator from:

http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator-beta.tar.gz

and you can get the sample templates from:

http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator%20Templates/

The template format is WO 5.4 inline bindings, so it should feel  
familiar.  There is a README.rtfd inside the tar that explains more  
about how to use it.  Other than the template format changing, this  
should be a 100% drop-in replacement of the original EOGenerator.


Going forward this will likely be the recommended method for  
EOGeneration.


Thanks a lot to Apple for contributing this to WOLips!
ms
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: WO54 on Tiger?

2007-10-30 Thread Q


On 31/10/2007, at 8:24 AM, Galen Rhodes wrote:

Just out of curiosity, has anyone tried putting WO54 frameworks on  
Tiger Server?  I'm sure some of you might see where I'm heading  
with this?


I have 5.4 working on FreeBSD, so Tiger should be able to run it  
without issue, but it will to be totally unsupported.


--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Setting a custom EOFetchSpecification for a WODisplayGroup

2007-10-30 Thread Paul Hoadley

On 29/10/2007, at 9:30 PM, Paul Lynch wrote:


I am very much a WO novice, just working my way through Ruzek's WO
web application construction kit.


WOWACK is a little old now, being WO 4.5; but I still like it the  
best of the entry level books.


Yes, it still seems to be usable.  Well, it was usable given I had  
worked through about half of it before upgrading to Leopard and losing  
the Apple GUI tools.  I don't know how someone would go starting from  
scratch with WOWACK now...



What I
_thought_ I could do was replace the literal declaration of
fetchSpecification for the WODisplayGroup (which I just copied over
from something auto-generated from WO Builder) with a reference to a
method in the component's Java class that returned an
EOFetchSpecification.  That is, instead of this:

   dataSource = {
   class = EODatabaseDataSource;
   editingContext = session.defaultEditingContext;
   fetchSpecification = {
   class = EOFetchSpecification;
   entityName = Task;
   fetchLimit = 0;
   isDeep = YES;
   };
   };

I tried this:

   dataSource = {
   class = EODatabaseDataSource;
   editingContext = session.defaultEditingContext;
   fetchSpecification = activeFetchSpec;
   };



Try:

fetchSpecification = activeFetchSpec;

for your binding, assuming that this is a method in the component  
that returns a fetch spec.


That didn't _seem_ to work (it was the method returning an  
EOFetchSpecification), but I've now changed several things since I  
asked the question, most notably upgrading to WO 5.4.  I've also  
ditched the idea of using WODisplayGroups in the application anyway.   
If I take another look at it later and work it out, I'll reply to the  
list.



--
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WO54 on Tiger?

2007-10-30 Thread Galen Rhodes
What about the Apache 2 adaptor.  Has anyone tried that outside of  
Leopard?


--
Galen Rhodes
[EMAIL PROTECTED]

There is no worse tyranny than to force a man to pay for what he  
does not want merely because you think it would be good for him.


-- Robert Heinlein --



On Oct 30, 2007, at 6:56 PM, Q wrote:



On 31/10/2007, at 8:24 AM, Galen Rhodes wrote:

Just out of curiosity, has anyone tried putting WO54 frameworks on  
Tiger Server?  I'm sure some of you might see where I'm heading  
with this?


I have 5.4 working on FreeBSD, so Tiger should be able to run it  
without issue, but it will to be totally unsupported.


--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806





 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: WO54 on Tiger?

2007-10-30 Thread Mike Schrag
There's been an Apache2 adaptor in Wonder for quite a while,  
actually.  I haven't specifically tried to build the 5.4 one on  
anything else, but I don't know why it would use any OS X-specific code.


ms

On Oct 30, 2007, at 7:01 PM, Galen Rhodes wrote:

What about the Apache 2 adaptor.  Has anyone tried that outside of  
Leopard?


--
Galen Rhodes
[EMAIL PROTECTED]

There is no worse tyranny than to force a man to pay for what he  
does not want merely because you think it would be good for him.


-- Robert Heinlein --



On Oct 30, 2007, at 6:56 PM, Q wrote:



On 31/10/2007, at 8:24 AM, Galen Rhodes wrote:

Just out of curiosity, has anyone tried putting WO54 frameworks on  
Tiger Server?  I'm sure some of you might see where I'm heading  
with this?


I have 5.4 working on FreeBSD, so Tiger should be able to run it  
without issue, but it will to be totally unsupported.


--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Database choices

2007-10-30 Thread Simon McLean
i don't think it's your mail server mike - i've also been getting  
jumbled up messages from the wo-dev list for the past day or so...


simon

On 30 Oct 2007, at 22:12, Mike Schrag wrote:

Is OB 10 free for any of the versions for WO deployment, or is  
this license only for specific versions (like the Solo version or  
something)?
Our mail server is being super slow, btw ... So I'm not just  
retarded and asking already-answered questions 15 minutes later :)


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/simon_mclean% 
40mac.com


This email sent to [EMAIL PROTECTED]


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Art Isbell

On Oct 30, 2007, at 11:26 AM, Thomas wrote:

I guess I'll just give up on Leopard development for now, and use an  
older 10.4 machine to do development. Direct connect is not an  
option, because my apps use mod-rewrite and readable URLs for most  
links.



	For what it's worth, I've had no problem running my WO 5.3/Xcode/ 
Apache 1.3 apps under WO 5.4/Eclipse 3.2.2/Apache 2.2 in Web server  
connect mode (i.e., not Direct Connect) after migrating to Eclipse and  
working around one WO 5.4 API bug.  Mine was a clean Leopard, XCode  
tools, and WO 5.4 install including a migration of everything from a  
Tiger partition.  So I don't think that Leopard, WO 5.4, or Apache 2.2  
is to blame for your problem.


	I don't recall how you're launching wotaskd and JavaMonitor.  I  
suggest using the launchd config files posted a few days ago on this  
mailing list.  These ensure that wotaskd is running as appserver  
rather than root or any other user which could cause problems.


Aloha,
Art

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Regarding Final Note

2007-10-30 Thread Mike Schrag
What I would love to see is a simple download and install package  
for WO developers.
The biggest issue with this is that someone has to host the extra 100+  
meg installer for a bunch of leeches to download :)  But anyone could  
technically make a preinstalled bundle.


For example, the recommended Eclipse 3.3.1 and stable WOLips for  
WO5.4 development.


Not sure if it's possible but that would be nice.

And maybe bundle a README file with links pointing users to places  
pages where they can find more info.  Since most real projects  
consist of reusable frameworks and applications that use them, I  
think a tutorial should cover how to build a framework and add that  
dependency to one of your apps.

Have you seen the wolips wiki?  It has all of this.

ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Thomas

Chuck, you're a genius.

sudo lsof -i tcp:1085

-  tells me that wotaskd is listening on the reverse DNS entry for  
this machine. So when I use that host name in the browser, wotaskd  
delivers its page. No, it's not password protected. But I didn't  
realise that wotaskd refuses to respond to the wrong host name--  
connection refused.


And because wotaskd is listening on the reverse DNS entry, localhost  
doesn't work either.


So I changed all the config files to use the reverse DNS name, and at  
last I can connect to Eclipse via Apache.


Now I have to see what I can do about the virtual hosts.

Just BTW, at the start of /etc/hostconfig it says this file is going  
away and adding HOSTNAME=... to it didn't seem to do anything useful.  
How am I supposed to tell my development machine that its name should  
be different to the reverse DNS entry (which is very hard to get  
changed)?


Regards
Thomas


On 31/10/2007, at 8:59 AM, Chuck Hill wrote:



On Oct 30, 2007, at 2:26 PM, Thomas wrote:


OK, just to be simple I've removed virtual hosts, without change.

I've tried all sorts of HostName combinations, but I believe that  
is a red herring.


I believe that the real problem is that wotaskd is not listening on  
port 1085. I can't connect to it with a browser,


What happens?  Might it be password protected?

and although ps tells me wotaskd was launched with ... -WOPort  
1085 ... netstat does not list anything using port 1085.


You can also try

sudo lsof -i tcp:1085

Chuck


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 4:34 PM, Thomas wrote:


Chuck, you're a genius.


Yeah, I know.  :-P



sudo lsof -i tcp:1085

-  tells me that wotaskd is listening on the reverse DNS entry for  
this machine.


I was wondering about that when you mentioned something about the DNS  
not matching.  I was hoping this was fixed in WO 5.4.  WO is very  
sensitive to problems in this area.  I suspect, but don't know, that  
different developers used different methods of resolving things at  
different places in the code.  If the reverse DNS does not match the  
host name you are trying to use, things just don't work.


That is also a little odd if you have
WOHost=localhost

in the Properties files of wotaskd.woa.  It _should_ use that, unless  
something else is getting specified on the command line somewhere.


So when I use that host name in the browser, wotaskd delivers its  
page. No, it's not password protected. But I didn't realise that  
wotaskd refuses to respond to the wrong host name-- connection  
refused.


And because wotaskd is listening on the reverse DNS entry,  
localhost doesn't work either.


So I changed all the config files to use the reverse DNS name, and  
at last I can connect to Eclipse via Apache.


Now I have to see what I can do about the virtual hosts.


My suspicion is that they will now just work.


Just BTW, at the start of /etc/hostconfig it says this file is  
going away and adding HOSTNAME=... to it didn't seem to do  
anything useful. How am I supposed to tell my development machine  
that its name should be different to the reverse DNS entry (which  
is very hard to get changed)?


I don't know the answer to that, OS X sys admin is not my strong  
area.  Given WO's reliance on reverse DNS, there might not be  
anything you can do.



Chuck



On 31/10/2007, at 8:59 AM, Chuck Hill wrote:



On Oct 30, 2007, at 2:26 PM, Thomas wrote:


OK, just to be simple I've removed virtual hosts, without change.

I've tried all sorts of HostName combinations, but I believe that  
is a red herring.


I believe that the real problem is that wotaskd is not listening  
on port 1085. I can't connect to it with a browser,


What happens?  Might it be password protected?

and although ps tells me wotaskd was launched with ... -WOPort  
1085 ... netstat does not list anything using port 1085.


You can also try

sudo lsof -i tcp:1085

Chuck


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Mike Schrag
I was wondering about that when you mentioned something about the  
DNS not matching.  I was hoping this was fixed in WO 5.4.  WO is  
very sensitive to problems in this area.  I suspect, but don't know,  
that different developers used different methods of resolving things  
at different places in the code.  If the reverse DNS does not match  
the host name you are trying to use, things just don't work.
wotaskd and monitor are now open sourced in Leopard.  Believe me,  
these transgressions will be rectified.


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 4:50 PM, Mike Schrag wrote:

I was wondering about that when you mentioned something about the  
DNS not matching.  I was hoping this was fixed in WO 5.4.  WO is  
very sensitive to problems in this area.  I suspect, but don't  
know, that different developers used different methods of  
resolving things at different places in the code.  If the reverse  
DNS does not match the host name you are trying to use, things  
just don't work.
wotaskd and monitor are now open sourced in Leopard.  Believe me,  
these transgressions will be rectified.


Forgive those who transgress against us.

--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Thomas

Art,

it looks like our emails crossed. Leopard has had a last-minute  
reprieve.


I'm glad your journey was less painful than mine. 8^|

Yes, I was launching wotaskd as per the initial email in this thread.  
I'm not using JavaMonitor on this development machine.


And for the next exciting episode in the journey-- virtual sites and  
mod_rewrite WERE a red herring. Now I put them back, they are working  
fine.


Now, as a Cold War friend of mine says: Back to Factory! Increase  
Production!


Regards
Thomas

On 31/10/2007, at 10:13 AM, Art Isbell wrote:

I guess I'll just give up on Leopard development for now, and use  
an older 10.4 machine to do development. Direct connect is not an  
option, because my apps use mod-rewrite and readable URLs for most  
links.



	For what it's worth, I've had no problem running my WO 5.3/Xcode/ 
Apache 1.3 apps under WO 5.4/Eclipse 3.2.2/Apache 2.2 in Web server  
connect mode (i.e., not Direct Connect) after migrating to Eclipse  
and working around one WO 5.4 API bug.  Mine was a clean Leopard,  
XCode tools, and WO 5.4 install including a migration of everything  
from a Tiger partition.  So I don't think that Leopard, WO 5.4, or  
Apache 2.2 is to blame for your problem.


	I don't recall how you're launching wotaskd and JavaMonitor.  I  
suggest using the launchd config files posted a few days ago on this  
mailing list.  These ensure that wotaskd is running as appserver  
rather than root or any other user which could cause problems.


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: JavaEOGenerator

2007-10-30 Thread Art Isbell

On Oct 30, 2007, at 12:50 PM, Mike Schrag wrote:

Other than the template format changing, this should be a 100% drop- 
in replacement of the original EOGenerator.



	A big advantage of EOGenerator was Objective-C.  This allowed the  
EOGenerator developers to define NSString categories that added  
functionality that's just not available from Java's String; e.g.,  
uppercaseUnderbarString which will create JAVA_STYLE field identifiers  
(static final constants).  I use this in my EOGenerator template.  I  
have been unable to replicate this with JavaEOGenerator.  I suspect  
that other EOGenerator template functionality has been lost with  
JavaEOGenerator.  Any suggestions?


Aloha,
Art

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Webobjects-dev Digest, Vol 4, Issue 768

2007-10-30 Thread Ken Foust

What I would love to see is a simple download and install package
for WO developers.

For example, the recommended Eclipse 3.3.1 and stable WOLips for WO5.4
development.

Not sure if it's possible but that would be nice.

And maybe bundle a README file with links pointing users to places
pages where they can find more info.  Since most real projects consist
of reusable frameworks and applications that use them, I think a
tutorial should cover how to build a framework and add that dependency
to one of your apps.

That should be helpful for beginners.

Ricardo Parada


ken foust says

AMEN BROTHER

Make a WOBuilder app - package all this on a DMG so it installs and  
works.  Hell sell it for  bucks if you want.






___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post

2007-10-30 Thread Lachlan Deck

On 31/10/2007, at 10:50 AM, Mike Schrag wrote:


wotaskd and monitor are now open sourced in Leopard.


Now THAT is good news!

(Finally, some work can be done on JM for one to give it a more  
efficient interface)



  Believe me, these transgressions will be rectified.


All good...

with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Are Batch Sequences Possible ?

2007-10-30 Thread Mike Schrag

I'm not sure what Mike did for his.
OK, I committed a fix to the FrontBasePlugin that adds batch key  
generation ... Right now it just does batches of 10, but it can be  
tweaked pretty easily.  I'm using the syntax of:


values (select unique from YourTable, select unique from YourTable,  
select unique from YourTable, ...)


which is how Geert recommended that this be addressed.  I suspect I  
could do WAY more than 10 as FB seems to just not care how big of a  
query you throw at it, but oh well .. 10x faster isn't bad either.


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Are Batch Sequences Possible ?

2007-10-30 Thread Owen McKerrow

Hi Chuck,

I'm looking over your FBIntegerPrimaryKeyGenerator and  
IntegerPrimaryKeyGenerator classes from GVCFrameworks and was just  
wondering if my understanding of it is correct. Basiaclly you will  
have to make a new instance of the FBIntegerPrimaryKeyGenerator at  
some point and then ask it to create a bunch of new PK's for you for  
a specific entity, lets say Person. These are then cached. So then  
when I make a new instance Person, it will be given one of these  
caches PK's stright away ( i.e. no extra code required ) or is there  
another step to request one of these PK's from the cache ? If it  
happens automatically will it be before the editingContext saves it  
changes ?


I could see this potentially being dangerous ( not deadly or  
anything ) if you don't end up using all your primary keys ( at least  
with Orcale sequences ) in that you would ask for 100 new PK's, the  
sequence is incremented 100 times, you only use 50 of them and you  
would have a missing 50 values from your PK coloum. Anyways just a  
random though.


Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - -
  'The test of a first-rate intelligence is the ability to hold two  
opposed ideas in the mind at the same time and still be able to  
function.'

-F.Scott Fitzgerald,


On 30/10/2007, at 3:52 PM, Chuck Hill wrote:


Short answer: yes.

Mike recently added something to the FrontBase plugin(?) in Wonder  
to do this.  I imagine that the same thing could be done for  
Oracle.  There are primary key generators in GVCEOFExtensions that  
also do this (get a batch from the DB and allocate them locally).


The method we used was  in EODatabaseContext's delegate interface,
databaseContextNewPrimaryKey(EODatabaseContext dbCtxt, Object  
object, EOEntity entity)


I'm not sure what Mike did for his.

Chuck


On Oct 29, 2007, at 8:49 PM, Owen McKerrow wrote:


Hi All,

Im currently developing an app against a Oracle databas, which  
uses sequence for generating its Primary Keys.


Is there a way to get WO to request a batch of sequences instead  
of doing it one at a time ( which is what it appears to be doing  
when you output the SQL ). For example I am doing 1 save to the  
database that is inserting 142 rows into 1 table, 142 into a  
second and 711 into a third. Each of the 142 row table inserts  
takes 2 seconds to return all of the sequence while the 711  
inserts take's 8 seconds to get the sequences. Thats 12 seconds  
used before it even starts the INSERT statements, which take  
another 2, 2 and 8 respectively. Meaning the total save time is 24  
seconds ( with SQL debugging turned on, its a little quicker with  
it turned off ).


Please someone tell me Im doing something dumb, or that there is a  
better way.


Heres a cut down version of the SQL output..

14:22:44,154 DEBUG [WorkerThread2] (RQFBOWSelection:286   
setUpPublicationsList) - Save Start.
14:22:44,415 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:44,416 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT t0.pub, t0.ABSTRACT FROM PUB_ABSTRACT  
t0 WHERE t0.pub = ? withBindings: 1:8657(pubID)


Repeated 141 for 2 secconds

14:22:46,521 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:46,522 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT RQF_GRP_PSN_PUB_SEQ.NEXTVAL FROM DUAL


Repated 142 for  2 seconds

14:22:48,045 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:48,046 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT AUDIT_LOG_SEQ.NEXTVAL FROM DUAL


Repeated 711 for  8 seconds

14:22:56,928 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:56,929 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT RQF_PUB_SEQ.NEXTVAL FROM DUAL

Repeated 141 for . 2 seconds
14:22:58,782 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:58,783 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: INSERT INTO RQF_PUB(NOTES,  
OUTLET_ANGLICISED_TITLE, LANGUAGE_OF_TITLE, LOCKED,  
TYPE_OTHER_DESCRIPTION, METRICS_IDENTIFIER, OUTPUT_IDENTIFIER,  
RQF_PUB, ENGLISH_TITLE, PUB, IS_REPRINT, SENSITIVITY_EXPLAINATION,  
AVALIABLE_YEAR, ANGLICISED_TITLE, IS_COMMERCIAL_SENSITIVE,  
TYPE_CODE, IS_CULTURALSENSITIVE, OUTLET_RANKING_IDENTIFIER,  
AVAILABILITY_FORM, 

Re: coexisting installs of WO 5.3/5.4 on Tiger/Leopard?

2007-10-30 Thread Ian Joyner

On 31/10/2007, at 3:30 AM, Ray Kiddy wrote:
I am sure I will come up with other ideas, some even more useless  
than some of these, when I actually have a Leopard system. We'll  
see. I am open to suggestions, question, jibes, innuendoes,  
catcalls, or anything short of insults. No, insults are ok, too. :-)


Catcalls are best avoided:

http://se.ethz.ch/~meyer/ongoing/covariance/recast.pdf ;-)

Ian

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Database choices

2007-10-30 Thread Gordon Belray

Hi Mike,

The solo license is for single server local-access. It should work  
with any version of WO, not sure about 5.4 yet.


http://www.openbase.com/home-News-detail.1060.html

Gordon

On 30-Oct-07, at 5:42 PM, Mike Schrag wrote:


WebObjects
OpenBase 10 includes a new plugin and WO qualifier objects,  
allowing you to easily
perform complex sub-queries inside your WebObjects applications.   
Schema synchroni-
zation functions allow users to easily manage WebObjects schemas.   
New licensing al-

lows for free deployment of WebObjects applications.
Is OB 10 free for any of the versions for WO deployment, or is this  
license only for specific versions (like the Solo version or  
something)?


ms
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/gordon.belray% 
40utoronto.ca


This email sent to [EMAIL PROTECTED]


Gordon Belray
Information Architect and Imaging System Manager
Information Technology Services Robarts Library
416.946.8617cell: 416.427.7007
[EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Eclipse/WOLips/EOGenerator Package Installer

2007-10-30 Thread Mike Schrag

Update to eogenerator beta2 and the new templates ...

On Oct 30, 2007, at 11:06 PM, Jeremy Matthews wrote:

Working on a sample Eclipse 3.3.1.1/WOLips installer..especially  
for some default settings, included files, etc.


Included components this far:
Eclipse 3.3.1.1
WOLips (nightly build X)
Saved Eclipse Update Manager prefs for nightly WOLips builds
(Beta) EOGenerator/templates from Apple (per Mike)

WIP:
launchd scripts (canna get the OS to respect the XML files yet...)  
for wotaskd + Javamonitor


Designed for - Leopard  WO 5.4 (Leopard and WO 5.4 required for  
installation)



Please send any ideas/feedback my waythis is really designed for  
newbies, but any suggestions are welcome.


Thanks,
jeremy
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Are Batch Sequences Possible ?

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 6:13 PM, Owen McKerrow wrote:


Hi Chuck,

I'm looking over your FBIntegerPrimaryKeyGenerator and  
IntegerPrimaryKeyGenerator classes from GVCFrameworks and was just  
wondering if my understanding of it is correct. Basiaclly you will  
have to make a new instance of the FBIntegerPrimaryKeyGenerator at  
some point and then ask it to create a bunch of new PK's for you  
for a specific entity, lets say Person. These are then cached. So  
then when I make a new instance Person, it will be given one of  
these caches PK's stright away ( i.e. no extra code required ) or  
is there another step to request one of these PK's from the cache ?  
If it happens automatically will it be before the editingContext  
saves it changes ?


Yes, that sounds correct.  We have only used this when processing  
large imports that insert thousands of rows.  The PK assignment from  
the cache happens during saveChanges().  IIRC, it if runs out it will  
cache another batch.



I could see this potentially being dangerous ( not deadly or  
anything ) if you don't end up using all your primary keys ( at  
least with Orcale sequences ) in that you would ask for 100 new  
PK's, the sequence is incremented 100 times, you only use 50 of  
them and you would have a missing 50 values from your PK coloum.  
Anyways just a random though.


Yes, it will create gaps in the PK sequence.  That is the price to be  
paid for caching.  I was discussing this with Mike earlier and it  
appears that our code may have a nasty race condition in it.  SELECT  
UNIQUE might not be working as we had assumed.  I have not gotten  
around to testing it yet.  The solution in the plugin that Mike just  
posted about is (a) safe from this race condition, (b) less wasteful  
of key values, and (c) overall easier to use.  We were too short  
sighted to consider doing it at the plugin level when we wrote that  
PK key caching code.


Chuck




On 30/10/2007, at 3:52 PM, Chuck Hill wrote:


Short answer: yes.

Mike recently added something to the FrontBase plugin(?) in Wonder  
to do this.  I imagine that the same thing could be done for  
Oracle.  There are primary key generators in GVCEOFExtensions that  
also do this (get a batch from the DB and allocate them locally).


The method we used was  in EODatabaseContext's delegate interface,
databaseContextNewPrimaryKey(EODatabaseContext dbCtxt, Object  
object, EOEntity entity)


I'm not sure what Mike did for his.

Chuck


On Oct 29, 2007, at 8:49 PM, Owen McKerrow wrote:


Hi All,

Im currently developing an app against a Oracle databas, which  
uses sequence for generating its Primary Keys.


Is there a way to get WO to request a batch of sequences instead  
of doing it one at a time ( which is what it appears to be doing  
when you output the SQL ). For example I am doing 1 save to the  
database that is inserting 142 rows into 1 table, 142 into a  
second and 711 into a third. Each of the 142 row table inserts  
takes 2 seconds to return all of the sequence while the 711  
inserts take's 8 seconds to get the sequences. Thats 12 seconds  
used before it even starts the INSERT statements, which take  
another 2, 2 and 8 respectively. Meaning the total save time is  
24 seconds ( with SQL debugging turned on, its a little quicker  
with it turned off ).


Please someone tell me Im doing something dumb, or that there is  
a better way.


Heres a cut down version of the SQL output..

14:22:44,154 DEBUG [WorkerThread2] (RQFBOWSelection:286   
setUpPublicationsList) - Save Start.
14:22:44,415 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:44,416 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT t0.pub, t0.ABSTRACT FROM PUB_ABSTRACT  
t0 WHERE t0.pub = ? withBindings: 1:8657(pubID)


Repeated 141 for 2 secconds

14:22:46,521 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:46,522 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT RQF_GRP_PSN_PUB_SEQ.NEXTVAL FROM DUAL


Repated 142 for  2 seconds

14:22:48,045 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:48,046 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT AUDIT_LOG_SEQ.NEXTVAL FROM DUAL


Repeated 711 for  8 seconds

14:22:56,928 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin Internal Transaction
14:22:56,929 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn 
$OracleExpression: SELECT RQF_PUB_SEQ.NEXTVAL FROM DUAL

Repeated 141 for . 2 seconds
14:22:58,782 DEBUG [WorkerThread2] (Log.NSLogDebug:1546 appendln)  
-  === Begin 

Eclipse/WOLips/EOGenerator Package Installer

2007-10-30 Thread Jeremy Matthews
Working on a sample Eclipse 3.3.1.1/WOLips installer..especially  
for some default settings, included files, etc.


Included components this far:
Eclipse 3.3.1.1
WOLips (nightly build X)
Saved Eclipse Update Manager prefs for nightly WOLips builds
(Beta) EOGenerator/templates from Apple (per Mike)

WIP:
launchd scripts (canna get the OS to respect the XML files yet...) for  
wotaskd + Javamonitor


Designed for - Leopard  WO 5.4 (Leopard and WO 5.4 required for  
installation)



Please send any ideas/feedback my waythis is really designed for  
newbies, but any suggestions are welcome.


Thanks,
jeremy
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Eclipse/WOLips/EOGenerator Package Installer

2007-10-30 Thread Chuck Hill


On Oct 30, 2007, at 8:06 PM, Jeremy Matthews wrote:

Working on a sample Eclipse 3.3.1.1/WOLips  
installer..especially for some default settings, included  
files, etc.


Included components this far:
Eclipse 3.3.1.1
WOLips (nightly build X)
Saved Eclipse Update Manager prefs for nightly WOLips builds
(Beta) EOGenerator/templates from Apple (per Mike)

WIP:
launchd scripts (canna get the OS to respect the XML files yet...)  
for wotaskd + Javamonitor


I have a hard time respecting XML too.  ;-)




Designed for - Leopard  WO 5.4 (Leopard and WO 5.4 required for  
installation)



Please send any ideas/feedback my waythis is really designed  
for newbies, but any suggestions are welcome.


Thanks,
jeremy
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Eclipse/WOLips/EOGenerator Package Installer

2007-10-30 Thread John Huss
It's not directly required, but it would be nice to have Jad and Jadclipse
included if it's all legal and everything.  And mdimension has an update
site for Jadclipse that could be set up in the Update Manager.

Maybe this is going to far though.

John

On 10/30/07, Jeremy Matthews [EMAIL PROTECTED] wrote:

 Working on a sample Eclipse 3.3.1.1/WOLips installer..especially
 for some default settings, included files, etc.

 Included components this far:
 Eclipse 3.3.1.1
 WOLips (nightly build X)
 Saved Eclipse Update Manager prefs for nightly WOLips builds
 (Beta) EOGenerator/templates from Apple (per Mike)

 WIP:
 launchd scripts (canna get the OS to respect the XML files yet...) for
 wotaskd + Javamonitor

 Designed for - Leopard  WO 5.4 (Leopard and WO 5.4 required for
 installation)


 Please send any ideas/feedback my waythis is really designed for
 newbies, but any suggestions are welcome.

 Thanks,
 jeremy
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:

 http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

 This email sent to [EMAIL PROTECTED]

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: JavaEOGenerator

2007-10-30 Thread Sam Barnum

Looks like it's already been updated!

The link appears to be http://webobjects.mdimension.com/wolips/ 
EOGenerator/JavaEOGenerator-beta2.tar.gz


Thanks Mike, I was toying around with cleaning up something we'd  
written internally, this is probably much nicer.



--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952



On Oct 30, 2007, at 3:50 PM, Mike Schrag wrote:


OK Leopard EOGenerator waiters ...

After much legal gnashing of teeth, and some poking and prodding,  
Apple has agreed to release JavaEOGenerator.  This is 100% work  
done by Apple.  I'm just releasing it on mDimension build server  
while they get their ducks in a row on their own proper release.   
This will eventually be a developer example in some forthcoming  
Leopard developer update, which means it will also include source  
code.  I'm only providing the binary release at the moment, though  
a source release may also be coming prior to a Leopard release also.


You can download JavaEOGenerator from:

http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator- 
beta.tar.gz


and you can get the sample templates from:

http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator% 
20Templates/


The template format is WO 5.4 inline bindings, so it should feel  
familiar.  There is a README.rtfd inside the tar that explains more  
about how to use it.  Other than the template format changing, this  
should be a 100% drop-in replacement of the original EOGenerator.


Going forward this will likely be the recommended method for  
EOGeneration.


Thanks a lot to Apple for contributing this to WOLips!
ms
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/sam% 
40360works.com


This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: JavaEOGenerator

2007-10-30 Thread Mike Schrag

Thank Pierre ... I just packaged it (and patched it :) ).

ms

On Oct 30, 2007, at 11:31 PM, Sam Barnum wrote:


Looks like it's already been updated!

The link appears to be http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator-beta2.tar.gz 



Thanks Mike, I was toying around with cleaning up something we'd  
written internally, this is probably much nicer.



--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952



On Oct 30, 2007, at 3:50 PM, Mike Schrag wrote:


OK Leopard EOGenerator waiters ...

After much legal gnashing of teeth, and some poking and prodding,  
Apple has agreed to release JavaEOGenerator.  This is 100% work  
done by Apple.  I'm just releasing it on mDimension build server  
while they get their ducks in a row on their own proper release.   
This will eventually be a developer example in some forthcoming  
Leopard developer update, which means it will also include source  
code.  I'm only providing the binary release at the moment, though  
a source release may also be coming prior to a Leopard release also.


You can download JavaEOGenerator from:

http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator-beta.tar.gz

and you can get the sample templates from:

http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator%20Templates/

The template format is WO 5.4 inline bindings, so it should feel  
familiar.  There is a README.rtfd inside the tar that explains more  
about how to use it.  Other than the template format changing, this  
should be a 100% drop-in replacement of the original EOGenerator.


Going forward this will likely be the recommended method for  
EOGeneration.


Thanks a lot to Apple for contributing this to WOLips!
ms
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/sam%40360works.com

This email sent to [EMAIL PROTECTED]


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

leeches?

2007-10-30 Thread Ken Foust

Date: Tue, 30 Oct 2007 19:16:52 -0400
From: Mike Schrag [EMAIL PROTECTED]
Subject: Re: Regarding Final Note
To: WebObjects-Dev Mailing List webobjects-dev@lists.apple.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


What I would love to see is a simple download and install package
for WO developers.

The biggest issue with this is that someone has to host the extra 100+
meg installer for a bunch of leeches to download :)  But anyone could
technically make a preinstalled bundle.



Leeches?

Well pal you are obviously part of the problem.  Any WO app that hits  
the commercial market is a win for you.  And to refer to Novices as  
leeches is quite distasteful.  So you are some high powered developer  
who has no time for others trying to bring forth projects.  Well  
sobeit - we leeches will probably come up with the commercial apps  
that will succeed.  But at least I have ruled out one person to  
consider as a partner or a contracted developer!!  But you opinion is  
appreciated as we leeches try to move forward.



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Database choices

2007-10-30 Thread Ricardo Parada


On Oct 30, 2007, at 10:38 PM, Gordon Belray wrote:


The solo license is for single server local-access. It should work
with any version of WO, not sure about 5.4 yet.


It worked fine for me with WO 5.4.


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Eclipse/WOLips/EOGenerator Package Installer

2007-10-30 Thread Ricardo Parada


On Oct 30, 2007, at 10:38 PM, [EMAIL PROTECTED]  
wrote:



Please send any ideas/feedback my waythis is really designed for
newbies, but any suggestions are welcome.


Maybe a README file or something that points to Mike Schrag's tutorials.

:-)

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: leeches?

2007-10-30 Thread Q


On 31/10/2007, at 3:19 PM, Ken Foust wrote:




What I would love to see is a simple download and install package
for WO developers.

The biggest issue with this is that someone has to host the extra 100+
meg installer for a bunch of leeches to download :)  But anyone could
technically make a preinstalled bundle.

Leeches?

Well pal you are obviously part of the problem.  Any WO app that  
hits the commercial market is a win for you.  And to refer to  
Novices as leeches is quite distasteful.  So you are some high  
powered developer who has no time for others trying to bring forth  
projects.  Well sobeit - we leeches will probably come up with the  
commercial apps that will succeed.  But at least I have ruled out  
one person to consider as a partner or a contracted developer!!   
But you opinion is appreciated as we leeches try to move forward.


Mike doesn't work for Apple, he works for mDimension. Both mDimension  
and ObjectsStyle host and pay for a pretty substantial chunk of the  
WO community infrastructure that we rely on daily. They pay the  
hardware, hosting and bandwidth bills, you and I and everyone else  
suck down the content time after time, giving nothing in return, and  
paying exactly nothing to them for the pleasure. That's not even  
taking into account the enormous number of man hours of code  
development these companies donate to the community. So suck it up  
sunshine, we are leeches.


--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: JavaEOGenerator

2007-10-30 Thread Lachlan Deck

On 31/10/2007, at 2:37 PM, Mike Schrag wrote:


Thank Pierre ... I just packaged it (and patched it :) ).


ROTFL. ~17Mb download and (for some) Main.woa will keep 'em  
guessing... h1Hello There/h1 :-)


Perhaps beta3 will show them:
h1Hello There/h1pLooking for something?/p

Just wait for the support requests on the list :-))


On Oct 30, 2007, at 11:31 PM, Sam Barnum wrote:


Looks like it's already been updated!

The link appears to be http://webobjects.mdimension.com/wolips/ 
EOGenerator/JavaEOGenerator-beta2.tar.gz


Thanks Mike, I was toying around with cleaning up something we'd  
written internally, this is probably much nicer.



--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952



On Oct 30, 2007, at 3:50 PM, Mike Schrag wrote:


OK Leopard EOGenerator waiters ...

After much legal gnashing of teeth, and some poking and prodding,  
Apple has agreed to release JavaEOGenerator.  This is 100% work  
done by Apple.  I'm just releasing it on mDimension build server  
while they get their ducks in a row on their own proper release.   
This will eventually be a developer example in some forthcoming  
Leopard developer update, which means it will also include source  
code.  I'm only providing the binary release at the moment,  
though a source release may also be coming prior to a Leopard  
release also.


You can download JavaEOGenerator from:

http://webobjects.mdimension.com/wolips/EOGenerator/ 
JavaEOGenerator-beta.tar.gz


and you can get the sample templates from:

http://webobjects.mdimension.com/wolips/EOGenerator/ 
JavaEOGenerator%20Templates/


The template format is WO 5.4 inline bindings, so it should feel  
familiar.  There is a README.rtfd inside the tar that explains  
more about how to use it.  Other than the template format  
changing, this should be a 100% drop-in replacement of the  
original EOGenerator.


Going forward this will likely be the recommended method for  
EOGeneration.


Thanks a lot to Apple for contributing this to WOLips!
ms
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/sam% 
40360works.com


This email sent to [EMAIL PROTECTED]


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 
40mdimension.com


This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lachlan.deck% 
40gmail.com


This email sent to [EMAIL PROTECTED]


with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: AJRDatabase + MiscMerge ?= NeoEOGenerator

2007-10-30 Thread Doug McClure
Hi Jason,

We are actually looking at AJR.  I've managed to compile it into EOGenerator
but it's naturally missing information about Java, and we're having some
Key-Value coding issues it seems so we are a fair decent ways away from
actually making a template work.  And probably the biggest issue will be
figuring out how to deal with the new prototype support in 5.4.

-doug


On 10/30/07, Jason Jobe [EMAIL PROTECTED] wrote:

 Ok, how much is really needed to port eogenerator to leopard?

 Is AJRDatabase (http://www.raftis.net/~alex/source.html) old as it
 may be suitable for the task at hand?

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: leeches?

2007-10-30 Thread Mike Schrag

What I would love to see is a simple download and install package
for WO developers.

The biggest issue with this is that someone has to host the extra 100+
meg installer for a bunch of leeches to download :)  But anyone could
technically make a preinstalled bundle.

Leeches?

Well pal you are obviously part of the problem.  Any WO app that  
hits the commercial market is a win for you.  And to refer to  
Novices as leeches is quite distasteful.  So you are some high  
powered developer who has no time for others trying to bring forth  
projects.  Well sobeit - we leeches will probably come up with the  
commercial apps that will succeed.  But at least I have ruled out  
one person to consider as a partner or a contracted developer!!  But  
you opinion is appreciated as we leeches try to move forward.
Seriously, Ken, are you kidding me?  I can't even believe I'm about to  
respond to this.


Everything below is my own opinion and not that of my employer blah  
blah blah.


First and most importantly, there's a _fairly crucial_ :) at the end  
of that sentence -- clearly I meant that as a joke.  Secondly, that  
you're accusing me of being part of the problem really is the most  
insulting thing I've ever heard, and I really REALLY don't get  
offended easily.  The rest of this is going to come off sounding self- 
congratulatory, and I'm really not like that, and it's not why I do  
the things I do, so bear with me everyone else for a moment and then  
we can pretend this email never happened.


My company has donated a running tally of more than $75,000 worth of  
COMPLETELY free development time to this community.  We have donated  
MANY hundreds  of gigabytes of free bandwidth and hosting to provide  
nightly build servers for WOLips, Project Wonder, and maven  
repositories.  And more importantly I have given up I don't even KNOW  
how many hundreds of hours of my personal life that I could be doing  
any number of other things with to try to make it a little better for  
the WO community.  Do you know what I was doing this weekend?  I  
wasn't playing with my son, I was instead stressing out about getting  
all the open source frameworks and applications 5.4 ready, and working  
through a list of procedures to try and help people migrate to Leopard  
with as few bumps as possible.  I actually DO have both a life and  
real work outside of all of this.  All those times I'm responding to  
emails and building new features in WOLips is time that comes from  
somewhere -- it means I'm pushing off my life or real work that I have  
to do later.  The first release of Entity Modeler was written in 5  
weeks of 100% personal time when I found out that EOModeler was likely  
going to be killed.  In fact, it's currently 2am and I just happened  
to have switched over to Mail from my Eclipse where I was working on  
building an early SWT release to work around a crashing bug that you  
new people might run into in Eclipse 3.3.1, but I really wanted to get  
it built so new users (that i apparently despise so much) don't have  
to get pissed off by crashes and have to wait until 3.3.2 comes out.   
Honestly -- am I really defending myself here?


So I apologize that the humor of my offhand snarky comment was CLEARLY  
lost on you, but I recommend that you maybe peruse this mailing list  
for more than a couple minutes before you make comments like this,  
because it makes you look pretty foolish.  And the irony of this  
situation is that when Jeremy finishes packaging up a WOLips  
installer, we WILL host the damn thing on our build server.


Wow ... Just ... wow.

ms


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: leeches?

2007-10-30 Thread Mike Schrag

Wow ... Just ... wow.

Now I'm just grumpy.  I'm off to watch The Daily Show ...

ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Is there an example that uses the new WO component format?

2007-10-30 Thread Ricardo Parada

Hi there,

I'm looking at the examples in /Developer/Examples/JavaWebObjects that  
come with WO 5.4.


I'm in search of an example that uses the new component format.  Has  
anybody seen one that uses the new format, e.g.


wo:WOString name=AppName value=[application.name] /

Thanks,
Ricardo

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]