[OT] Leaving WO

2009-11-30 Thread Stamenkovic Florijan
Hi all, I am leaving my current job, and consequently WebObjects. I am writing just to say bye to the community :) My first programming job was with WebObjects, so this community is also special to me in the sense that I learned a lot about how cooperative programming can be, and how much

Re: [JC] update conflict handling

2009-07-21 Thread Stamenkovic Florijan
On Jul 21, 2009, at 13:50, Chuck Hill wrote: On Jul 21, 2009, at 10:42 AM, Stamenkovic Florijan wrote: On Jul 21, 2009, at 13:03, Chuck Hill wrote: On Jul 20, 2009, at 8:59 PM, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David

Re: [JC] update conflict handling

2009-07-21 Thread Stamenkovic Florijan
On Jul 21, 2009, at 13:03, Chuck Hill wrote: On Jul 20, 2009, at 8:59 PM, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avendasora wrote: Wouldn't calling clientSideRequestGetNotifications() on the client trigger an automatic cop

Re: [JC] update conflict handling

2009-07-21 Thread Stamenkovic Florijan
On Jul 20, 2009, at 23:59, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avendasora wrote: Wouldn't calling clientSideRequestGetNotifications() on the client trigger an automatic copying of the client-side EditingContext back to t

Re: JavaClient update conflicts

2009-07-15 Thread Stamenkovic Florijan
On Jul 15, 2009, at 11:18, Chuck Hill wrote: On Jul 15, 2009, at 8:11 AM, Stamenkovic Florijan wrote: On Jul 15, 2009, at 10:48, David Avendasora wrote: On Jul 15, 2009, at 10:44 AM, Stamenkovic Florijan wrote: I am on 5.4.2, ¿Por qué no 5.4.3? I am not really actively developing

Re: JavaClient update conflicts

2009-07-15 Thread Stamenkovic Florijan
On Jul 15, 2009, at 10:48, David Avendasora wrote: On Jul 15, 2009, at 10:44 AM, Stamenkovic Florijan wrote: I am on 5.4.2, ¿Por qué no 5.4.3? I am not really actively developing with WO anymore. Just patching stuff up for the company I am soon leaving. So I am not up to date. F

Re: JavaClient update conflicts

2009-07-15 Thread Stamenkovic Florijan
Hey John, On Jul 15, 2009, at 00:38, John Ours wrote: I am not able to reproduce this problem unless I push the EC to the server without saving it to the database (RMI for example). Baring that though I cannot reproduce the concurrency issue with either two copies of the client on one mac

Re: [JC] update conflict handling

2009-07-14 Thread Stamenkovic Florijan
On Jul 14, 2009, at 11:56, Chuck Hill wrote: On Jul 14, 2009, at 7:09 AM, Stamenkovic Florijan wrote: On Jul 13, 2009, at 14:04, Chuck Hill wrote: On Jul 13, 2009, at 10:46 AM, Stamenkovic Florijan wrote: On Jul 11, 2009, at 10:13, Stamenkovic Florijan wrote: Bummer. I was kind of

Re: [JC] update conflict handling

2009-07-14 Thread Stamenkovic Florijan
On Jul 14, 2009, at 11:48, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avendasora wrote: On Jul 14, 2009, at 10:09 AM, Stamenkovic Florijan wrote: On Jul 13, 2009, at 14:04, Chuck Hill wrote: If a person had something like JAD, and looked in EODistributionContext, they might

Re: [JC] update conflict handling

2009-07-14 Thread Stamenkovic Florijan
On Jul 13, 2009, at 14:04, Chuck Hill wrote: On Jul 13, 2009, at 10:46 AM, Stamenkovic Florijan wrote: On Jul 11, 2009, at 10:13, Stamenkovic Florijan wrote: Bummer. I was kind of hoping you'd come up with something involving parts of the EOF that I am not that familiar with. Hm, d

Re: [JC] update conflict handling

2009-07-13 Thread Stamenkovic Florijan
On Jul 11, 2009, at 10:13, Stamenkovic Florijan wrote: Bummer. I was kind of hoping you'd come up with something involving parts of the EOF that I am not that familiar with. Hm, do you know perhaps of a way to simply turn optimistic locking off in EOF, so that last write always wins?

Re: [JC] update conflict handling

