Re: JavaClient offline storage / replication

2009-04-15 Thread Lachlan Deck
On 16/04/2009, at 1:19 PM, John Huss wrote: Ok, fair enough. So would you recommend using a different persistence framework on the client, or just avoid doing offline storage at all? You'll need to define how critical this feature is to the product vs other stuff and go back to the client w

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
Ok, fair enough. So would you recommend using a different persistence framework on the client, or just avoid doing offline storage at all? John On Wed, Apr 15, 2009 at 2:55 PM, Mike Schrag wrote: > On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill >>> wrote: >>> Hmmm, a separate EOModelGroup, and

Re: What is the connection between the WO and the java file?

2009-04-15 Thread Chuck Hill
On Apr 15, 2009, at 5:51 PM, Matthew Kidd wrote: I ask this because in my efforts to decompile a webobjects application from circa 2002 or 2003 I've encountered more errors than I care to deal and then I had an idea. If I could compile one java file, the only one I actually need to chang

Re: JavaClient offline storage / replication

2009-04-15 Thread John Ours
On Apr 15, 2009, at 5:52 PM, Stamenkovic Florijan wrote: 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

Re: What is the connection between the WO and the java file?

2009-04-15 Thread Lachlan Deck
On 16/04/2009, at 10:51 AM, Matthew Kidd wrote: I ask this because in my efforts to decompile a webobjects application from circa 2002 or 2003 I've encountered more errors than I care to deal and then I had an idea. If I could compile one java file, the only one I actually need to change, v

What is the connection between the WO and the java file?

2009-04-15 Thread Matthew Kidd
I ask this because in my efforts to decompile a webobjects application from circa 2002 or 2003 I've encountered more errors than I care to deal and then I had an idea. If I could compile one java file, the only one I actually need to change, via commandline and swap the resulting .class files 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 either not b

Re: JavaClient offline storage / replication

2009-04-15 Thread Lachlan Deck
On 16/04/2009, at 1:51 AM, Stamenkovic Florijan wrote: 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 modification

RE: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Ren, Kevin
What I did( from memory) 1. delete anything under cache dir in p2 2. remove wolips from "Software updates->Available software list" 3.refresh and restart eclipse 4. add wolips(link) again in available software 5. refresh and update to latest version hopeful is help and working. it's not wolips

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Gaastra Dennis - WO Lists
Hi Mike, Do you suggest a re-install to upgrade from nightly 3.4.5693 then? Thanks. With Kind Regards, Dennis Gaastra, On 15-Apr-09, at 12:14 PM, Mike Schrag wrote: yes, but only made changes to nightly, so whatever was broken originally would continue to be broken for you if you're o

Re: JavaClient offline storage / replication

2009-04-15 Thread Chuck Hill
On Apr 15, 2009, at 12:55 PM, Mike Schrag wrote: On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill > wrote: Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I think you are going to need to create the objects in the local database and then copy the data over. How would I

Re: JavaClient offline storage / replication

2009-04-15 Thread Mike Schrag
On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill > wrote: Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I think you are going to need to create the objects in the local database and then copy the data over. How would I get started with that? Can I use the same model?

Re: JavaClient offline storage / replication

