Job Opportunities

2011-02-10 Thread David den Boer
Good day all, and sorry to spam the list, but his might be useful to one or 
more of you (or you may know one or more people looking to work in Cupertino 
for Apple!)

My team is looking for :
Senior Software Engineer, responsible for WO and Spring/Hibernate applications 
in a client/server and HTML/JS environment. Preference given to those with 
Cocoa/UIKit experience.

Senior Software Architect, responsible for architecture, mentoring, standards, 
tools, frameworks for WO and Spring/Hibernate applications. Preference given to 
those with Cocoa/UIKit experience. Extensive JavaScript experience is a plus 
(ie. did you hack at Gianduia to get it working for yourself?)


All job openings are local to Cupertino. Candidate must be willing to relocate, 
and legally work in US.

If you are interested, please send me your resume -- I will get back to you 
asap.


_

David den Boer | Manager,  Retail Engineering, IS&T | ddenb...@apple.com | 
408.974.9739  



 ___
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 arch...@mail-archive.com

Re: WOWODC 2011 coming to your city

2010-09-09 Thread David den Boer
woo-hoo, binary plists. Did someone say Session 117?
:-)

On Sep 8, 2010, at 5:35 PM, James Cicenia wrote:

> with binary p-lists.
> 
> :-)
> 
> 
> 
> On Sep 8, 2010, at 12:29 PM, Ken Anderson wrote:
> 
>> Except for the fact that everyone wants an example that links an iPhone app 
>> to a DB via ERRest :)
>> 
>> On Sep 8, 2010, at 1:26 PM, Chuck Hill wrote:
>> 
>>> And now WWDC has nothing to do with WO (or really OS X either), there is no 
>>> good reason to have it with WWDC.  WWDC is for iPhone and iPad development.
>>> 
>>> My 2 cents.
>>> 
>>> Chuck
>>> 
>>> On Sep 8, 2010, at 10:23 AM, Pascal Robert wrote:
>>> 
>>>> I don't think we will ever WOWODC near WWDC. Apple give the WWDC dates 
>>>> later each year, last year we would have only 6 weeks to organize WOWODC, 
>>>> that's not enough. And if WOWODC is still 3 days, imagine 3 days of WOWODC 
>>>> + 5 days of WWDC. Part of the reason WOWODC went really well this year is 
>>>> because we had more time to organize it and presenters had more time to 
>>>> prepare. 
>>>> 
>>>>> The thing I love about it being in SF (and timed with WWDC) is that I can 
>>>>> more easily justify it with my company. :)
>>>>> 
>>>>> -Lon
>>>>> 
>>>>> On Wed, Sep 8, 2010 at 9:29 AM, Ken - Watermark Studios 
>>>>>  wrote:
>>>>> If anyone wants to have it in San Francisco or Sacramento (both beautiful 
>>>>> cities) I can help with planning. Next year will be my first WOWODC. Even 
>>>>> though I'm a few hundred miles away, I'd also like to suggest Santa 
>>>>> Barbara. That is one of the most beautiful summer cities in the US. Great 
>>>>> beach, amazing restaurants, and very nice hotels.
>>>>> 
>>>>> Ken Anderson (the one from Sacramento)
>>>>> 
>>>>> Sent from my iPhone  ___
>>>>> 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/varscsak%40smarthealth.com
>>>>> 
>>>>> This email sent to varsc...@smarthealth.com
>>>>> 
>>>>> ___
>>>>> 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/probert%40macti.ca
>>>>> 
>>>>> This email sent to prob...@macti.ca
>>>> 
>>>> ___
>>>> 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 ch...@global-village.net
>>> 
>>> -- 
>>> Chuck Hill Senior Consultant / VP Development
>>> 
>>> 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/kenlists%40anderhome.com
>>> 
>>> This email sent to kenli...@anderhome.com
>> 
>> ___
>> 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/james%40jimijon.com
>> 
>> This email sent to ja...@jimijon.com
> 
> ___
> 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/ddenboer%40apple.com
> 
> This email sent to ddenb...@apple.com

_

David den Boer | Manager,  Retail Engineering, IS&T | ddenb...@apple.com | 
408.974.9739  

 ___
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 arch...@mail-archive.com

Re: Core Data to EOF migration tool

2010-08-10 Thread David den Boer
Should not be too difficult to also convert the CoreData model to an EOModel. 
Structure of CoreData model file is available via CoreData API, so you can 
fairly easily write a tool to convert the xcdatamodel to an eomodeld


On Jul 21, 2010, at 10:22 PM, Beatty, Daniel D CIV NAVAIR, 474300D wrote:

> Greetings Mark and others who probably know the answer,
> I have question regarding the possibility of migrating a Core Data scheme to 
> EOF.  The idea is to use Core Data as a sort of training wheels set to help 
> new comers to EOF learn.  One the questions that came up was, can EOF import 
> the scheme from Core Data.   
> 
> I suspect that sense that a Core Data apps that use SQLite, for example, 
> could simply be extracted through a valid JDBC adaptor.  The other thing that 
> would make sense is if the plist making the Core Data model specification 
> could have a mapping application to make it into an EO model.  In either 
> case, I am not sure of what tools are out there to accomplish this.  Any 
> ideas?  If there are such things, it makes the sales pitch of WO even sweeter.
> 
> Thank you,
> 
> Daniel Beatty
> Computer Scientist, Detonation Sciences Branch
> Code 474300D
> 2400 E. Pilot Plant Rd. M/S 1109
> China Lake, CA 93555
> daniel.bea...@navy.mil
> (760)939-7097 
> 
> P.S. I am hoping to see you all at WOWODC 2010.
> ___
> 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/ddenboer%40apple.com
> 
> This email sent to ddenb...@apple.com

 ___
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 arch...@mail-archive.com


Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)

2010-06-02 Thread David den Boer
Be sure to attend Session 117 on Wednesday morning for probably the only WO 
mention of the week:

Building a Server-driven User Experience
Powerful server-side technologies and Cocoa Touch best practices make it easy 
to remotely update native user interface and data structures in deployed mobile 
applications. Find out how to use proven techniques and technologies to deliver 
unique content and a personalized experience for each user of your application.



On May 27, 2010, at 7:20 AM, Mark Ritchie wrote:

> On 27/May/2010, at 5:09 AM, David LeBer wrote:
>> Tommy's night is usually Wednesday right?
>> Maybe a WO contingent meetup there?
> 
> I think that there were 3 runs last year! ;-)
> I'm sure that we can figure something out!
> M.
> ___
> 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/ddenboer%40apple.com
> 
> This email sent to ddenb...@apple.com

 ___
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 arch...@mail-archive.com

Apple Jobs available

2010-01-14 Thread David den Boer
Sorry to spam the list yet again, but I have a need for up to 5 Java/WO 
developers (full-time Apple Employee positions). We need :
- Live/Work in Bay Area/Cupertino
- minimum 3 years Java
- 1 year WO preferred, but we will train
- experience developing high-availability web applications a definite 
plus
- experience with large-scale JavaScript frameworks a plus
- Cocoa experience a big plus
- ability to work well on large teams
- desire to have fun while working on the coolest apps at Apple (in my 
humble opinion)

Also, if you know some Cocoa people, send them my way too. I need 2 
iPhone/Cocoa developers.


Thanks for permitting my job-spam :-)

David.

_

David den Boer | Manager,  Retail Engineering, IS&T | ddenb...@apple.com | 
408.974.9739  

 ___
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 arch...@mail-archive.com

Re: Gianduia and WO

2009-11-05 Thread David den Boer

And the tease (as Chuck refers to it) is now live too:

http://www.apple.com/retail/reserve/


On Nov 3, 2009, at 10:11 PM, Chuck Hill wrote:



On Nov 3, 2009, at 9:35 AM, David den Boer wrote:

Not an official announcement, but one of our applications,  
Concierge, went live tonight using Gianduia and WO.


WHOO HOO!  An official announcement at last!  :-P



You can check it out at :

http://concierge.apple.com/reservations/R002

We also have the iPhone reservation system using Gianduia at :

https://iphone-reserve.apple.com/WebObjects/RPRCustomer.woa/wa/buyiPhone?lang=en&country=CA


Congrats, they look very nice!


And another cool app coming your way very soon. All on WO and  
Gianduia.



Tease!  :-P


Thanks for letting us know, it is great to see this happening.

Chuck


--
Chuck Hill Senior Consultant / VP Development

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









_____

