Re: Fun with Primitives

2005-12-12 Thread Wolfram Stebel
Am 13.12.2005 6:00 Uhr schrieb "Owen McKerrow" unter <[EMAIL PROTECTED]>: > Hi All, > > I have a method that loops over a NSMutableDictionary by keyword, and > then uses that keyword as a key value path to set the value of an > object for another page to the value stored in the dictionary. > > F

Re: Subclass conflict with single-table mapping?

2005-12-12 Thread Pierre . Bernard
Drew, I understand there are 3 classes: Employee, Client and Consultant. Of which class are employees with type == 3? I am afraid of you telling me that the qualifier for Client is ((type == 1) or (type == 3)) while the one of Consultant is ((type == 2) or (type == 3)). If this is the case, a ro

Re: Securing File System Resources ?

2005-12-12 Thread Dov Rosenberg
The key is - this must be super fast and efficient. These applications deliver a high volume of files and we would prefer making the interaction as small and fast as possible. We do not want to burden the main processing loop with serving files if possible. We would prefer this to occur in complete

Re: Securing File System Resources ?

2005-12-12 Thread Davin
4.) Use a component action. Wrap a hyperlink in a conditional making the hyperlink available to only authenticated users. Bind the hyperlink to a component action which downloads the file: import java.io.*; String filePath; WOActionResults downloadFile() { try {

Fun with Primitives

2005-12-12 Thread Owen McKerrow
Hi All, I have a method that loops over a NSMutableDictionary by keyword, and then uses that keyword as a key value path to set the value of an object for another page to the value stored in the dictionary. For example we have the key value pair in the dictionary of "personName", "Bob".

Re: Securing File System Resources ?

2005-12-12 Thread wojingo
Dov Rosenberg wrote: Our application has its own security model that controls access to our information based on our own roles and permissions. We store files related to our application on the file system where our application is running. These associated files are served out by a web server. Our

Securing File System Resources ?

2005-12-12 Thread Dov Rosenberg
Title: Securing File System Resources ? Our application has its own security model that controls access to our information based on our own roles and permissions. We store files related to our application on the file system where our application is running. These associated files are served out

Re: Ridiculously stupid problem

2005-12-12 Thread Chuck Hill
This is a very unhelpful default in veXcode. By default it suggests adding the file to the wrong target (think build process). Instead of it adding to the one that does compilation (Application Server), it wants to add it to the one that does packaging (ApplicationName). Feh. A pox on Xco

Re: Subclass conflict with single-table mapping?

2005-12-12 Thread Chuck Hill
On Dec 12, 2005, at 4:59 PM, Drew Thoeni wrote: See below... On Dec 12, 2005, at 7:12 AM, [EMAIL PROTECTED] wrote: What is the primary key of your Employee table? employeID (long integer) Does the database's primary key definition match with what you declared in EOModeler? Yep. Using

Re: Subclass conflict with single-table mapping?

2005-12-12 Thread Drew Thoeni
See below...On Dec 12, 2005, at 7:12 AM, [EMAIL PROTECTED] wrote:What is the primary key of your Employee table? employeID (long integer)Does the database's primary key definition match with what you declared in EOModeler? Yep. Using Frontbase LONGINTCan you be sure no Client shares a primary key w

Re: images in database... a suggestion

2005-12-12 Thread David Holt
Georg, When you say that MySQL does not scale, at what point did you see performance start to degrade? Was the degradation a function of the size of the images, size of the database, the number of images, or number of transactions? I have seen some degradation because of the application m

Re: images in database... a suggestion

2005-12-12 Thread Georg Tuparev
Alex, Based on my experience in the exact same type of project, I would strongly discourage you storing images in MySQL. If you decide to use FrontBase though, it should work fine if you use separate schemas and raw devices... or possibly without them too. MySQL just does not scale... m

Re: Ridiculously stupid problem

2005-12-12 Thread Owen McKerrow
A problem that used to occur, and may still do ( haven't check under xCode 2 ) is that of spaces in your path name. Check that you have no spaces in any of the folders in the path to your project and none in your project name either. e.g /My Computer/Users/Matthew/Desktop will not work due t

Re: Ridiculously stupid problem

2005-12-12 Thread wojingo
Matthew McKay wrote: Hello, As you will probably figure out by reading the next few sentences, I'm very new to WO and the xCode environment. I can't compile my WO app because I don't know what I am doing, I guess. I keep getting errors saying that xCode can't find the specified packages

Ridiculously stupid problem

2005-12-12 Thread Matthew McKay
Hello, As you will probably figure out by reading the next few sentences, I'm very new to WO and the xCode environment. I can't compile my WO app because I don't know what I am doing, I guess. I keep getting errors saying that xCode can't find the specified packages I am trying to import, but it ma

Re: images in database...

2005-12-12 Thread James Cicenia
I am actually in the process of finishing up a catalog application for an tradeshow exhibition company. Basically, I chose to use the file system. I would be given high resolution files which I made sure had a consistent naming convention. i.e, product.t.jpg, or product.d. 1.jpg. I then use App

Re: images in database...

2005-12-12 Thread John Lennard
We have tried several approaches for storing images in our applications. Our main application, Virtual Curator (http:// www.virtualcurator.com) , stores images as flat files in a pool of directories on the file system. This pool of directories was to overcome file system limits on directorie

Re: images in database... a suggestion

2005-12-12 Thread Amedeo Mantica
Thank You all for parrtecipating in this discussions. I think that discussion thread has been very helpful. Best regards Amedeo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.ap

WO development philosophy

2005-12-12 Thread Pete Rive
Hi folks, I have been slowly learning WO and java, although I am not a developer by any stretch of the imagination. I have also been researching a number of other development approaches. I like a lot of aspects of WO but am not sure if it can solve all my problems. I am looking to develop

Re: Returning results from HTTPConnection request...

2005-12-12 Thread Nathan Walker
I guess I was looking to see if anybody had any innovative ideas on this concept. I guess I could have the Flash constantly looping through posting requests to the server and checking things, (Maybe have a DirectAction that returned an XML response telling the Flash animation how much cash had been

Re: images in database... a suggestion

2005-12-12 Thread Alex Finkel
So... If images are being stored in the database as opposed to the file system, what would be the celling for the image size? I have always been a supporter of the large images being stored on a file system and pointed to through DB. This discussion caught my attention, however. The reason is

Re: Returning results from HTTPConnection request...

2005-12-12 Thread Chuck Hill
Now I am more confused. :-) On Dec 11, 2005, at 10:31 PM, Nathan Walker wrote: Here's the complete class: Basically, it initiates a JNI method that could take awhile and waits for a user to enter in some Cash, once the cash has met the expected value (all handled in the C class) then it

Re: Returning results from HTTPConnection request...

2005-12-12 Thread Nathan Walker
Here's the complete class: Basically, it initiates a JNI method that could take awhile and waits for a user to enter in some Cash, once the cash has met the expected value (all handled in the C class) then it returns and I'd like to return the results to the current browser. I'm initiating this in

Re: WO example sites

2005-12-12 Thread Gaastra Dennis - WO Lists
go to https://cluster1.webappz.com With Kind Regards,Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]Chief Technology Officer,WEBAPPZ Systems, Inc.HQ:  (+1) 604.921.1333Fax:  (+1) 604.921.4313Cell:  (+1) 604.787.2532Email: [EMAIL PROTECTED]Web: www.webappz.com & www.1tracker.comThis message contains c

Re: Subclass conflict with single-table mapping?

2005-12-12 Thread Pierre . Bernard
What is the primary key of your Employee table? Does the database's primary key definition match with what you declared in EOModeler? Can you be sure no Client shares a primary key with an Consultant? Did you configure the qualifier (e.g. type == 3) for all of your sublclasses? Pierre [EMAIL PRO

Java 1.5 & WO?

2005-12-12 Thread Ken Anderson
Has anyone tried Java 1.5 and WO? ___ 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/webobj

Re: images in database... a suggestion

2005-12-12 Thread Geoff Hopson
Yes...forgot to mention that the images are blatted out hierarchically and not into a single folder, precisely because of this issue. Each leaf folder had around 30-50 images in it. And I can confirm from some recent non-WO experience that database performance can be dramatically improved by being

Re: images in database... a suggestion

2005-12-12 Thread Georg Tuparev
I can confirm Geoff's words in principle. But there is a caveat. If you put more than, say, 2k files in a folder, the file systems slows down. We have a framework that deals with this problem by spreading files in auto-generated folders. Also it is always a good idea to store images (or other BLOBS

Re: images in database... a suggestion

2005-12-12 Thread Geoff Hopson
This is exactly how I did the Fortnum & Mason site - they had an extensive product catalog whose images were stored in a database. when the catalog was ready to go live, the images were exported to the file system under the web server. The web app had a runtime switch (mode = deploy) for the 'produ