2009-04-15 Thread Chuck Hill
On Apr 15, 2009, at 11:15 AM, John Huss wrote: On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill village.net> wrote: Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I think you are going to need to create the objects in the local database and then copy the data over. Ho

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Mike Schrag
yes, but only made changes to nightly, so whatever was broken originally would continue to be broken for you if you're on stable. On Apr 15, 2009, at 3:07 PM, Tim Worman wrote: Right, but I think I've been having this problem since before there was a new stable? Ever since I updated to Eclip

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Johnny Miller
Just tried. Same error messages here. Jon On Apr 15, 2009, at 8:11 AM, webobjects-dev-requ...@lists.apple.com wrote: Message: 2 Date: Wed, 15 Apr 2009 10:49:47 -0700 From: Gaastra Dennis - WO Lists Subject: Re: upgrading w/ eclipse 3.4.2 To: Mike Schrag Cc: WebObjects Development Message

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Tim Worman
Right, but I think I've been having this problem since before there was a new stable? Ever since I updated to Eclipse 3.4.2, the updater "sees" an update for WOLips but then I get the errors everyone is reporting when I actually try to update. Tim On Apr 15, 2009, at 11:38 AM, Mike Schrag

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Mike Schrag
stable wouldn't have changed, so i'm not surprised ... stable is just a snapshot of whenever it was made -- it never changes until a new stable is pushed On Apr 15, 2009, at 2:18 PM, Tim Worman wrote: I'm still having the same issue and I'm trying to go from the last stable I got (prior to

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Tim Worman
I'm still having the same issue and I'm trying to go from the last stable I got (prior to the issue) to the newer stable. Tim UCLA GSE&IS On Apr 15, 2009, at 11:10 AM, Gaastra Dennis - WO Lists wrote: Yes, 3.4.2; see picture attached: With Kind Regards, Dennis Gaastra, On 15-Apr-09, a

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill wrote: > Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I > think you are going to need to create the objects in the local database and > then copy the data over. > How would I get started with that? Can I use the same model?

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Gaastra Dennis - WO Lists
Yes, 3.4.2; see picture attached: With Kind Regards,Dennis Gaastra,  On 15-Apr-09, at 11:00 AM, Mike Schrag wrote:and you're trying to upgrade from an eclipse 3.4 + nightly to a new nightly, right?  not from eclipse 3.3, or from stable to nightly?On Apr 15, 2009, at 1:49 PM, Gaastra Dennis - WO Lis

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Mike Schrag
and you're trying to upgrade from an eclipse 3.4 + nightly to a new nightly, right? not from eclipse 3.3, or from stable to nightly? On Apr 15, 2009, at 1:49 PM, Gaastra Dennis - WO Lists wrote: Hi Mike, Thanks for trying, but still not working: there is still a huge list of "no repositor

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Gaastra Dennis - WO Lists
Hi Mike, Thanks for trying, but still not working: there is still a huge list of "no repository found containing ... /3.4.5719" lines. With Kind Regards, Dennis Gaastra, Chief Technology Officer, WEBAPPZ Systems, Inc. This message contains confidential information and is intended only fo

Re: JavaClient offline storage / replication

2009-04-15 Thread John Ours
On Apr 15, 2009, at 1:24 PM, David Avendasora wrote: On Apr 15, 2009, at 1:13 PM, John Ours wrote: We do these sort of occasionally-connected systems on the .NET platform a lot using MSSQL Desktop -> MSSQL Server replication. So, MS SQL on the server AND client? Was that Chuck that I ju

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread Mike Schrag
Does Maclipse work with 3.4.2 yet? no 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/opti

Re: upgrading w/ eclipse 3.4.2

2009-04-15 Thread David Avendasora
Does Maclipse work with 3.4.2 yet? It's going to need to be a pretty compelling upgrade to Eclipse if I have to give up Maclipse. :-) Dave On Apr 15, 2009, at 1:22 PM, Mike Schrag wrote: i was able to upgrade my wolips from eclipse 3.4.2 just now ... the people that were having problems

Re: JavaClient offline storage / replication

2009-04-15 Thread Chuck Hill
On Apr 15, 2009, at 10:24 AM, David Avendasora wrote: On Apr 15, 2009, at 1:13 PM, John Ours wrote: On Apr 15, 2009, at 12:55 PM, Stamenkovic Florijan wrote: And tougher still if the data you are caching can get modified on the server while the client is disconnected. Then you have som

Re: JavaClient offline storage / replication

2009-04-15 Thread Chuck Hill
On Apr 15, 2009, at 10:08 AM, John Huss wrote: Well, let's say it was read-only. What would the process look like? 1) Fetch an EO from the server 2) Get an editing context that is connected to the client database 3) Local instance the EO into the client EC 4) Save the client EC But would thi

Re: JavaClient offline storage / replication

2009-04-15 Thread David Avendasora
On Apr 15, 2009, at 1:13 PM, John Ours wrote: On Apr 15, 2009, at 12:55 PM, Stamenkovic Florijan wrote: And tougher still if the data you are caching can get modified on the server while the client is disconnected. Then you have some interesting update conflicts to handle. This can be

upgrading w/ eclipse 3.4.2

2009-04-15 Thread Mike Schrag
i was able to upgrade my wolips from eclipse 3.4.2 just now ... the people that were having problems try again and see what happens? ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

Re: WOHTTPConnection ok to cache?

2009-04-15 Thread Mike Schrag
Has anyone tried to put a WOHTTPConnection in a static variable? If so did it work ok? my two cents? throw that class out the window and use apache commons HTTPClient ... ms ___ Do not post admin requests to the list. They will be ignored. Webo

Re: JavaClient offline storage / replication

2009-04-15 Thread John Ours
On Apr 15, 2009, at 12:55 PM, Stamenkovic Florijan wrote: And tougher still if the data you are caching can get modified on the server while the client is disconnected. Then you have some interesting update conflicts to handle. This can be a real tough nut to crack. Yeah, data freshne

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
Well, let's say it was read-only. What would the process look like? 1) Fetch an EO from the server 2) Get an editing context that is connected to the client database 3) Local instance the EO into the client EC 4) Save the client EC But would this work? I haven't done any work with multiple DBs

WOHTTPConnection ok to cache?

2009-04-15 Thread Jeffrey Simpson
Has anyone tried to put a WOHTTPConnection in a static variable? If so did it work ok? I want to use "keep alive" between calls to a direct action. Is this the right way of doing this? Thanks Jeffrey Simpson Youth For Understanding USA jsimp...@yfu.org Telephone: (240) 235-2114 FAX: (202) 235-

Re: JavaClient offline storage / replication

2009-04-15 Thread Guido Neitzer
On 15. Apr. 2009, at 09:42 , Chuck Hill wrote: And tougher still if the data you are caching can get modified on the server while the client is disconnected. Then you have some interesting update conflicts to handle. This can be a real tough nut to crack. It's the same problem as with a

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 considering using JavaClien

Re: JavaClient offline storage / replication

2009-04-15 Thread Chuck Hill
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 considering using JavaClient for some new projects and one of the big fea

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
On Wed, Apr 15, 2009 at 11:25 AM, David Avendasora < webobje...@avendasora.com> wrote: > > On Apr 15, 2009, at 11:51 AM, Stamenkovic Florijan wrote: > > 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 w

Re: JavaClient offline storage / replication

2009-04-15 Thread David Avendasora
On Apr 15, 2009, at 11:51 AM, Stamenkovic Florijan wrote: 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 modifica

Re: Frontbase Database access on Deploy

2009-04-15 Thread Chuck Hill
Hi Phil, On Apr 15, 2009, at 6:13 AM, Phil Horton wrote: Hi Chuck, Thanks for that - the Analyzer identified that it couldn't load the correct FB classes. Eventually made a copy of the frontbasejdbc.jar file in /Library/WebObjects/Extensions and then it picked it up - it couldn't see it

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

unsubscribe

2009-04-15 Thread john XUE
--- On Wed, 4/15/09, John Huss wrote: > From: John Huss > Subject: JavaClient offline storage / replication > To: "WebObjects-Dev Apple" > Date: Wednesday, April 15, 2009, 11:24 AM > We're considering using JavaClient for some new projects > and one of the big > features we want is the abil

JavaClient offline storage / replication

2009-04-15 Thread John Huss
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 you approach this? Is it possible to use the same E

Re: storing NSTimestamp values as GMT, displaying as (client) local?

2009-04-15 Thread Ken Anderson
I was going to write pretty much what Travis wrote, so I'll just say me too In app and DB representations should always be GMT - displays to the user should be formatted for their local time zone. Ken On Apr 14, 2009, at 9:51 PM, Travis Britt wrote: On Apr 14, 2009, at 9:04 PM, Andrew Li

Re: Frontbase Database access on Deploy

2009-04-15 Thread Phil Horton
Hi Chuck, Thanks for that - the Analyzer identified that it couldn't load the correct FB classes. Eventually made a copy of the frontbasejdbc.jar file in /Library/WebObjects/Extensions and then it picked it up - it couldn't see it in /Library/Java/Extensions, although it can on the develo

Re: NSTimestampFormatter adjusts TZ for display, SimpleDateFormat doesn't?

2009-04-15 Thread Paul Hoadley
Hi Andrew, On 15/04/2009, at 7:40 PM, Andrew Lindesay wrote: I have my own home-rolled formatters for date/time, but I am (as you obviously are) interested in using SDF instead. I figured that if SDF did not do this "timezone fiddle" itself, I would subclass it to achieve the correct valu

Re: NSTimestampFormatter adjusts TZ for display, SimpleDateFormat doesn't?

2009-04-15 Thread Andrew Lindesay
Hello Paul; I have my own home-rolled formatters for date/time, but I am (as you obviously are) interested in using SDF instead. I figured that if SDF did not do this "timezone fiddle" itself, I would subclass it to achieve the correct value and then invoke super to handle the format. L

NSTimestampFormatter adjusts TZ for display, SimpleDateFormat doesn't?

2009-04-15 Thread Paul Hoadley
Hello, Using WO 5.4.3. Here's yet another NSTimestamp/NSTimestampFormatter/ SimpleDateFormat thread... :-) Heeding the deprecation warning for NSTimestampFormatter, I've been trying to use SimpleDateFormat in its place. I'm doing the following: 1. PostgreSQL is set to GMT. 2. Applicat