David den Boer | Manager,  Retail Engineering, IS&T | ddenb...@apple.c 
om | 408.974.9739


 ___
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 arch...@mail-archive.com

Gianduia and WO

2009-11-03 Thread David den Boer
Not an official announcement, but one of our applications, Concierge,  
went live tonight using Gianduia and WO. You can check it out at :


http://concierge.apple.com/reservations/R002

We also have the iPhone reservation system using Gianduia at :

https://iphone-reserve.apple.com/WebObjects/RPRCustomer.woa/wa/buyiPhone?lang=en&country=CA

And another cool app coming your way very soon. All on WO and Gianduia.

_____

David den Boer | Manager,  Retail Engineering, IS&T | ddenb...@apple.c 
om | 408.974.9739


 ___
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 arch...@mail-archive.com

Re: self-contained deployment

2009-05-22 Thread David den Boer

Edit the MacOSXClassPath.txt file in the Contents/MacOS directory.
Another thing we do is edit the startup script for the app, and change  
the LOCALROOT variable to point to the home your installation path.
For instance, if we deploy in ~/Users/foo/Library/WebObjects/ 
Applications all that we have to change is our LOCALROOT to be ~/Users/ 
foo and everything else works.



On May 22, 2009, at 1:21 AM, Josh Paul wrote:

...anyone have a solution on how to configure a deployed app to  
ignore/skip the /Library/WebObjects/Extensions dir?


TIA

On May 21, 2009, at 11:10 AM, Josh Paul wrote:


It's cruft from currently deployed instances.

On May 21, 2009, at 11:03 AM, David Avendasora wrote:


Hi Josh,

On May 21, 2009, at 1:54 PM, Josh Paul wrote:


I'm attempting to deploy a .woa as a completely self-contained app.

To do so, I've embedded the required .jar files from the dev  
machine's WebObjects/Extensions directory to the app's Contents/ 
Extensions directory. I then changed the wo.extensions property  
to point to the 'new' extensions dir.


The problem is that the WebObjects/Extensions dir is still being  
read/loaded.


How can I configure the .woa to ignore the WebObjects/Extensions  
dir completely?


What are you putting in the WebObjects/Extensions directory? I  
believe that the generally accepted rule now is "don't put  
anything in there".


Dave

___
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/ddenboer%40apple.com

This email sent to ddenb...@apple.com


_________

David den Boer | Engineering Manager,  Retail Apps, IS&T | ddenb...@apple.c 
om | ( 408.974.9739


 ___
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 arch...@mail-archive.com

Re: Charting question

2008-10-31 Thread David den Boer
We use YUI charts, which is great if you do not need to work on the  
iPhone, as the charts it produces are Flash based. Very simple to do,  
and the charts can auto-poll from your datasource so that they are live.


On Oct 30, 2008, at 9:41 PM, Randy Wigginton wrote:

I've looked at the google charting classes in Project Wonder, as  
well as the Google API.  As far as I can tell, Google charts have no  
innate ability to handle time-series data.  I need to create charts  
that can involve any date range.  Two questions:

1. Am I correct that GCharts do not support time series data?
2. What would you recommend using instead?

tia,
randy

___
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/ddenboer%40apple.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: www.apple.com/webobjects

2008-09-22 Thread David den Boer
But never forget that all the 'important' (IMHO) code runs on WO, and  
that is what matters for the long run.


On Sep 22, 2008, at 10:07 PM, Gavin Eadie wrote:


On Sep 22, 2008, at 6:01 PM, Ash Mishra wrote:


Am I late to the party, or have other people noticed that
http://www.apple.com/webobjects

which used to provide a product overview page, now just redirects to:
http://developer.apple.com/tools/webobjects/

Guess I'm just surprised that they have lowered WO visibility even  
more.


... AND, the info there is pretty ancient .. Gav
___
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/ddenboer%40apple.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: What is the best way to handle invalid values from a WOTextField?

2008-07-16 Thread David den Boer
How about bug reports with simple reductions, and I can have a look at  
them ASAIC (as soon as I can)?


On Jul 16, 2008, at 4:00 PM, Chuck Hill wrote:



On Jul 16, 2008, at 10:19 AM, Guido Neitzer wrote:


On 16.07.2008, at 11:14, Chuck Hill wrote:


Did you try the "we are all happy citizens"-setting for encoding?

er.extensions.ERXApplication.DefaultEncoding=UTF-8

That helped for us, when we had problems with a file upload in  
that form. There was also a bug in WO regarding comparison where  
it did an == comparison instead of equals when comparing encoding  
names. That should be fixed in nightly builds but probably didn't  
make it to 5.4.2.



That did not fix it.  The upload works fine on 5.3.3.  I also get  
the same problem if I take the upload off of the page!  It really  
seems to be the form settings.  But I can't reproduce it in a  
stand alone demo app.


That's interesting. I'm at a loss now. As I said: we saw similar  
behaviour when we had the encoding not properly set up. Don't know  
other cases.



Guido wins the prize!

A long time ago, for reasons that are no longer clear to us, we  
added this code to our Session superclass:


   /**
* Overridden to force request values to be UTF-8 encoded.
*/
   public void takeValuesFromRequest(WORequest aRequest, WOContext  
aContext)

   {

aRequest.setDefaultFormValueEncoding(_NSUtilities.UTF8StringEncoding);

   super.takeValuesFromRequest(aRequest, aContext);
   }

Now, session is probably not the best place to do this, but it  
worked fine until 5.4.2.  So, there are two fun parts to this:


1. _NSUtilities.UTF8StringEncoding is wrong:
public static final String UTF8StringEncoding = "UTF8";
  That should be UTF-8.  The code was changing UTF-8 to UTF8 and  
that is what triggered the bug.



2. WORequest.setDefaultFormValueEncoding() discards any previously  
parsed form values.  Which is OK usually, but with  a content-type  
of multipart/form-data, it does not seem to be able to re-parse  
them.  So you silently end up with no form values.



I feel some bug reports coming on!


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/ddenboer%40apple.com

This email sent to [EMAIL PROTECTED]



--
David den Boer   |   Architect, IS&T Web Applications  |   [EMAIL PROTECTED] 
  |  ( 408.974.9739


 ___
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: More efficient web service choice

2008-06-19 Thread David den Boer
Same with us. A properly architected API solves all of these problems  
and then some. You have to architect it using only standard java data  
types -- dont use EOF/NS or collections -- you screw yourself when  
working with non-java clients.


What I like best about SOAP -- its dead simple to develop for when you  
use WO, and rock-solid. We even have stateful webservices using  
database backed sessions -- all of our API's (except authenticate)  
take a SessionInfo object (our own object type made of simple objects  
including a wosid), and we restore the session from the database using  
that object.


If you're developing rock-solid enterprise class API's to be used by  
clients across a wide spectrum of tools/operating systems, I think you  
can do no wrong using SOAP. If you like PHP or RoR, go the other way :-)





On Jun 18, 2008, at 6:23 PM, Lachlan Deck wrote:


On 19/06/2008, at 1:52 AM, Guido Neitzer wrote:


On 18.06.2008, at 00:03, David den Boer wrote:

We use SOAP webservices on many of our applications, some of which  
receive several hundred thousand transactions daily without any  
issues. I find the ease of using SOAP over other options so much  
better, especially when using WO (which is also quite a bit faster  
than using JBOSS or Tomcat for webservices BTW).


SOAP is just a bitch if you don't have only WO apps connecting to  
each other or if you have several versions of Axis (from different  
clients) or if WO somehow decides not to create a completely  
correct WSDL (happened a couple of times in the past).


So, SOAP *might* be an option, personally I like the more less  
complex protocols better. SOAP is just plain not simple and easy  
and straightforward.


I haven't had that experience (not to invalidate yours). Our non-wo  
apps happily communicate with our WO app (even using differing Axis  
versions).


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/ddenboer%40apple.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: More efficient web service choice

2008-06-17 Thread David den Boer
We use SOAP webservices on many of our applications, some of which  
receive several hundred thousand transactions daily without any  
issues. I find the ease of using SOAP over other options so much  
better, especially when using WO (which is also quite a bit faster  
than using JBOSS or Tomcat for webservices BTW).


David.


On Jun 17, 2008, at 10:05 AM, John Huss wrote:

I'm going to be implementing a web service with WO and was wondering  
if there was a way to do this using something other than the  
extremely verbose SOAP messages.  It's a private service, so I can  
do whatever I want, but ideally it would be easy to setup both the  
client and server.  And the clients will be native windows  
applications.  SOAP seems to be the easy path, but I'm worried about  
the size of the messages since there are going to be a LOT of them.   
Any suggestions?


Thanks,
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/ddenboer%40apple.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: [OT] WWDC--where is our resident singer/composer?

2008-06-12 Thread David den Boer

polishing cocoa apps @ 3:30

On Jun 12, 2008, at 3:32 PM, Lon Varscsak wrote:


James Dempsey, that is.  It's not really WWDC without a new tune!

-lon
___
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/ddenboer%40apple.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: WOWODC

2008-05-22 Thread David den Boer

So are we going to have a WOWODC beer bash?


On May 22, 2008, at 11:00 AM, Mike Schrag wrote:

Today is the last day to sign up for WOWODC, so if you're still on  
the fence, the clock is ticking!


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/ddenboer%40apple.com

This email sent to [EMAIL PROTECTED]



--
David den Boer   |   Architect, IS&T Web Applications  |   [EMAIL PROTECTED] 
  |  ( 408.974.9739


 ___
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]

EO generating and Interfaces

2008-05-21 Thread David den Boer
Not sure if this has been covered before, but we are trying to migrate  
to the new Veogen tool from the old Rubicode tool, and are running  
into a few issues, mainly with generics and interfaces.


The new templates generate a method like this :

public NSArray workshops() {
	return  
(NSArray 
)storedValueForKey("workshops");

}


where the old ones would leave the generic off. Now 99% of the time,  
this is perfect, but in this one case, WorkshopMaster also conforms to  
the RRSCalendarEvent interface, and that is what we want. Is there any  
way to have veogen change that or are we hosed and have lots of code  
to rewrite?



--
David den Boer   |   Architect, IS&T Web Applications  |   [EMAIL PROTECTED] 
  |  ( 408.974.9739


 ___
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: Job

2008-05-21 Thread David den Boer

Hi all (and sorry for spamming the list with a job posting again),

So I am still seeking one more person for our growing team working on  
the coolest WO apps for Apple Retail. Requirements are :


 - must be willing to relocate to Cupertino and be a full time Apple  
employee

 - at least 2 years developing WebObjects applications
 - extensive Javascript/DHTML knowledge
 - experience with other Java/J2EE technologies is a plus

Added Pluses :
 - some Cocoa experience
 - experience with Yahoo UI library

Please reply to me directly with resume in PDF or text format. If you  
match requirements, we will call you to arrange an in-person interview.


Thanks,
David.


On Apr 16, 2008, at 1:12 AM, David den Boer wrote:


Hi all (and sorry for spamming the list with a job posting),

Want to come work for Apple (the #1 music retailer :-) )? Want to  
work on the latest and greatest web applications used by Apple  
internal and customers worldwide?
My team is looking to add three experienced Java/WO developers to  
work on our existing and future applications. We are looking for :

- at least 2 years developing WebObjects applications
- some Cocoa experience
- extensive Javascript/DHTML knowledge
- experience with other Java/J2EE technologies is a plus
- must be willing to relocate to Cupertino

If you are interested, please reply to me directly.

Thanks,
David.
___
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/ddenboer%40apple.com

This email sent to [EMAIL PROTECTED]



--
David den Boer   |   Architect, IS&T Web Applications  |   [EMAIL PROTECTED] 
  |  ( 408.974.9739


 ___
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: Not going to WOWODC this year?

2008-05-14 Thread David den Boer
On May 14, 2008, at 5:30 PM, Chuck Hill wrote:On May 14, 2008, at 5:27 PM, Alan Ward wrote:On May 14, 2008, at 6:17 PM, David Avendasora wrote:Leave it to the canadians to bring up beer.Yeah, the Canadians are always bringing it up while the English are keeping it down!  :-)That is only because you drink flat beer.  :-PChuck-- 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/ddenboer%40apple.comThis email sent to [EMAIL PROTECTED] --David den Boer   |   Architect, IS&T Web Applications  |   [EMAIL PROTECTED]  |  ( 408.974.9739  ___
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]

That dreaded eclipse NPE again

2008-05-12 Thread David den Boer
  
org 
.eclipse 
.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2818)
	at  
org 
.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java: 
735)
	at org.eclipse.ui.internal.Workbench 
$20.runWithException(Workbench.java:1023)
	at org.eclipse.ui.internal.StartupThreading 
$StartupRunnable.run(StartupThreading.java:31)

at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
	at  
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118)