2009-07-11 Thread Stamenkovic Florijan
Hi Chuck, On Jul 10, 2009, at 23:32, Chuck Hill wrote: Hi Flor, On Jul 10, 2009, at 10:32 AM, Stamenkovic Florijan wrote: Hi all, I am implementing update conflict handling based on the info here: http://developer.apple.com/documentation/webobjects/Enterprise_Objects/UpdateStrategies

[JC] update conflict handling

2009-07-10 Thread Stamenkovic Florijan
Hi all, I am implementing update conflict handling based on the info here: http://developer.apple.com/documentation/webobjects/Enterprise_Objects/UpdateStrategies/UpdateStrategies.html However, it seems that in a JavaClient scenario the update fails before saveChanges() is ever called on an e

Re: Wonder FrontBase plugin exception

2009-06-27 Thread Stamenkovic Florijan
Jun 27, 2009, at 16:24, Chuck Hill wrote: It is the year, 0007. FrontBase does not accept dates before the Gregorian calendar switch. Did you mean 2007? On Jun 27, 2009, at 12:20 PM, Stamenkovic Florijan wrote: Hi all, While performing an insertion that is performed often (at least a

Wonder FrontBase plugin exception

2009-06-27 Thread Stamenkovic Florijan
Hi all, While performing an insertion that is performed often (at least a few hundred times till now) and normally without problems, I got: java.lang.IllegalStateException: Server exception: EvaluateExpression failed: $FrontbaseExpression: "INSERT INTO "BOOKING"("what", "dateDue", "debit

Re: Large dataset for RDBMS/EOF tests?

2009-06-20 Thread Stamenkovic Florijan
Would a randomly generated dataset be acceptable? http://web.mac.com/flor385/eSwamp/software/index.html#wovagen You can use it to generate as much data as you want. The only limitation is how much data fits into the app's memory during a single generation process, so you may need to do a few

Re: Rich Clients and WO

2009-06-10 Thread Stamenkovic Florijan
A few things here need addressing. On Jun 09, 2009, at 11:08, John Huss wrote: I believe JavaClient uses the standard Java serialization, which is a binary format. Generating the format in Javascript is probably not feasible; if it was I'm sure the GWT folks would have used it, but they d

Re: Scheduled backup + files store

2009-05-13 Thread Stamenkovic Florijan
On May 13, 2009, at 15:58, Guido Neitzer wrote: On May 13, 2009, at 12:42 PM, Stamenkovic Florijan wrote: 1. Refuse or delay the transfers of files to the server at a particular time of day when the backup is happening. This is sloppy, I don't want to do it. This is what I do a

Scheduled backup + files store

2009-05-13 Thread Stamenkovic Florijan
Hi all, In our database (FrontBase) we have a FileRecord table that defines the db representation of a file. The actual files are however stored on the file system. Now, we need to do scheduled backups. The individual ops are not a problem (run a script that backs the database up, and tar

Re: WOLips migration and WOSortOrder

2009-04-30 Thread Stamenkovic Florijan
I've had a similar thing happening with some other classes. Turned out that I was not including the WO framework that contains the component into my build path. WOSortOrder is a part of WOExtensions. Make sure you have the JavaWOExtensions.framework in your project build path. HTH, F On

Re: Inverse Relationships

2009-04-28 Thread Stamenkovic Florijan
On Apr 28, 2009, at 10:12, Mr. Frank Cobia wrote: If I am using the EOGenerator files from WOLips is there not a way to update a relationship without automatically updating the inverse relationship? For to ones you can use takeStoredValueForKey(...) For to manys you can use includeObjectIn

Re: JC client side EO encoding problem

2009-04-24 Thread Stamenkovic Florijan
oth classes so they are close enough. Are the client- and server-side classes substantially different? Dave On Apr 24, 2009, at 11:02 AM, Stamenkovic Florijan wrote: Has anyone seen anything like this before: [Apr 23, 2009 21:03:31 -0400] Exception thrown: java.lang.IllegalArgumentExceptio

JC client side EO encoding problem

2009-04-24 Thread Stamenkovic Florijan
Has anyone seen anything like this before: [Apr 23, 2009 21:03:31 -0400] Exception thrown: java.lang.IllegalArgumentException: encodeObject: unable to encode object of class com.havaso.dvis.client.eof.eo.UserGroup at com .webobjects .eodistribution .common ._EOReferenceRecordingCoder .

[SOLVED] Re: NSArray bug

2009-04-21 Thread Stamenkovic Florijan
OK, I assume that then it's also reported. F On Apr 21, 2009, at 16:20, Mike Schrag wrote: yes, the impl is wrong in 5.4 ... q fixed this in Wonder's a couple weeks ago On Apr 21, 2009, at 4:13 PM, Stamenkovic Florijan wrote: Please confirm: NSArray children = someE

NSArray bug

2009-04-21 Thread Stamenkovic Florijan
Please confirm: NSArray children = someEO.children(); SomeEO[] childrenArray = children.objects(); // compiles, no warning, throws ClassCastException (Object[]) at runtime SomeEO[] childrenArray = children.toArray(new SomeEO[children.count()]); // works fine F __

Re: JavaClient: does the eomodel file need to be included with the client app?

2009-04-17 Thread Stamenkovic Florijan
Just on the server. On Apr 17, 2009, at 12:33, John Huss wrote: In JavaClient does the eomodel file need to be included with the client app? Or just on the server as usual? John ___ Do not post admin requests to the list. They will be ignored. W

Re: JavaClient offline storage / replication

2009-04-15 Thread Stamenkovic Florijan
On Apr 15, 2009, at 17:32, Lachlan Deck wrote: On 16/04/2009, at 1:51 AM, Stamenkovic Florijan wrote: It would also open up a can of worms too. With normal connections you can get an optimistic locking failure and can present this immediately to the user. In its absence you'd eithe

Re: JavaClient offline storage / replication

2009-04-15 Thread Stamenkovic Florijan
On Apr 15, 2009, at 12:42, Chuck Hill wrote: On Apr 15, 2009, at 9:36 AM, John Huss wrote: On Wed, Apr 15, 2009 at 11:25 AM, David Avendasora > wrote: On Apr 15, 2009, at 11:51 AM, Stamenkovic Florijan wrote: On Apr 15, 2009, at 11:24, John Huss wrote: We're consideri

Re: JavaClient offline storage / replication

2009-04-15 Thread Stamenkovic Florijan
On Apr 15, 2009, at 11:24, John Huss wrote: We're considering using JavaClient for some new projects and one of the big features we want is the ability to run offline by caching database from the server's DB and storing any modifications locally until the server is online again. How would

Re: [OT] local persistence ORM

2009-04-10 Thread Stamenkovic Florijan
you can find an example with MS Access, but also works fine with Derby. http://wiki.netbeans.org/JavaPersistenceApi Saludos, Daniel. On 09/04/2009, at 07:35 p.m., webobjects-dev-requ...@lists.apple.com wrote: From: Stamenkovic Florijan Date: 9 de abril de 2009 04:29:12 p.m. GMT-05:00 To: D

Re: [OT] local persistence ORM

2009-04-10 Thread Stamenkovic Florijan
Hi John, Hm... Maybe. Have you done anything like this, or are you speaking hypothetically? F On Apr 09, 2009, at 23:07, John Ours wrote: What about combining Cayenne backed with H2? John ___ Do not post admin requests to the list. They will b

Re: [OT] local persistence ORM

2009-04-09 Thread Stamenkovic Florijan
lient, couldn't you manually do it, if all you want it for is for writing stuff to the FS of the client and not accessing the server-side object store? Just thinking out-loud. Dave On Apr 9, 2009, at 5:16 PM, Stamenkovic Florijan wrote: Not possible, as it would require server-side WO librar

Re: [OT] local persistence ORM

2009-04-09 Thread Stamenkovic Florijan
Not possible, as it would require server-side WO libraries to use. F On Apr 09, 2009, at 13:47, David Avendasora wrote: I have never looked at it, but what about Wonder's JavaFSAdaptor EOAdaptor? I believe it is a work in progress, but I think I remember Mike talking about it at one of the

[OT] local persistence ORM

2009-04-09 Thread Stamenkovic Florijan
Hi all, I am wondering about local persistence ORM pure Java libs. I know of Derby, and just started reading stuff about JDO. I am interested in reasonably easy, light-weight, fast, but not necessarily super-charged local persistence, similar to WO in it's in-memory object handling. Not

Re: JavaClient session timeout?

2009-04-07 Thread Stamenkovic Florijan
On Mar 30, 2009, at 13:18, David Avendasora wrote: This is the approach I was thinking of. Have the client keep track of how long since the last server communication (I have no idea how to do that...) and set a timer based on the session timeout value. It's only job would be to give the use

[JC] EODistributionChannel.Delegate and session expiration

2009-04-06 Thread Stamenkovic Florijan
Hi all, I am currently using an EODistributionChannel.Delegate to handle request tracking. And am observing some weird behavior, so I am wondering if anyone else has experience with this... 1. If I set a custom delegate on the distribution channel, the JC runtime no longer catches the se

Re: Scheduling and re-scheduling

2009-04-04 Thread Stamenkovic Florijan
ScheduledExecutorService, no question ... If you don't, I would write it with an someObject.wait(sessionTimeout) and someObject.notifyAll when you ping the session to keep it alive, at which point your code can decide if it needs to perform its action or resleep. Definitely don't poll, but

[OT] It's gone!!!

2009-04-04 Thread Stamenkovic Florijan
Hey, the "Could not deliver" auto-reply is gone!!! WOO HOO F ___ 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.app

Scheduling and re-scheduling

2009-04-04 Thread Stamenkovic Florijan
Hi all, Though a JavaClient question, it is more about Java, then about WO, so please ignore the JC aspect of it... I am looking for the best way to deal with the following requirement: - I am watching (from the JavaClient side) for the server-side session timing out - I want to perform ac

Re: Getters without the "get" part

2009-03-31 Thread Stamenkovic Florijan
On Mar 31, 2009, at 14:39, Hugi Thordarson wrote: Actually, I'd vote for a WO release that added "get" to all methods and provided no compatibility deprecation at all. Wow, want to bleed some, huh? But, I agree, Java has pretty clearly defined naming conventions, and the "get" prefix is m

[ANN] JBND 0.92

2009-03-30 Thread Stamenkovic Florijan
...is up. News: - derived property handling is *much* better, but it's API has been changed - individual Swing component connections can now be connected to multiple value bindings - ditched all int based flags in favor of enums ... F ___ Do not p

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern America to the US via Russia, by boat? :) Let's stick to .me for the time being, though I would like to Subversion

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip It's a WOLips project. Eclipse 3.4.1, appropriate stable WOLips (update say a month ago or something). Note: this project contains both server and client side classes. Both are well documented i

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 13:18, David Avendasora wrote: This is the approach I was thinking of. Have the client keep track of how long since the last server communication (I have no idea how to do that...) and set a timer based on the session timeout value. It's only job would be to give the us

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 10:24, David Avendasora wrote: Yes, there is. By default I believe it is 30 minutes, or maybe 20. I'm not entirely sure. It is the same session timeout that a web client session has by default It's the same session mechanism, controlled with the same server side prope

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 10:06, John Huss wrote: Is there a session timeout in JavaClient? I would think there has to be. Yep, there is. What happens when the session times out? The next request from a client coming to the session gets refused, the client app is informed of why, and the cli

Re: [Somewhat OT] Code organization question

2009-03-28 Thread Stamenkovic Florijan
Hi Lachlan, On Mar 28, 2009, at 06:55, Lachlan Deck wrote: You've described how they're used, which is all cool, but the particular problem you're trying to solve sounds like it's more to do with how they're initialised. Yes, it does. Read on... So the normal EOClassDescription, for examp

Re: [OT] Colour palettes for designers

2009-03-27 Thread Stamenkovic Florijan
Yeah, it really is cool. Definitively a good point to start if deciding on a color scheme. Thanks for sharing, F On Mar 27, 2009, at 16:53, David Holt wrote: Really cool site for helping you to choose the colour palette of your next web app. Should you actually have to do that ;-) http://

