Sessions DirectAction Apache Rewrite und Cookies

2010-11-16 Thread ute Hoffmann
Hi, I have a application which has sessions, but defaults to direct Actions. As a Apache rewrite of the URLs strips the wosid from the Direct Adtion URLS, the session is lost with every click on a hyperlink. I tried to have the sessions stored in cookies in place of in the URL. But the

Re: Sessions DirectAction Apache Rewrite und Cookies

2010-11-16 Thread Farrukh Ijaz
Check your rewrite rule and use [L, PT, QSA] where L - Last, PT - Pass Through, QSA - Query String Append. Hope this may help. Farrukh On 2010-11-16, at 2:13 PM, ute Hoffmann wrote: Hi, I have a application which has sessions, but defaults to direct Actions. As a Apache rewrite of the

Re: Sessions DirectAction Apache Rewrite und Cookies

2010-11-16 Thread ute Hoffmann
Hi, thanks a lot, that looks very good!! Regards, Ute Am 16.11.2010 um 12:19 schrieb Farrukh Ijaz: Check your rewrite rule and use [L, PT, QSA] where L - Last, PT - Pass Through, QSA - Query String Append. Hope this may help. Farrukh On 2010-11-16, at 2:13 PM, ute Hoffmann wrote: Hi,

Re: Application monitoring

2010-11-16 Thread Michael Gargano
This actually brings me to a question I've been wonder-ing about Do I need to use WOInstaller.jar to install the base frameworks or do I just need a script to create the directory structure and embed all the frameworks into my apps? If so, which directories need to be

Re: Many-to-Many Join Table PK

2010-11-16 Thread David Avendasora
On Nov 16, 2010, at 12:32 PM, Ray Kiddy wrote: On Nov 16, 2010, at 6:32 AM, David Avendasora wrote: Hi all, I have a Many-to-Many relationship and the join table does _not_ have a compound PK. It has a normal PK with a dataType of Long. The FKs that represent the to-One

Re: Many-to-Many Join Table PK

2010-11-16 Thread Mike Schrag
Probably entity modeler should have a validation check that if you check propagates pk, but the receiving end is not a pk, then it should be an error. As far as the tool not always doing the right thing, technically the tool did the right thing when it made his join entity, and then he later

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Michael Gargano
If you DO become iTunes, Google, or Twitter, your app won't scale. Period. I've never seen a system that scales without investing substantial engineering effort in profiling and rearchitecture after deployment. This made it to my wall. I'm going to point at it whenever someone gets another

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Alan Ward
Mike, couldn't you just have just left everyone with the cosy misconception that we wrote all this code 7 years ago, got it right first time and haven't had to touch it since? Alan On Nov 16, 2010, at 11:36 AM, Michael Gargano wrote: If you DO become iTunes, Google, or Twitter, your app

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
Mike said your app, obviously excluding his apps. ;-) On Nov 16, 2010, at 11:03 AM, Alan Ward wrote: Mike, couldn't you just have just left everyone with the cosy misconception that we wrote all this code 7 years ago, got it right first time and haven't had to touch it since? Alan

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Mike Schrag
Of course I meant except ours :) That's why my title is Senior Engineer of Martini-Pouring Services, making sure we're all comfortably numb while we kick back and relax. ms On Nov 16, 2010, at 2:03 PM, Alan Ward wrote: Mike, couldn't you just have just left everyone with the cosy

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread David LeBer
On 2010-11-16, at 2:11 PM, Mike Schrag wrote: Of course I meant except ours :) That's why my title is Senior Engineer of Martini-Pouring Services, making sure we're all comfortably numb while we kick back and relax. OK, the images I'm getting of you folks lounging around a pool sipping Mai

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Alan Ward
On Nov 16, 2010, at 12:16 PM, David LeBer wrote: On 2010-11-16, at 2:11 PM, Mike Schrag wrote: Of course I meant except ours :) That's why my title is Senior Engineer of Martini-Pouring Services, making sure we're all comfortably numb while we kick back and relax. OK, the images I'm

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Pascal Robert
Le 2010-11-16 à 14:42, Antonio Petri a écrit : Of course, the sad reality is that our industry loves to just syntactically masturbate with different languages and pretend that we're much better for it when the reality is that basically nothing has changed in 30 years in terms of how we

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Michael Gargano
I think Mike and I should get together and form The Association of Luddites Named Mike. That quote gives the term syntactic sugar a disturbing twist. On Nov 16, 2010, at 2:27 PM, David Avendasora wrote: I just have to say, Mike is on a role this thread: 1) If you DO become iTunes,