at org.eclipse.swt.widgets.Display.syncExec(Display.java:3793)
	at  
org 
.eclipse 
.ui 
.internal 
.StartupThreading.runWithWorkbenchExceptions(StartupThreading.java:50)
	at  
org 
.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java: 
1019)

at org.eclipse.ui.internal.Workbench.access$31(Workbench.java:995)
at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2003)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java: 
67)
	at  
org.eclipse.ui.internal.Workbench.openWorkbenchWindow(Workbench.java: 
2000)
	at  
org 
.eclipse 
.ui.actions.OpenInNewWindowAction.run(OpenInNewWindowAction.java:105)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at  
org 
.eclipse 
.jface 
.action 
.ActionContributionItem 
.handleWidgetSelection(ActionContributionItem.java:546)
	at org.eclipse.jface.action.ActionContributionItem.access 
$2(ActionContributionItem.java:490)
	at org.eclipse.jface.action.ActionContributionItem 
$5.handleEvent(ActionContributionItem.java:402)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2950)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
	at  
org 
.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 
289)
	at  
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 
461)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at  
org 
.eclipse 
.ui.internal.ide.application.IDEApplication.start(IDEApplication.java: 
106)
	at  
org 
.eclipse 
.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
	at  
org 
.eclipse 
.core 
.runtime 
.internal 
.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at  
org 
.eclipse 
.core 
.runtime 
.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at  
org 
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
363)
	at  
org 
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
176)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
	at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)




--
David den Boer   |   Architect, IS&T Web Applications  |   [EMAIL PROTECTED] 
  |  ( 408.974.9739


 ___
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: [OT] Moscone center infected?

2008-05-12 Thread David den Boer
Well, the food at JavaOne was about 1% better than WWDC food, and  
served in bio-degradable dishes, so that deals somewhat with the waste  
issue. San Jose food in the 90's was so far beyond what they call food  
now. One thing that San Jose WWDC's had over the current ones is that  
there were always sessions through lunch time, so you were not stuck  
with 2+ hours of nothing to do (maybe they expect people to leave  
Moscone to get edible food).



On May 12, 2008, at 1:20 AM, Pierre Bernard wrote:


I love the food court at the Westfield shopping mall.

Yes, WWDC food got worse. Food in San Jose was quite good actually.

The first year or 2 in SF we got Jamba Juice, so we could skip a  
meal or two.


Now we get warm food on Monday which is quite OK. The rest of the  
week we get only snacks. Mostly brown bagged so you don't see ahead  
of time what you are going to end up with.


BTW, I complain about food each year on the feedback form. It is bad  
and not ecological: people trash half of the brown bag contents  
cause there always is stuff you don't like.


Pierre

On 12 May 2008, at 03:16, Pascal Robert wrote:

The best place to eat is that Chinese place in the Metreon food  
court.  Some of their stuff is so spicy it will kill any virus :-)



Yet another good reason to not eat the food at the Moscone.

Chuck

On May 11, 2008, at 5:59 PM, Miguel Arroz wrote:


Hi!

<http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2008/05/10/BAB910JRM3.DTL&type=health 
>


It will be a hell of a WWDC! ;)

Yours

Miguel Arroz

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


___
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-dev%40houdah.com

This email sent to [EMAIL PROTECTED]


---
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com



___
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/ddenboer%40apple.com

This email sent to [EMAIL PROTECTED]



--
David den Boer   |   Architect, IS&T Web Applications  |   [EMAIL PROTECTED] 
  |  ( 408.974.9739


 ___
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]

Job

2008-04-16 Thread David den Boer

Hi all (and sorry for spamming the list with a job posting),