Re: [Somewhat OT] Code organization question

2009-03-26 Thread Stamenkovic Florijan
On Mar 26, 2009, at 16:51, Lachlan Deck wrote: Nothing else at this time. Perhaps a little more explanation about your derived properties mechanism will trigger some extra thinking. Sure, here is how it works, as briefly as possible... DataType interface (JBND equivalent of EOClassDescriptio

Re: Mixing D2JC with Non-Direct Java Client

2009-03-26 Thread Stamenkovic Florijan
On Mar 26, 2009, at 15:13, John Ours wrote: I'm wading through this business of supercontrollers and subcontrollers now... Argh... I hate those. Well, after some more of doing what you're doing now, you will hopefully see why I made JBND. F ___

Re: [Somewhat OT] Code organization question

2009-03-26 Thread Stamenkovic Florijan
Hi Lachlan, On Mar 26, 2009, at 13:53, Lachlan Deck wrote: Does lazy instantiating for each prop work? If I understand you correctly, you are thinking of initializing the property dependence meta-info lazily. I thought about this. It would not work. Unfortunately I need to obtain an EOC

Re: [Somewhat OT] Code organization question

2009-03-26 Thread Stamenkovic Florijan
Henrique, Did not think about it... I took a look at what you suggest, but it seems too heavy a solution for this problem, which is in fact not that big. Thanks anyway, F On Mar 26, 2009, at 12:28, Henrique Prange wrote: Hi Florijan, Have you thought about Dependency Injection? You coul

Re: [Somewhat OT] Code organization question

2009-03-26 Thread Stamenkovic Florijan
On Mar 25, 2009, at 18:42, Peter Vandoros wrote: In the end, I would try to keep things as simple as possible. Thus going with your original idea. Yeah, seeing that I didn't come up with anything better in the meanwhile, and nothing got posted on the list, this is what I ended up with.

Re: Java Client (topic of the day!)

2009-03-25 Thread Stamenkovic Florijan
On Mar 25, 2009, at 21:36, Pascal Robert wrote: On Mar 25, 2009, at 6:22 PM, Stamenkovic Florijan wrote: Cool to see that the hard work is being put to use :D For a while it seemed like Dave and I were the only ones out there... You know I was just telling someone here that WebObjects is

Re: [Somewhat OT] Code organization question

2009-03-25 Thread Stamenkovic Florijan
Hi Peter, On Mar 25, 2009, at 18:20, Peter Vandoros wrote: I'm not sure it will help you, but have you looked at using annotations? Nope. Never crossed my mind... They might be able to do what you described by simply annotating your EOFDataObject class. Could you please explain what you

Re: Java Client (topic of the day!)

2009-03-25 Thread Stamenkovic Florijan
Hi John On Mar 25, 2009, at 17:46, John Ours wrote: Funny to see all these messages about creating a Java Client, since that's exactly what I've been working on today. I've been following Florijan's write up and David's examples (thank you both!) and I've actually got things working so far

Re: JavaClient Common classes

2009-03-25 Thread Stamenkovic Florijan
On Mar 25, 2009, at 15:02, John Huss wrote: On Wed, Mar 25, 2009 at 12:36 PM, David Avendasora > wrote: I've tried several times to use common classes with one class that both server and client inherit from, but I've never been able to get it to work correctly. Mike was kind enough to add so

Re: JavaClient Common classes

2009-03-25 Thread Stamenkovic Florijan
apps that are WOJC driven. A *very* powerful combo. My best, F On Mar 25, 2009, at 13:07, Stamenkovic Florijan wrote: Hey John, On Mar 25, 2009, at 12:46, John Huss wrote: This is mainly aimed at David, but anyone is welcome to share. How are you using the common class functionality in W

Re: JavaClient Common classes

2009-03-25 Thread Stamenkovic Florijan
Hey John, On Mar 25, 2009, at 12:46, John Huss wrote: This is mainly aimed at David, but anyone is welcome to share. How are you using the common class functionality in WOLips? From what I gather there is a common class for the each Entity and then two subclasses (parallel), one for the S

[Somewhat OT] Code organization question

2009-03-25 Thread Stamenkovic Florijan
Hi all, Not a strictly WO question, but what the heck :) I am working on moving JBND derived prop management to DataTypes (JBND's view of class descriptions), for various reasons. In principle I am done, and it works great. However, I am faced with the problem of initializing those derived

Re: [OT] A good free profiler

2009-03-19 Thread Stamenkovic Florijan
Thanks, will check it out. F On Mar 19, 2009, at 19:35, Q wrote: On 20/03/2009, at 9:26 AM, Stamenkovic Florijan wrote: Any idea if it can be used in standalone mode? My projects are all in Eclipse... Yes, it can be used to profile a remote application by supplying to extra vm args to

Re: [OT] A good free profiler

2009-03-19 Thread Stamenkovic Florijan
Hm, I work on a first generation Intel Mac, 32 bit -> No Java6 -> can't use VisualVM... Bummer... F On Mar 19, 2009, at 19:32, Stamenkovic Florijan wrote: This looks promising! Thanks, F On Mar 19, 2009, at 18:18, Peter Vandoros wrote: You can look at VisualVM as well. Reg

Re: [OT] A good free profiler

2009-03-19 Thread Stamenkovic Florijan
This looks promising! Thanks, F On Mar 19, 2009, at 18:18, Peter Vandoros wrote: You can look at VisualVM as well. Regards Peter ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@li

Re: [OT] A good free profiler

2009-03-19 Thread Stamenkovic Florijan
Any idea if it can be used in standalone mode? My projects are all in Eclipse... F On Mar 19, 2009, at 18:21, Q wrote: Netbeans has a pretty decent profiler built in. ___ Do not post admin requests to the list. They will be ignored. Webobjects-de

[OT] A good free profiler

2009-03-19 Thread Stamenkovic Florijan
Hi all, I am looking for a decent free Java profiler, not necessarily open source. For profiling a commercial product. At the moment I am interested purely in CPU profiling, though naturally I am not against other features. It can be an Eclipse plugin, but that is not required. I already

Re: Jad?

2009-03-12 Thread Stamenkovic Florijan
On Mar 12, 2009, at 15:14, Chuck Hill wrote: Mine. :-P The plan is that I control the beer supply and ration it out. Anything left at the end is mine, mine, all mine! And you just lost a years ration for questioning me! Next! I think I see a revolution on the horizon... F ___

Re: Jad?

2009-03-12 Thread Stamenkovic Florijan
On Mar 12, 2009, at 14:03, Chuck Hill wrote: No! No loop holes either! Codez bad, goatez good. Sheep too if they can stand the heat. Can we at least do manual quicksorting? Y'know, to keep the animals in order... Hey, we could have the annual sheep-sorting competition! And sheep-puzzle

Re: Eclipse Crashes but WOApp Keeps Running

2009-03-12 Thread Stamenkovic Florijan
On Mar 12, 2009, at 11:45, David Avendasora wrote: I have just discovered something that I didn't realize before. If you have you have a WO app running inside of Eclipse and Eclipse crashes the WO app keeps running. Huh, that's good to know. Thinking about it, this could be both a bug an

[OT] Generic search component UI

2009-03-07 Thread Stamenkovic Florijan
Hi all, I am thinking of implementing a generic search component on top of JBND's qualification system. However, I am having trouble visualizing a really good, user friendly interface for such a component. The main problem: AND and OR qualifiers. I am looking for good ways to handle thei

Re: Jad?

2009-03-06 Thread Stamenkovic Florijan
On Mar 06, 2009, at 15:27, Chuck Hill wrote: Tip o the hat to Mike for pointing this out to me. And one from us to you, for pointing it out to us. C'mon everybody, hail Chuck! :D F ___ Do not post admin requests to the list. They will be ignored.

Re: Owns Destination & Deny

2009-03-06 Thread Stamenkovic Florijan
On Mar 06, 2009, at 11:00, David Avendasora wrote: Is it just that if you set the required Parent relationship on the Child to null you won't get a validation error when you save because the Child will get deleted before validation rules are applied to it? That's what I'd expect in a setup

Re: Owns Destination & Deny

2009-03-06 Thread Stamenkovic Florijan
Hey Dave, On Mar 06, 2009, at 07:40, David Avendasora wrote: So if the only thing that Owns Destination does is cause the child to be deleted if the parent no longer exists but the Deny delete rule stops you from doing that, how can the Owns Destination setting have any meaning? Not enti

Re: Owns Destination & Deny

2009-03-02 Thread Stamenkovic Florijan
Hey Dave, On Mar 02, 2009, at 16:55, David Avendasora wrote: What I find is really weird is that in most ways this never causes problems, except when trying to delete the Owner from within a Java Client application. I've never had a Web-app complain about it. It seems the delete is process

Re: "EOGenerate" in WOLips won't work.

2009-03-02 Thread Stamenkovic Florijan
Hey Adam, On Mar 02, 2009, at 11:02, Adam Ohren wrote: When I right-click my .eogen file and select "EOGenerate...", nothing happens. No warnings, exceptions, or errors to speak of. The progress indicator in the lower-right of Eclipse comes on briefly (like half-a-second), then disappears.

[DITCHED] Re: Yet another threading question...

2009-02-28 Thread Stamenkovic Florijan
On Feb 27, 2009, at 14:37, Stamenkovic Florijan wrote: Hope this helps illustrate what I am thinking of. It's a bit weird. But so far it has been successful, outside of doing it inside EOF of course. Well, put it together, made a OneThread EC, and it didn't work. I keep

Re: [WORKED AROUND] Re: Bug in client side EOF locking?

2009-02-27 Thread Stamenkovic Florijan
On Feb 27, 2009, at 14:14, Chuck Hill wrote: On Feb 27, 2009, at 6:10 AM, Stamenkovic Florijan wrote: On Feb 26, 2009, at 22:22, Chuck Hill wrote: I am old. My memory is weak. Less snips help. How? Where? willRead(), willReadRelationship(Object) Have stack traces? See below

Re: [WORKED AROUND] Re: Bug in client side EOF locking?

2009-02-27 Thread Stamenkovic Florijan
On Feb 26, 2009, at 22:22, Chuck Hill wrote: How? Where? willRead(), willReadRelationship(Object) Have stack traces? See below. Sorry about not providing them before, that was silly. How come this particular exception happens in a multi-threaded scenario and not in a single thread

Re: Yet another threading question...

2009-02-27 Thread Stamenkovic Florijan
On Feb 27, 2009, at 09:20, David Avendasora wrote: On Feb 26, 2009, at 9:19 PM, Chuck Hill wrote: On Feb 26, 2009, at 1:01 PM, Stamenkovic Florijan wrote: Also, this is happening on the client side, though I am not sure if that makes much of a difference for this. Aw, just make a web

Re: Yet another threading question...

2009-02-27 Thread Stamenkovic Florijan
On Feb 26, 2009, at 22:19, Chuck Hill wrote: I thought of making an EOEditingContext subclass that encapsulates a thread and it does all it's work on that single thread, regardless of which thread a method call to it is made on. It would entail overriding all the methods in the EOEditingCo

Yet another threading question...

2009-02-26 Thread Stamenkovic Florijan
Hi all, I thought of making an EOEditingContext subclass that encapsulates a thread and it does all it's work on that single thread, regardless of which thread a method call to it is made on. It would entail overriding all the methods in the EOEditingContext to do something like a produc

Re: [WORKED AROUND] Re: Bug in client side EOF locking?

2009-02-26 Thread Stamenkovic Florijan
On Jan 28, 2009, at 15:17, Stamenkovic Florijan wrote: As you suggested, adding this to my EO superclass seems to do it: private static final Integer monitor = new Integer(345345); public void willRead(){ synchronized(monitor

Re: Hibernate

2009-02-25 Thread Stamenkovic Florijan
On Feb 25, 2009, at 19:20, Mike Schrag wrote: 3. Hibernate validators are not too bad for basic validations I've always felt that EOF should have more out-of-the-box model- defined validation support I'm not so sure about EOF doing this -- I quite like being able to organise this in-code and

Re: deferrable initially deferred

2009-02-24 Thread Stamenkovic Florijan
On Feb 24, 2009, at 11:37, Ricardo J. Parada wrote: Is there anything that I can use to differentiate between the FrontBase and Wonder versions of this plug in? Not based on the screenshot you sent. Others probably know a better way, but you can add the following to your model project's .pr

Re: WO/Wonder and Java 6 as a deployment environment?

2009-02-24 Thread Stamenkovic Florijan
On Feb 24, 2009, at 09:32, David Avendasora wrote: BTW how's Java 6 for Mac? Is it final already, or still beta? Intel only, or PowerPC? Sorry for the dumb questions, but I looked at the Apple Java page and I couldn't really figure it out. I believe that 1.6 is released (not Beta) for In

Re: deferrable initially deferred

2009-02-24 Thread Stamenkovic Florijan
On Feb 24, 2009, at 09:06, Ricardo J. Parada wrote: Hmm... what is the trick to using the right frontbase plug-in? :-) FB automatically installs their version of the plugin into /Library/ Frameworks (during the installation of the FB package), so if you did not replace that with the Wonder

Re: opposite method to objectMatchingKeyAndValue

2009-02-21 Thread Stamenkovic Florijan
On Feb 21, 2009, at 13:10, Mike Schrag wrote: You create EntityIndexes on an Entity ... It's not per-attribute because you can have composite unique indexes potentially. Got it, thanks... Bummer it's not fully functional yet. Still, very nice it's worked on. Perhaps in the future a more ela

Re: opposite method to objectMatchingKeyAndValue

2009-02-21 Thread Stamenkovic Florijan
On Feb 21, 2009, at 11:22, Mike Schrag wrote: However, it *might* be possible to enhance EntityModeler to include this info in the EOModel, and thereby to generate SQL that does this for you... It would not be information present at runtime, in the programatic rep of the model, which could

Re: opposite method to objectMatchingKeyAndValue

2009-02-21 Thread Stamenkovic Florijan
On Feb 21, 2009, at 04:30, Paul Hoadley wrote: I see a thread from 2003 [1] that seems to indicate that uniqueness of an attribute isn't expressible in an EO model. I take it the only way to add such a constraint, then, is manually? AFAIK: yes. However, it *might* be possible to enhance E

Re: opposite method to objectMatchingKeyAndValue

2009-02-20 Thread Stamenkovic Florijan
ing on the DB, people on the list might be able to give you the code that deals with this. F On 20.2.2009, at 19:14, Stamenkovic Florijan wrote: Hey Gus, The code you intend to use does not guarantee that the code value will be unique in the database. The only way of achieving this wi

Re: Making a fake EO

2009-02-19 Thread Stamenkovic Florijan
On Feb 19, 2009, at 09:20, Mike Schrag wrote: Is it possible somehow? Or my only way is to create a real record in my employee database called "Mr. Vacancy" and maybe even pay him salary :) anything is possible but not everything should be done ... IMO, do Mr. Vacancy. you'll be a happie

Re: BigDecimal vs WOConditional

2009-02-17 Thread Stamenkovic Florijan
On Feb 17, 2009, at 13:58, Ondřej Čada wrote: What on earth has Java and its contracts to do with this?!? WebObjects are no Java; it's a language-independent framework, actually designed for Objective C. The assumption that its number-to- boolean translation is C-like is thus well-founded an

Re: BigDecimal vs WOConditional

2009-02-17 Thread Stamenkovic Florijan
On Feb 17, 2009, at 12:57, Ondřej Čada wrote: Just bumped into a ugly thing: a WOConditional considers a BigDecimal 'false' for values < 1 -- self-evidently, it checks an integer value of the thing. Just for reference, is that my fault or WO fault? To be quite frank, I cannot find in spe

Re: ADC / WO after 5.4 and NDA

2009-02-17 Thread Stamenkovic Florijan
On Feb 17, 2009, at 08:12, Mike Schrag wrote: I'm a Select ADC member I'm not aware of any forums available to discuss NDA material for select ... I think AppleSeed members have similar access privileges to those of Select ADC members. Well, I am not sure of the details, but when AppleSe

Re: Frontbase restore

2009-02-14 Thread Stamenkovic Florijan
;m getting this error: Syntax error 023. Expected not found. Any ideas? Thanks, Jeff On Feb 12, 2009, at 9:06 PM, Stamenkovic Florijan wrote: Jeff, WRITE DATA; Should that not be WRITE BACKUP? or, fully: WRITE BACKUP [TO ] [ COMPRESSED ]; Also, I am not sure this is the issue, but I thin

Re: Frontbase restore

2009-02-12 Thread Stamenkovic Florijan
Jeff, WRITE DATA; Should that not be WRITE BACKUP? or, fully: WRITE BACKUP [TO ] [ COMPRESSED ]; Also, I am not sure this is the issue, but I think FB by default restores from the last backup. Maybe somehow that is a backup that was performed immediately after the drop-recreate? Just to

[JC] Time to vote!

2009-02-06 Thread Stamenkovic Florijan
Hi to all JavaClient users on the list... And also those who are considering becoming JC users. If you are using EntityModeler to make models for JC apps, please take a minute to look at an enhancement request made a while back, and if you feel it could improve your development environment,

[ANN] JBND 0.91

2009-02-05 Thread Stamenkovic Florijan
Though a minor release, this version introduces some really important depreciations and API changes, so if you are using JBND you should *definitively* check out the detailed release notes: http://web.mac.com/flor385/JBND/news.html F ___ Do not po

Fwd: Eclipse 3.5M5 - The future is Cocoa

2009-02-05 Thread Stamenkovic Florijan
Forwarding from Java OX list. Thought this might be of interest to WO list too F Begin forwarded message: From: Erik Mattheis Date: February 05, 2009 09:24:06 GMT-04:00 To: "java-...@lists.apple.com Java-dev" Subject: Eclipse 3.5M5 - The future is Cocoa I just noticed a new milestone

[ANN] JBND 0.9 released

2009-02-02 Thread Stamenkovic Florijan
Hi all, So, a new version of JBND is out... Relevant stuff: - WO 5.4 supported (required) - Undo / redo manager built into JBND (org.jbnd.undo package), works well with property changes, with some additional handling can handle also EO insertions / deletions, though this is a bit hackish.

Re: Prefetching?

2009-01-30 Thread Stamenkovic Florijan
On Jan 30, 2009, at 11:05, Stamenkovic Florijan wrote: If so, well, I would assume most people use it, as it can drastically increase your performance. Ahem, sorry about this, it will not drastically increase *your* performance, but that of your WebObjects app... :D F

  1   2   >