Consuming SOAP (mmm, delicious)

2010-11-16 Thread Lon Varscsak
I've never worked with SOAP before, definitely with XML and REST apis. Is there a good example of how to generate a SOAP request and process the results. Do WO and/or WOnder have any magic for this? Any help in pointing me in the right direction would be of great help. Thanks, Lon

EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Johnny Miller
Hi, I'm trying to run some unit tests on a new model but for some reason the model is not getting loaded into the default model group. If I put System.out.println(EOModelGroup.defaultGroup()); in the static initializer I can see that the model is not in there. How do I get the model into

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ian Joyner
Now that I think of it, I'm not so sure I do agree that every technology sucks. I certainly can appreciate well-designed elegant technologies that solve a problem well. That's part of the excitement with this profession. If everything just sucked most of us wouldn't be in it, well maybe those

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ian Joyner
On 17 Nov 2010, at 06:49, Pascal Robert wrote: Le 2010-11-16 à 14:42, Antonio Petri a écrit : Of course, the sad reality is that our industry loves to just syntactically masturbate with different languages and pretend that we're much better for it when the reality is that basically

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Mike Schrag
It was for dramatic literary effect ... Obviously every technology has things that are cool and things that are terrible. However, I have to say that I'm pretty disappointed that, after 13 years, there isn't a clear choice of a technology to switch to from WO. For all of its pitfalls, I think

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ken Anderson
I'm sure a good quant could build a suck correlation matrix and do a complete analysis...I happen to agree - the only platform I like as much as WO is Cocoa :) On Nov 16, 2010, at 5:40 PM, Mike Schrag wrote: It was for dramatic literary effect ... Obviously every technology has things

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Alan Ward
It almost amuses me that we having these WO scalability conversations now. 10 years ago it was a ballsy move to use WO for a big online application. Now I think it's more proven than ever even though the pace of development has clearly scaled back. It's funny that none of the newer

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ricardo J. Parada
Me too. I wish Eclipse copied the Xcode 4 UI. On Nov 16, 2010, at 5:43 PM, Ken Anderson wrote: I'm sure a good quant could build a suck correlation matrix and do a complete analysis...I happen to agree - the only platform I like as much as WO is Cocoa :) On Nov 16, 2010, at 5:40

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Lachlan Deck
On 17/11/2010, at 6:03 AM, Alan Ward wrote: Mike, couldn't you just have just left everyone with the cosy misconception that we wrote all this code 7 years ago, got it right first time and haven't had to touch it since? Oh the irony ;) such a misconception was surely already the

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ian Joyner
On 17 Nov 2010, at 09:40, Mike Schrag wrote: It was for dramatic literary effect ... That's the way I took it to agree with. But as always your sayings are thought provoking. Just thought I'd up the provocation. (Isn't that silly provo-k-ing, provo-c-ation.) I only have two problems with WO.

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Antonio Petri
The fact that WO hasn't changed so much with time may be a sign that it got it right from the beginning. If you look at JEE (or J2EE), which may be considered as a competitor of WO, it has gone through several major cycles, producing deep changes in the existing technologies like EJB and

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 2:21 PM, Johnny Miller wrote: Hi, I'm trying to run some unit tests on a new model but for some reason the model is not getting loaded into the default model group. If I put System.out.println(EOModelGroup.defaultGroup()); in the static initializer I can see that

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ian Joyner
Bigger guns in defence of Pascal. Even if one doesn't think of C as being fat and flabby, C++ certainly is. This quote comes from John Backus: Can Programming be Liberated from the von Neumann Style? http://www.thocp.net/biographies/papers/backus_turingaward_lecture.pdf 1. Conventional

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Johnny Miller
Yes. It is really strange. I'm now loading the Model to the default model group with addModelWithPath in my JUnit static initializer - which put a bandaid on the issue. However, in an application that uses this framework if I put System.out.println(EOModelGroup.defaultGroup()); in the

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Chuck Hill
Are you not calling WOApplication.primeApplication() in your unit tests? Also, IIRC, the working directory needs to be the Contents (IIRC) directory of a .woa or the Resources/Java directory of a framework for NSBundle to find things. Though with the new bundling from Wonder that may have

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Mike Schrag
if you use the new bundle stuff, you can just run with -DNSProjectBundleEnabled=true and you'll get models loaded for free. if you don't you have to either add the models yourself, or prime the application. ms On Nov 16, 2010, at 6:56 PM, Chuck Hill wrote: Are you not calling

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Johnny Miller
No, I was not aware of that method. My pattern is that I put my models in frameworks and then I create unit tests per framework to test the model and model related functions. IDK why this one failed but it is the same process I've been using on my other models/frameworks. Given that pattern

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Johnny Miller
I tried adding that property to the JUnit Launch Configuration Program Arguments but it didn't seem to help. thanks, Johnny On Nov 16, 2010, at 2:00 PM, Mike Schrag wrote: if you use the new bundle stuff, you can just run with -DNSProjectBundleEnabled=true and you'll get models loaded for

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Mike Schrag
you have to be using the reasonably new wonder 5.4 build to get this ... however, i've never tried this with launching a junit test from a non-app. i have no idea what it will do. i honestly don't know how your tests ever worked without manually adding the models to the modelgroup. On Nov 16,

Re: EOModel is not in EOModelGroup's defaultGroup

2010-11-16 Thread Johnny Miller
OK, LOL. Just lucky I guess. From now on I'll manually load the models. Thanks a lot, Johnny On Nov 16, 2010, at 2:17 PM, Mike Schrag wrote: you have to be using the reasonably new wonder 5.4 build to get this ... however, i've never tried this with launching a junit test from a

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 15, 2010, at 8:43 PM, Ian Joyner wrote: On 16 Nov 2010, at 14:52, Chuck Hill wrote: On Nov 15, 2010, at 6:51 PM, Ian Joyner wrote: That's a good distinction about quickly. Seems most get a kick from the first learning of something to get it quickly happening. Hence

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ian Joyner
On 17 Nov 2010, at 11:43, Chuck Hill wrote: On Nov 15, 2010, at 8:43 PM, Ian Joyner wrote: One student in his experience report mentioned that professional programmers should spend extra time on making their stuff usable and easily installable if they are going to expect people to use

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Pascal Robert
Le 2010-11-16 à 19:43, Chuck Hill a écrit : On Nov 15, 2010, at 8:43 PM, Ian Joyner wrote: On 16 Nov 2010, at 14:52, Chuck Hill wrote: On Nov 15, 2010, at 6:51 PM, Ian Joyner wrote: That's a good distinction about quickly. Seems most get a kick from the first learning of something to get

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 5:20 PM, Pascal Robert wrote: I think an important distinction here is between expect people to use their systems and allow people to use their systems. Wonder largely falls in the second category. I made this because I found it interesting and you can use it if you

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 5:16 PM, Ian Joyner wrote: On 17 Nov 2010, at 11:43, Chuck Hill wrote: On Nov 15, 2010, at 8:43 PM, Ian Joyner wrote: One student in his experience report mentioned that professional programmers should spend extra time on making their stuff usable and easily

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Pascal Robert
Le 2010-11-16 à 20:55, Chuck Hill a écrit : On Nov 16, 2010, at 5:16 PM, Ian Joyner wrote: On 17 Nov 2010, at 11:43, Chuck Hill wrote: On Nov 15, 2010, at 8:43 PM, Ian Joyner wrote: One student in his experience report mentioned that professional programmers should spend extra time on

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 6:33 PM, Pascal Robert wrote: Le 2010-11-16 à 20:55, Chuck Hill a écrit : I suspect that most people using WO don't care about the cool factor so they don't spend a lot of time trying to push it. Most of us have been around long enough to know to disbelieve stories of

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Andrew Lindesay
Hi Chuck and Pascal; ...and a road map, that might attract people to pitch in and do something. Or not. Without wanting to start a long thread on the matter, I imagine that any level of transparency on the future of this technology would improve the level of community involvement.

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 7:12 PM, Andrew Lindesay wrote: Hi Chuck and Pascal; ...and a road map, that might attract people to pitch in and do something. Or not. Without wanting to start a long thread on the matter, I imagine that any level of transparency on the future of this technology

Re: Consuming SOAP (mmm, delicious)

2010-11-16 Thread Ramsey Lee Gurley
Hi Lon, On Nov 16, 2010, at 4:50 PM, Lon Varscsak wrote: I've never worked with SOAP before, definitely with XML and REST apis. Is there a good example of how to generate a SOAP request and process the results. If you're doing SOAP and WO, you might be tempted to use Axis since that is

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Ian Joyner
The best marketing is making a better product - either technically or with improved documentation, accessibility, etc. I know that's wrong, at least as far as marketers are concerned. Marketeers are like lawyers - they get paid to defend people and make them look their best even if they are

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Paul D Yu
WebObjects has been where it is since Apple's acquisition of NeXT. NeXT was banking on WebObjects as its future, just like BEA WebLogic, SliverStream, blah blah. WebObjects was $50K per CPU. NeXT had a large enterprise sales force for WebObjects and there was a large consulting business

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Michael Gargano
Definitely not wasted time. I pushed really hard and got my company to give us the go ahead on WO this year. It was a hard enough sell to begin with, but if there was no one updating anything, it would be even worse. The more active the community is, the more alive WO stays. By letting

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Paul Hoadley
On 17/11/2010, at 1:31 PM, Chuck Hill wrote: On Nov 16, 2010, at 6:33 PM, Pascal Robert wrote: And maybe because it's only a very small group of people who try to do some marketing. Counting the time I took to cleanup the wiki, WOWODC organization, WOWODC presentations, wocommunity.org,

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 8:43 PM, Michael Gargano wrote: Definitely not wasted time. I pushed really hard and got my company to give us the go ahead on WO this year. It was a hard enough sell to begin with, but if there was no one updating anything, it would be even worse. The more active

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 8:43 PM, Paul D Yu wrote: All the upgrades to WOnder that's happened recently, where did that come from? If certain people at certain companies did not get support from a certain fruit company financially, would there have been all these upgrades and new capabilities?

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Chuck Hill
On Nov 16, 2010, at 9:06 PM, Paul Hoadley wrote: On 17/11/2010, at 1:31 PM, Chuck Hill wrote: On Nov 16, 2010, at 6:33 PM, Pascal Robert wrote: And maybe because it's only a very small group of people who try to do some marketing. Counting the time I took to cleanup the wiki, WOWODC

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Paul Hoadley
On 17/11/2010, at 4:04 PM, Chuck Hill wrote: Maybe we need a Jira space setup for the Wiki? I think that's a great idea. Sometimes I know how to fix the Wiki when there is incorrect, stale or contradictory information, so I jump in and do it. Other times, I know something is wrong, but I

Re: WebObjects scalability question - WOSession?

2010-11-16 Thread Michael Gargano
Possibly. Another thing I think the community needs (I think I put this in the survey) is a structured set of video tutorials that take you through learning WO and Wonder. I'm hanging in there, but there is so much stuff, half the time I tell myself I know someone must have made doing this