Want to come work for Apple (the #1 music retailer :-) )? Want to work  
on the latest and greatest web applications used by Apple internal and  
customers worldwide?
My team is looking to add three experienced Java/WO developers to work  
on our existing and future applications. We are looking for :

 - at least 2 years developing WebObjects applications
 - some Cocoa experience
 - extensive Javascript/DHTML knowledge
 - experience with other Java/J2EE technologies is a plus
 - must be willing to relocate to Cupertino

If you are interested, please reply to me directly.

Thanks,
David.
___
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: WOWODC Arrangements

2008-04-03 Thread David den Boer
Colma and Daly City is a cheap option too and take Bart in. Close to  
SFO as well.


On Apr 3, 2008, at 7:14 PM, Chuck Hill wrote:

BART or Super Shuttle to downtown is convenient.  Super Shuttle is  
about $15. The Baldwin downtown is inexpensive relative to most  
other places, http://www.baldwinhotel.com/.


Chuck


On Apr 3, 2008, at 6:53 PM, Kieran Kelleher wrote:

What is an economical option for this if one is only going to  
WOWODC and not WWDC? Get a cab from SFO airport to nearby  
accommodation or rent a car and stay wherever driving to WOWDC each  
day if necessary? Is there recommended clean economical  
accommodation nearby parc 55 where WOWODC is at? Parc 55 itself is  
sold out?

___
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/ddenboer%40apple.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: WWDC 08

2008-03-13 Thread David den Boer

Hi Chuck,

See my signature below (and thank you!):

On Mar 13, 2008, at 9:14 PM, Chuck Hill wrote:


On Mar 13, 2008, at 1:59 PM, Mike Schrag wrote:

"See how to use built-in and optimized web technologies such as  
Perl, Python, Ruby, Ruby on Rails, PHP, and MySQL, deliver  
standards-based in-house applications to Safari on Mac OS X,  
Windows, and iPhone OS."


Seriously, Apple. WTF.



WO is hard.  PHP is easy.  People expect Apple to equate with  
easy.  Sure, you make unmaintainable crap with PHP, but it is easy  
to make unmaintainable crap.



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/ddenboer% 
40apple.com


This email sent to [EMAIL PROTECTED]


--
Sure, you make unmaintainable crap with PHP, but it is easy to make  
unmaintainable crap.


 ___
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: [OT] JSF vs. WebObjects

2008-03-05 Thread David den Boer

3 words :
pointy haired boss

On Mar 6, 2008, at 2:14 AM, Pascal Robert wrote:

A project inside Apple that cannot use WO ?  That's a really bad  
sign...


The problem with Tapestry is that it changes so drastically from  
version to version, which is what caused us to look at JSF for a  
project that absolutely could not be WO.
Oracle ADF is actively developed, and from experiences of  
colleagues, is a nightmare, and these are not WO people saying that.


I think one of the largest problems is the multiple files needed  
to get something simple done, and the fact that there are no great  
libraries out there yet of components. It is getting better, but I  
think you will have to factor into your timeline developing alot  
of things yourself that you take for granted in WO/WOnder.


David.


On Mar 3, 2008, at 10:21 AM, Frédéric JECKER wrote:

I've used JSF (MyFaces) on a one year project before moving to WO  
(two years ago), here are my feelings:

- A lot of XML configuration needed
- Uneasy component extension/creation
- Needs mixing HTML/JSP/JSF to achieve some goals
- Heavy

This was true two years ago, but now ?
Despite those negative points I enjoyed developping with JSF (but  
now WO replaced it in my heart).


Note that Oracle donated a lot of their work to the MyFaces  
project and correct me if I am wrong

ADF is no more supported.

As a final word i'd say that I won't choose JSF for new project,  
i'd rather choose other frameworks

like wicket or tapestry which are far more mature.

Regards

FJ


Geoff Hopson a écrit :

Greetings,

I have a nice new greenfield application to work on, with the  
caveat

that the web framework be constructed using JSF components. I don't
know much about JSF, but a few days playing with it makes me think
that it is going to frustrate me. Number one gripe is the amount of
HTML I have to write. WebObjects is considerably more pleasant  
to work

with - a proper component web framework.

Yes, I have searched the archives for JSF, and the following is  
worth repeating:


http://www.jsftutorials.net/components/pic/relationship.jpg

Can the list provide a few pros and cons about JSF? - I may be  
able to
turn the ship before its too late, but need more JSF experiences  
than

I personally have. What about the various implementations of the
standard? MyFaces? ICEFaces? The Oracle thing (ADFaces?)?

Share your pain :-)
Thanks
Geoff
 ___
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/f.jecker% 
40ch-rouffach.fr


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/ddenboer% 
40apple.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/probert%40os.ca

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: [OT] JSF vs. WebObjects

2008-03-05 Thread David den Boer
The problem with Tapestry is that it changes so drastically from  
version to version, which is what caused us to look at JSF for a  
project that absolutely could not be WO.
Oracle ADF is actively developed, and from experiences of colleagues,  
is a nightmare, and these are not WO people saying that.


I think one of the largest problems is the multiple files needed to  
get something simple done, and the fact that there are no great  
libraries out there yet of components. It is getting better, but I  
think you will have to factor into your timeline developing alot of  
things yourself that you take for granted in WO/WOnder.


David.


On Mar 3, 2008, at 10:21 AM, Frédéric JECKER wrote:

I've used JSF (MyFaces) on a one year project before moving to WO  
(two years ago), here are my feelings:

- A lot of XML configuration needed
- Uneasy component extension/creation
- Needs mixing HTML/JSP/JSF to achieve some goals
- Heavy

This was true two years ago, but now ?
Despite those negative points I enjoyed developping with JSF (but  
now WO replaced it in my heart).


Note that Oracle donated a lot of their work to the MyFaces project  
and correct me if I am wrong

ADF is no more supported.

As a final word i'd say that I won't choose JSF for new project,  
i'd rather choose other frameworks

like wicket or tapestry which are far more mature.

Regards

FJ


Geoff Hopson a écrit :

Greetings,

I have a nice new greenfield application to work on, with the caveat
that the web framework be constructed using JSF components. I don't
know much about JSF, but a few days playing with it makes me think
that it is going to frustrate me. Number one gripe is the amount of
HTML I have to write. WebObjects is considerably more pleasant to  
work

with - a proper component web framework.

Yes, I have searched the archives for JSF, and the following is  
worth repeating:


http://www.jsftutorials.net/components/pic/relationship.jpg

Can the list provide a few pros and cons about JSF? - I may be  
able to

turn the ship before its too late, but need more JSF experiences than
I personally have. What about the various implementations of the
standard? MyFaces? ICEFaces? The Oracle thing (ADFaces?)?

Share your pain :-)
Thanks
Geoff
 ___
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/f.jecker% 
40ch-rouffach.fr


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/ddenboer% 
40apple.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: Flash Multifile Upload

2008-03-05 Thread David den Boer
Yahoo currently is adding a YUI component for multi-file uploading as  
well :


http://developer.yahoo.com/yui/uploader/



On Mar 5, 2008, at 4:59 PM, Pascal Robert wrote:



Le 08-03-05 à 11:32, Cornelius Jaeger a écrit :


Hi Joshua


On 05.03.2008, at 16:21, Joshua Paul wrote:

I recently implemented it, and am willing to open it up. I'll  
pint Mike Schrag to see if it can/should go in Wonder.


that would be great.
i found this project: http://swfupload.org and the implementation  
is pretty straight forward for basic uploads,  but i haven't  
checked the license nor done any amount of testing to see if it's  
suitable.

especially uploading v. large files.


Someone at Adobe have a nice Flex example with a ColdFusion backend:

http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html


(I believe you were in our test group for Ad Grinder, yes?)


yes, that's right. i've been seeing these multi file uploaders on  
some sites and i thought it was time, if you are willing to share  
your code, that would be that much better.



___
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/ddenboer% 
40apple.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: wolips blog

2008-02-27 Thread David den Boer

Mike,

Never publicly said this before, but it is long deserved :

you rock

On Feb 27, 2008, at 5:48 AM, Mike Schrag wrote:

The wolips blog is up at http://wolips.blogspot.com .  This makes  
more sense for announcement-y posts than the woproject-dev mailing  
list does, so woproject-dev can actually really be a -dev list (for  
discussions on wolips development topics) and the wolips blog can  
be the place for end-users to keep up with releases.


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/ddenboer% 
40apple.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: WO 5.4 / Axis 1.4 / Deserialization

2008-02-26 Thread David den Boer
A slightly better way to use webservices (especially if you expect  
them to be consumed by non-WO applications) is to use primitive types.
For instance, if you need to return an array of Foo, the return type  
for the service method would be Foo[].
We never expose our EO's via webservices, we usually wrap them in  
POJOs which have very specific attributes for the service and non- 
required attributes are not exposed.


David.

On Feb 26, 2008, at 7:22 PM, Michael DeMan wrote:


Okay,

This workaround seems to work.  On the server side I put my array  
elements in as keys for a WOStringKeyMap and modified the client to  
get the result array back out via allKeys().


This is a huge problem however as every service, including EOs that  
contain arrays, would need methods changed/wrapped to return  
WOStringKeyMap instead of arrays, and this of course would have to  
be done for both the server and client applications.


Does anybody know if Apple has a prioritization on getting this fixed?

From what I can tell so far this basically makes WO5.4/5.4.1  
unusable as a web services consumer (unless of course you never  
need to use arrays).


- mike


On Feb 25, 2008, at 1:41 PM, Art Isbell wrote:


On Feb 25, 2008, at 9:09 AM, Michael DeMan wrote:

Does anybody know if the item noted on the posting below is fixed  
in 5.4.1, and if not, could anybody describe the workaround?


http://www.mail-archive.com/webobjects-dev@lists.apple.com/ 
msg15103.html


It is apparently not fixed in 5.4.1.

	A workaround would be to rewrite each Web service method that  
returns NSArray to return WOStringKeyMap.  Each Web service client  
would then need to extract the array from the WOStringKeyMap.  Not  
ideal, but this should work.


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/ddenboer% 
40apple.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: Writing Oracle Blobs under WO 5.4 - WO fails

2008-02-25 Thread David den Boer

Hi Michael,

Not much changed under the hood for the oracle support in WO 5.4, so  
I don't think that the problem is there. What Oracle version are you  
using? If 10g, you should download the latest jdbc drivers and try  
those (actually, the latest support 9i as well).


There is also a fantastic debugging JDBC driver from Oracle too,  
which can use log4j to output alot more than EODebuggingEnabled will  
ever give you. If it is still a problem, try that.


We are using CLOB's and BLOB's with 5.4 and Tiger with no issues.

On Feb 26, 2008, at 12:11 AM, Michael Scott wrote:

Thanks Dov – that’s an tricky problem to look out for.   
Unfortunately my problem is with blobs, not with dates.


I did try the compatibility flag though, but no luck.   I also  
tried the old Oracle 8i driver, but no luck either.  The code works  
fine under WO5.3 with the same drivers, so I’m not surprised.


Is there anyone out there who has successfully written Oracle blobs  
with WO5.4?


Cheers all
Michael Scott


On 25/2/08 8:14 PM, "Dov Rosenberg" <[EMAIL PROTECTED]> wrote:

We had that same error. I don’t think it is your BLOB that is  
causing the problem but how Oracle changed its default behavior on  
the driver and DB regarding the Timestamp  and Date data types.  
The ojdbc14.jar drivers have a compatibility mode you can use to  
get around the problem, pass in the following as a JVM parameter.


-Doracle.jdbc.V8compatible=true


On 2/25/08 12:24 AM, "Michael Scott" <[EMAIL PROTECTED]> wrote:


Hi All

Has anyone had any success writing blobs to an Oracle DB under WO  
5.4?


I have a large project that makes extensive use of blobs and  
works fine under WO 5.3 but throws the following error when  
writing a blob under WO 5.4:


com.webobjects.eoaccess.EOGeneralAdaptorException: Unsupported  
feature

(See full dump below.)

The code can read existing blobs from an Oracle DB without any  
problems.  It’s just writing that causes exceptions.


To eliminate other factors, I created a test project with a  
simple version of the offending code.  It uses a table –  
BlobTable – with just a primary key and a blob field.  The code  
attempting the write is below.  It gets text data from a form via  
a key called ‘notes’.  (The BlobTable already contains one record.)


  NSArray blobs = EOUtilities.objectsForEntityNamed(session 
().defaultEditingContext(), "BlobTable");

 if ((blobs != null) && (blobs.count() > 0)) {
   BlobTable  blob = (BlobTable)blobs.objectAtIndex(0);
   NSData blobData = new NSData(notes(), "UTF8");
   blob.setBlobData(blobData);
   session().defaultEditingContext().saveChanges();
 }

The problem is occurring on an OS X Leopard box in either Xcode  
or Eclipse (not that that should matter).  The JDBC driver is for  
Oracle 9i 9.2.0.8 – it’s a file called ojdbc14.jar.


If anyone has Oracle blobs working under 10.4, that would be  
great news – I’d would then know to dig deeper rather than file a  
bug report.


Better still – how did you do it?

Thanks

Michael Scott
Murdoch University



Application: Cafe
 com.webobjects.eoaccess.EOGeneralAdaptorException: Unsupported  
feature


File  Line#MethodPackage
EODatabaseContext.java4500   
_exceptionWithDatabaseContextInformationAdded 
com.webobjects.eoaccess
EODatabaseContext.java6212  performChanges 
com.webobjects.eoaccess
EOObjectStoreCoordinator.java 376
saveChangesInEditingContextcom.webobjects.eocontrol
EOEditingContext.java 3176  saveChanges 
com.webobjects.eocontrol
Main.java 50saveBlobDefault  
Package

NativeMethodAccessorImpl.java NAinvoke0sun.reflect
NativeMethodAccessorImpl.java 39invokesun.reflect
DelegatingMethodAccessorImpl.java 25invokesun.reflect
Method.java   585   invoke 
java.lang.reflect
KeyValueCodingProtectedAccessor.java  60methodValue 
Default Package
NSKeyValueCoding.java 1134  valueInObject 
com.webobjects.foundation
NSKeyValueCoding.java 1293  valueForKey 
com.webobjects.foundation
WOComponent.java  1686  valueForKey 
com.webobjects.appserver
NSKeyValueCoding.java 447   valueForKey 
com.webobjects.foundation
NSKeyValueCodingAdditions.java212   valueForKeyPath 
com.webobjects.foundation
WOComponent.java  1754  valueForKeyPath 
com.webobjects.appserver
WOKeyValueAssociation.java50valueInComponent 
com.webobjects.appserver._private
WOSubmitButton.java   81invokeAction 
com.webobjects.appserver._private
WODynamicGroup.java   105
invokeChildrenActioncom.webobjects.appserver._private
WODynamicGroup.java   115   invokeAction 
com.webobjects.appserver._private
WOForm.java   141   

Re: SQL Schema comparator

2008-02-08 Thread David den Boer
Actually, we use SQLDeveloper for our Oracle, but also for some of  
the smaller databases in MySQL and Postgres around here too. It is  
just a jdbc solution, granted, not as good for non-oracle as it is  
for Oracle.


On Feb 8, 2008, at 12:14 PM, Oliver Scheel wrote:


Which database do you use?

For Oracle you can use PL/SQL Developer which does a quite good job  
(though

it doesn't support partitioned tables and indexes).

For all other databases you could take a look at Aqua Data Studio.

Oliver


Von: David Holt <[EMAIL PROTECTED]>
Datum: Fri, 08 Feb 2008 11:39:30 -0800
An: Miguel Arroz <[EMAIL PROTECTED]>
Cc: WebObjects-Dev List 
Betreff: Re: SQL Schema comparator

Hi Miguel,

I find "textwrangler" and "FileMerge" (/Developer/Applications/
Utilities/FileMerge) work well for this task if you export the
schemas as .sql files. Just compare the differences line by line as
you would for code.

David

On 8-Feb-08, at 11:21 AM, Miguel Arroz wrote:


Hi!

  Subject says it all... the ideia is comparing two SQL schemas to
help writing migration stuff. Anyone knows/uses/recommends any
software to do this?

  Yours

Miguel Arroz

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



 ___
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/programmingosx
%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/os% 
40webinspace.de


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/ddenboer% 
40apple.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: Educate me on generics please...

2008-02-06 Thread David den Boer


On Feb 6, 2008, at 12:53 PM, Johann Werner wrote:

EOQualifier myQualifier2 = EOQualifier.qualifierWithQualifierFormat 
("%@ = %@", args2);




While we are on Java 1.5 features, this code above would be a great  
use of varargs on the qualifierWithQualifierFormat method.


And I blame the old WO documentation for having so many people do  
qualifiers in this way. Everyone that works with me has to use  
EOKeyValueQualifier unless it really won't solve the problem.





 ___
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: recurring events

2008-02-06 Thread David den Boer

Hi Mike,

We have done this on several occasions. Here is our model for an  
event that can be recurring :


Event
---
the basic event data
>frequency

Frequency
---
dayOfMonth  // the day of the month that the event must occur on
daysFromMonthEnd  // the number of days from the month end the event  
occurs on
daysFromMonthStart  // the number of days from the month start the  
event occurs on
daysOfWeek  // a bit string representing the days of the week this  
occurs on (ie. 0101010 = Monday Wednesday Friday)

recurUntil   // when to stop recurring


In Frequency.java, in awakeFromInsertion, we set the bit string to  
all zeroes


here is more code :

/**
 * The daysOfWeek attribute is stored as a binary string with 7 digits
 * (one for every day of the week). The value for any day is 0 or 1.
 * This method returns whether or not the frequency for a task occurs
 * on a specific day of the week. (Sun = 0, Sat = 6)
 */
public boolean occursOnDayOfWeek(int iDayOfWeek) {
boolean aResult = false;
if (daysOfWeek() != null) {
try {
char aValue = daysOfWeek().charAt(iDayOfWeek-1);
if (aValue == '1')
aResult = true;
} catch (IndexOutOfBoundsException e) {
ISTDebug.println(0, "Exception getting days for task 
"+e);
}
}
return aResult;
}


public void setOccursOnDayOfWeek(int iDayOfWeek, boolean iOccur) {
char[] aCharList = daysOfWeek().toCharArray();

try {
char aValue = aCharList[iDayOfWeek-1];
if (iOccur)
aValue = '1';
else
aValue = '0';
aCharList[iDayOfWeek-1] = aValue;
} catch (IndexOutOfBoundsException e) {
ISTDebug.println(0, "Exception getting days for task 
"+e);
}
setDaysOfWeek(new String(aCharList));
}


/**
	 * Returns whether or not this frequency occurs on the specified day  
in the specified month
	 * FIXME -- this method could be totally improved by using Calendar  
methods instead of hard coding numbers.

 */
public boolean occursOnDayOfMonth(int iDay, int iMonth, int iYear) {
// dayOfMonth, daysFromMonthEnd
boolean aReturnVal = false;
int aDayOfMonth, aDayFromEnd = 0;
int daysInMonth = 31;

// Get the days in month
if (iMonth == 4 || iMonth == 6 || iMonth == 9 || iMonth == 11)
daysInMonth = 30;
if (iMonth == 2) {
			java.util.GregorianCalendar aCalendar = new  
java.util.GregorianCalendar();			

if (aCalendar.isLeapYear(iYear))
daysInMonth = 29;
else
daysInMonth = 28;
}

// Check for dayOfMonth
if (dayOfMonth() != null) {
aDayOfMonth = dayOfMonth().intValue();
if (iDay == aDayOfMonth)
aReturnVal = true;
}
// Check for daysFromMonthEnd
if (daysFromMonthEnd() != null) {
aDayFromEnd = daysFromMonthEnd().intValue();
if (iDay == (daysInMonth - aDayFromEnd))
aReturnVal = true;
}

return aReturnVal;
}


On Feb 6, 2008, at 8:37 AM, Mike Schrag wrote:

I'm wondering if anyone has addressed modeling recurring calendar  
events with EOF in a nice way?  None of the options seem  
particularly attractive to me at the moment, but I was hoping  
someone might have some clever insight into the problem.  I think  
the proper impl is to make "ghost" events appear in the results  
that don't become "real" EO's until someone touches them to make a  
change from the original pattern, but this seems like sort of a  
huge pain with EOF ... I don't know what the overhead will be of  
constantly making and throwing away unsaved EOs on every view.  I  
was considering a non-EO cover object for an event that can turn  
into an EO, but it means you have to "write it twice" to support  
all the API of the EO version of the event.


Ack.

I've also considered an EOF adaptor on top of icalserver on  
Leopard, but this has all sorts of its own undesirable complications.


Ideas welcome :)

ms

___
Do not post admin request

Re: App stuck on executeStoredProcedure()

2008-02-05 Thread David den Boer
Ok, here is a screenshot of one of my stored procs (sorry Mike, the  
pic is from EOModeler because it was quicker to open than eclipse for  
a quick screenshot :-) )




Picture 2.png
Description: application/applefile
<>



The name is just my own internal name for things -- I use when  
binding my parameters via a dictionary.
The Column is the database side for the stored procedure parameters.  
in this case, the output is just a String, so there is one out  
parameter, with Column of 000. The first parameter in my stored  
procedure has a Column of 001, and so on. That is how you get the  
order of things correct.


Hope this helps.



On Feb 1, 2008, at 12:23 PM, Mike Schrag wrote:


They should be three digit numbers?!? I don't understand.

Are you saying to ignore what the _actual_ parameter names are,  
just name them whatever ti takes to get them in the right order?
Yes. I believe the order of stored proc parameters must be in the  
same order as the sorted list of EOArguments defined for the  
storedproc in the model.  Additionally, I believe the columns  
coming back must be in the correct order of the attributes of the  
entity you're trying to map it on to (alphabetically).  Mind you I  
have never used stored procedures, but I believe these are the  
restrictions.


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: WOLips: Project Triangles do not work.

2008-01-22 Thread David den Boer
So this is probably the last nightly build I do for a while, as no  
matter what I do, whenever I add the WOFrameworks back in my  
classpath, nothing builds again. Time to revert to the last working  
copy of eclipse I had.


On Jan 21, 2008, at 4:18 PM, Guido Neitzer wrote:


On 21.01.2008, at 17:05, David den Boer wrote:

I am having the same problem since updating. I see the following  
error :
Invalid classpath container: 'WebObjects Frameworks' in project  
'ISTWeb'


I had to go in the .classpath file and remove two entries from the  
classpath container named "WebObjects frameworks". Was something  
with none-existing frameworks or duplicates in that entry.


cug

--
Real-World WebObjects class at the Big Nerd Ranch
March 2008, Frankfurt, Germany
http://www.bignerdranch.com/classes/webobjects.shtml





___
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: WOLips: Project Triangles do not work.

2008-01-21 Thread David den Boer

I am having the same problem since updating. I see the following error :

Invalid classpath container: 'WebObjects Frameworks' in project 'ISTWeb'


On Jan 21, 2008, at 3:34 PM, Guido Neitzer wrote:


On 21.01.2008, at 15:41, Gaastra Dennis - WO Lists wrote:

With WOLips, several projects cannot be viewed in the "WO Package"  
view. Clicking on a project's triangle will just make the triangle  
disappear, but will not open the project. Versions: Eclipse  
3.3.1.1 + WOLips 3.3.4767. Also, saving the workspace, and opening  
a file by other means within such projects, always fails with a  
Null Pointer Exception.


This happens when you managed to screw up your classpath (which  
doesn't have to be your fault - often happens with version control  
in a team). Check the errors view, it will probably show a  
classpath error for that project.


cug

--
Real-World WebObjects class at the Big Nerd Ranch
March 2008, Frankfurt, Germany
http://www.bignerdranch.com/classes/webobjects.shtml



___
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/ddenboer% 
40apple.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: WOLips: 80 character width gutter?

2008-01-21 Thread David den Boer

I actually quite liked programming in APL.

On Jan 21, 2008, at 2:57 PM, David LeBer wrote:


On 21-Jan-08, at 5:52 PM, Chuck Hill wrote:


I gave that up when I sold my 24x80 terminal and 300 baud modem.  :-P


When I was 10 or 11 my brother (5 years my senior) was overjoyed to  
get a IBM Selectric type ball for his birthday so he could program  
in APL (?) at the local university...


;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/ddenboer% 
40apple.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: Any tutorials on using direct actions and/or component actions with AJAX

2008-01-03 Thread David den Boer
I for one would never use the Wonder Ajax framework, even though I  
think it is excellent. My reasons are twofold :

 - Wonder
 - Prototype/Scriptaculous

We won't use Wonder because we have an excellent base of frameworks  
we developed over the years which has much functionality not in Wonder.
We will never use Prototype/Scriptaculous because they are massive,  
even gzipped and minimized. We still have users on slower  
connections, on machines with no proxy or cache, and downloading 200k 
+ of javascript is not acceptable. Our page sizes are all under 80k,  
with most under 30k. Our javascript tops out at 32k.


So, if you wish to do WO/Ajax with direct actions, it is quite easy  
as was previously stated.
If you want to use component actions, it gets more difficult, and  
requires a little digging into WO internals to understand it all, but  
it is possible, and we are using it heavily in one of our apps.


What we have done is create our own WODynamicElement subclasses for  
ajax. We have ajax hyperlinks, forms, data-tables, etc. The key piece  
of this is that instead of using the component action request handler  
you use the ajaxRequestHandler


	protected void appendAjaxActionURLToResponse(WOResponse iResponse,  
WOContext iContext, boolean iEscapeHTML) {
		String aUrl = iContext.componentActionURL(WOApplication.application 
().ajaxRequestHandlerKey());

iResponse.appendContentString(aUrl);
}


Hope this helps a bit.

On Dec 27, 2007, at 4:48 PM, Christopher Roach wrote:


Hi Chuck,

Thanks for the input, but I thought I should clarify my reasons for  
wanting to learn Ajax and WO sans libraries and for not using  
Project Wonder in my apps. My reason for wanting to learn how to do  
the Ajax and WO stuff by hand is that I am brand new to both and I  
like to learn how things work before I feel comforable using them.  
I agree that to get things done I need to be using a well tested/ 
established set of libraries and I will be doing so in my  
professional work, but in my spare time I want to learn how it all  
ticks behind the magic.  Just like when I learned to program, I  
learned my first language and used it for two years while I worked  
my way through a pair of undergrad and grad classes in compiler  
construction and language design. Once I had written my first  
language I felt like I understood programming in general better, so  
I would like to do the same with MVC based web frameworks and Ajax.


Now, as for why I'm not using Project Wonder, well that's not  
really my choice. The company I work for has a very mature library  
for Ajax that they are using for all of their projects and I have  
to use that in my day-to-day development.


So, I hope that clears up why I'm not using Wonder (I would if I  
could) and why I want to learn everything at the lowest level.


Again, thanks for all your input, it has been very helpful.

Christopher Roach

On Dec 27, 2007, at 2:25 PM, Chuck Hill <[EMAIL PROTECTED]>  
wrote:




On Dec 27, 2007, at 7:58 AM, Christopher Roach wrote:


Hi Jean Pierre,

I looked into Project Wonder at one time, but we can't use it in- 
house for our work


I will point out that this is probably the worst possible decision  
you can make with respect to using WO.  Given the very, very  
liberal license (use whatever you want, however you want) and the  
availability of source, there is no sane reason to not use  
Wonder.  Without Wonder you condemn your project to unfixed bugs  
in WO and a MASSIVE amount of code that will need to be written.   
Wonder saves time and produces better code each and every day that  
you use it.



, so I've mainly stayed away from it for that reason.  Also, what  
I'm really looking for are some simple examples that would show  
me how to do everything from scratch (I.e., no Javascript  
libraries or WO libraries) so that I can get a good feel for how  
these technologies work together before using a library for my  
day-to-day work.


While I applaud your desire to know how things work, just use the  
Ajax framework from Wonder.  It makes Ajax work the WO way.  Mike  
et al put a TON of "under the covers" work into this.  You really  
don't want to have to duplicate that level of knowledge and  
understanding.  And if you don't, what you come up with will be  
substandard.  I don't see any business value in that.  You can  
learn how things works gradually, later as you need to integrate  
third party Ajax things into your project (and hopefully into  
Wonder).


Chuck


You wouldn't happen to know of any good resources that would fit  
that bill would you?


Thanks for the suggestion though, I really appreciate it.

Christopher Roach

On Dec 27, 2007, at 8:11 AM, Jean Pierre Malrieu  
<[EMAIL PROTECTED]> wrote:


Project Wonder provides a very good integration of AJAX  
(scriptaculous + prototype) with WebObjects.


To get started, see what is available:

http://www.mdimension.com/cgi-bin/WebObjects/AjaxExample

Re: Date-Only NSTimestamps

2008-01-03 Thread David den Boer

Adding to this whole discussion...
I work on a rather large scheduling app that has to work globally. We  
store all time in GMT and then convert it on the fly depending on the  
timezone and locale of the user accessing the app.
For this, we use a few different java DateFormat's depending on what  
type of time we need to present either in the Session or in a  
ThreadLocal depending on the app being used (there are many different  
apps).

We also have a few methods to do start of day and end of day as well.



The key for us is using GregorianCalendar for everything -- as soon  
as we need to do any sort of date math, we make a GregorianCalendar  
object out of the timestamp. Conversion between GMT and a local  
timezone is simple too :


/**
 * Returns a new time stamp for the passed in Timezone.
 *
 * @param iMillis time stamp to be converted
 * @param iZone Timzone in which conversion is needed.
 * @return an NSTimestamp with date converted to iZone.
 */
	public static NSTimestamp changeDateForTimezone(long iMillis,  
TimeZone iZone) {

long anOffset = 0l;
if (iZone != null)
anOffset = iZone.getOffset(iMillis);
return new NSTimestamp(iMillis + anOffset);
}   
	public static NSTimestamp changeDateForTimezone(NSTimestamp  
iTimestamp, TimeZone iZone) {

return changeDateForTimezone(iTimestamp.getTime(), iZone);
}

If anyone needs more info on how we use time and timezones, please  
contact me.


Thanks,
David.

On Jan 3, 2008, at 11:50 AM, Andrew Lindesay wrote:


Hello;

I jotted-up some notes about how I handle dates, timestamps and  
timezones that might be of interest in the context of this thread  
and mirrors Pierre's comment below.  See section 0.5.21 in the  
following document;


http://homepage.mac.com/andrewlindesay/tmp/LEWOStuffOverview.pdf

cheers.

Because of this, storing any date in local time instead of GMT is  
likely to leads to disappointment. There is no guarantee that the  
time zone you used to store your date will be the same than the  
one you used to retrieve it. I fact there is a good possibility  
that this will have changed under your feet. Typically each  
revision of the JVM includes a new version of the time zone  
database. The only safe way of storing dates is GMT as this is by  
definition guaranteed not to change.



 ___
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: Poor Oracle performance? getting rid of bind variables

2007-08-21 Thread David den Boer
The real solution is to avoid DATE columns where you will be passing  
in NSTimestamp. Conversion can be a b**ch though, especially if you  
have partitioned tables.


On Aug 21, 2007, at 1:12 PM, Ken Anderson wrote:

David, you win a dinner if you're ever in New York City!  Yes, the  
query absolutely flies now - Thank you!!


Ken

On Aug 21, 2007, at 4:03 PM, David den Boer wrote:


Hi Ken,

What type of column is your date column? Is it TIMESTAMP or DATE,  
and what version of Oracle is it?
The reason I ask is that when you bind an NSTimestamp into a DATE  
column, Oracle has to do conversion on it from TIMESTAMP to DATE.  
What we had to do to solve that problem is set the property :


oracle.jdbc.V8Compatible=true

And it solved our problems  completely. We went from seconds down  
to milliseconds in all cases where it was slow.


What that does is has Oracle jdbc driver do the conversion (like  
it used to in drivers up to 9.2.0.3) instead of at the database  
level.


Hope this helps.


On Aug 21, 2007, at 11:11 AM, Ken Anderson wrote:


Art,

Seems like other people have similar problems with bind variables:

http://www.thescripts.com/forum/thread65559.html

According to this guy, the optimizer punts when bind variables  
are used and uses a table scan!  Now, more than anything, I  
really need to figure out how to stop EOF from using bind variables.


Any thoughts?

Thanks,
Ken


On May 16, 2007, at 4:04 PM, Art Isbell wrote:


On May 16, 2007, at 9:33 AM, Gavin Eadie wrote:

I concur, with Oracle and OpenBase - that setting has no effect  
(and its default is false anyway) .. Gav


	I see that JDBCExpression overrides EOSQLExpression's  
useBindVariables() to always return true.  And  
OraclePlugIn.OracleExpression, a JDBCExpression subclass,  
doesn't override useBindVariables(), so the Oracle plugin must  
be set to use bind variables regardless of the value of  
EOAdaptorUseBindVariables.


	That said, I'd be surprised that merely using bind variables  
would cause the poor fetch performance.  In fact, I thought that  
bind variable usage was supposed to help the query optimizer  
improve performance, but my memory might be faulty.


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/kenlists% 
40anderhome.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/ddenboer% 
40apple.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: Poor Oracle performance? getting rid of bind variables

2007-08-21 Thread David den Boer

Hi Ken,

What type of column is your date column? Is it TIMESTAMP or DATE, and  
what version of Oracle is it?
The reason I ask is that when you bind an NSTimestamp into a DATE  
column, Oracle has to do conversion on it from TIMESTAMP to DATE.  
What we had to do to solve that problem is set the property :


oracle.jdbc.V8Compatible=true

And it solved our problems  completely. We went from seconds down to  
milliseconds in all cases where it was slow.


What that does is has Oracle jdbc driver do the conversion (like it  
used to in drivers up to 9.2.0.3) instead of at the database level.


Hope this helps.


On Aug 21, 2007, at 11:11 AM, Ken Anderson wrote:


Art,

Seems like other people have similar problems with bind variables:

http://www.thescripts.com/forum/thread65559.html

According to this guy, the optimizer punts when bind variables are  
used and uses a table scan!  Now, more than anything, I really need  
to figure out how to stop EOF from using bind variables.


Any thoughts?

Thanks,
Ken


On May 16, 2007, at 4:04 PM, Art Isbell wrote:


On May 16, 2007, at 9:33 AM, Gavin Eadie wrote:

I concur, with Oracle and OpenBase - that setting has no effect  
(and its default is false anyway) .. Gav


	I see that JDBCExpression overrides EOSQLExpression's  
useBindVariables() to always return true.  And  
OraclePlugIn.OracleExpression, a JDBCExpression subclass, doesn't  
override useBindVariables(), so the Oracle plugin must be set to  
use bind variables regardless of the value of  
EOAdaptorUseBindVariables.


	That said, I'd be surprised that merely using bind variables  
would cause the poor fetch performance.  In fact, I thought that  
bind variable usage was supposed to help the query optimizer  
improve performance, but my memory might be faulty.


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/kenlists% 
40anderhome.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/ddenboer% 
40apple.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: fetch EOs using Oracle stored procedures

2007-02-08 Thread David den Boer

Hi James,

1. I can't really help you with writing stored procedures other than  
saying your procedure should be a function that returns a ref_cursor  
if you are expecting multiple results.


2. You can fetch using :
public static NSArray rawRowsForStoredProcedureNamed(EOEditingContext  
ec, String name,NSDictionary args)


This will return an array of NSDictionary (raw rows).

If this is being used to display results, you are best to leave them  
as raw rows and just put a repetition over the array of rows. Bind  
your iterator to a dictionary and then use key value coding to get  
columns out of the dictionary (be sure to use column names as the  
key, not your fancy attribute names). When a user needs to inspect a  
row from this list, turn that one row back to an EO using :


public static EOEnterpriseObject objectWithPrimaryKeyValue 
(EOEditingContext ec, String entityName, Object value)



Hope this helps.


On Feb 8, 2007, at 5:50 PM, James C. Lee wrote:

Maybe I'm missing something somewhere, but I can't seem to find the  
answer.


To optimize things, I'd like to do frequent fetches using Oracle  
stored

procedure. There are two parts to this:

1. How do I write the Oracle stored procedure in PL/SQL? What  
should be

returned? According to Tom Kyte, this is how it's done:

http://asktom.oracle.com/tkyte/ResultSets/index.html

I was able to create the stored procedure that returns a cursor. But I
couldn't fetch from EOF? Or should the stored procedure return  
something

other than a cursor?

2. How do I fetch the result set from an Oracle stored procedure  
into EOF?

Ideally, I'd like to fetch the results as EOs, not raw rows.

EOUtilities.rawRowsWithQualifierFormat() doesn't like the store  
procedure

that returns a cursor (or maybe I didn't do it correctly?).

And if using this approach, then EOUtilities.objectFromRawRow()  
actually
turns the raw rows into faults, resulting yet another trip to the  
database,

which is not desirable.

Thanks for your help!

^James

P.S. I sent this in December to the Omnigroup WO mailing list, not  
realizing
that there's the Apple WO list (yep, shows my age. :-) No good  
solution came

out of it. Hopefully someone here has done this?

 ___
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/ddenboer% 
40apple.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 archive@mail-archive.com

Re: daylight saving time problem

2007-01-26 Thread David den Boer
What you have there is fully DST compatible, if you do not use  
NSTimestamp :-)


That being said, if you avoid using timezones with NSTimestamp, and  
do not use the time-component constructor :


NSTimestamp(int year, int month, int date, int hour, int minute, int  
second, TimeZone tz)



then you are good. If you need that one, then try :

/**
	 * Creates a new NSTimestamp using the passed in components and  
timezone info.

 */
	public static NSTimestamp timestampForComponents(int iYear, int  
iMonth, int iDay, int iHours, int iMinutes, int iSeconds, TimeZone  
iZone) {
		GregorianCalendar aCal = new GregorianCalendar(iYear, iMonth, iDay,  
iHours, iMinutes, iSeconds);

if (iZone != null)
aCal.setTimeZone(iZone);
return new NSTimestamp(aCal.getTime());
}

OR to change timezone on an existing date :


/**
 * Returns a new time stamp for the passed in Timezone.
 *
 * @param iMillis time stamp to be converted
 * @param iZone Timzone in which conversion is needed.
 * @return an NSTimestamp with date converted to iZone.
 */
	public static NSTimestamp changeDateForTimezone(long iMillis,  
TimeZone iZone) {

long anOffset = 0l;
if (iZone != null)
anOffset = iZone.getOffset(iMillis);
return new NSTimestamp(iMillis + anOffset);
}   
	public static NSTimestamp changeDateForTimezone(NSTimestamp  
iTimestamp, TimeZone iZone) {

return changeDateForTimezone(iTimestamp.getTime(), iZone);
}   



On Jan 26, 2007, at 2:45 PM, Ken Anderson wrote:

Is there a reasonable solution for this yet?  I'm running java  
1.5.0_06, which sun claims is compatible with the new daylight  
saving time change, but it is not.  How can I get this fixed?  I'm  
on OS X 10.4.8.


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 archive@mail-archive.com

Re: NSTimestamp problem

2006-12-22 Thread David den Boer

Here is the gist of the problem :

1. You need Java 1.4.2.11 or Java 1.5.0.6 to get the new zone files.
2. If you are using NSTimestamp, you need to not use it for timezone  
stuff. WO still uses NSTimezone when you pass in a Java TimeZone, and  
uses its own zone files, which are hopelessly out of date.


In our case, we store everything in the db as GMT, and then convert  
on the fly depending on what zone the user is in. We use the  
following methods :


/**
 * Returns a new time stamp for the passed in Timezone.
 *
 * @param iMillis time stamp to be converted
 * @param iZone Timzone in which conversion is needed.
 * @return an NSTimestamp with date converted to iZone.
 */
	public static NSTimestamp changeDateForTimezone(long iMillis,  
TimeZone iZone) {

long anOffset = 0l;
if (iZone != null)
anOffset = iZone.getOffset(iMillis);
return new NSTimestamp(iMillis + anOffset);
}   
	public static NSTimestamp changeDateForTimezone(NSTimestamp  
iTimestamp, TimeZone iZone) {

return changeDateForTimezone(iTimestamp.getTime(), iZone);
}   


Hope this helps.



On Dec 19, 2006, at 7:06 PM, Dan Faber wrote:




I notice the sun tool says:
 The java.vendor property value must be "Sun Microsystems Inc.".
so I bet it won't work for Apple JVMs. It didn't appear that Apple
had a JVM release that met the dates shown on the sun page. Maybe
we are stuck?



Thanks to all for the VERY timely replies to my problem. Art is  
correct that compiled timezone files are kept in /System/Library/ 
Frameworks/

JavaVM.framework/Versions/1.5.0/Home/lib/zi.

Apparently the file for my area "Denver" has been fixed in a newer  
version of the apple java. I downloaded that version and copied the  
"Denver" file from the zi directory into my 1.5.0 zi directory. Now  
the problem is gone (so far) on the development system, but still  
does not work correctly on the deployment system :(


Still searching for a reason...

Thanks to all,

Dan Faber


___
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/ddenboer% 
40apple.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 archive@mail-archive.com

Re: Xcode and WO development?

2006-12-11 Thread David den Boer
I think what we need is a migration guide for us xcode users,  
including what needs to be checked into cvs, and how to get around  
some of the useful xcode features I have not yet figured out how to  
get around (like merging jars together).


However, I have made the move and it was less painful than I thought  
it would be.




On Dec 11, 2006, at 1:08 PM, Chuck Hill wrote:


That is how I recall it going.

Chuck

On Dec 11, 2006, at 1:04 PM, Mike Schrag wrote:


lol
"... that's OK .. well  not really ... but ... anyway"  
came next, iirc :)


On Dec 11, 2006, at 4:02 PM, Clark Mueller wrote:

A wise man once said, "those of you who use Xcode - you're WRONG,  
but..."


I forget what came after the "but". :-)

Clark

On 11 Dec 06, at 1:57 PM, Mike Schrag wrote:


On Dec 11, 2006, at 3:53 PM, Calven Eggert wrote:


I still use EOModeler


b
 ___
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/cpmueller% 
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/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/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/ddenboer% 
40apple.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 archive@mail-archive.com