Re: ERRest and ERXKeyFilters advice

2013-04-03 Thread Giles Palmer
Hi Pascal Thanks for that, the ERRest app uses a non-wonder framework that doesn't have ERXKeys for it so for now I am having to use strings. Regards Giles > > Le 2013-04-03 à 05:40, Giles Palmer a écrit : > >> Hi >> >> Thanks for that. >> >>

Re: ERRest and ERXKeyFilters advice

2013-04-03 Thread Giles Palmer
e relationship, and a couple attributes: > > ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes(); > filter.include(MyEntity.MY_TO_ONE_RELATIONSHIP_OBJECT).include(MyOtherEntity.ATTRIBUTE); > filter.include(MyEntity.MY_TO_ONE_RELATIONSHIP_OBJECT).include(MyOtherEntity.ATTRIBUTE2); > return filter;

ERRest and ERXKeyFilters advice

2013-04-02 Thread Giles Palmer
Hi I am just starting my first ERRest app and playing with ERXKeyFilters. I have an OrganisationController using a filter and I remove unwanted attributes from the rest response with: ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes(); filter.exclude("dateTimeStamp","autoNotify","notify

Standalone desktop Application Bundle help

2012-08-02 Thread Giles Palmer
Hi I have created a simple desktop swing application that uses WO+Wonder for the backend with EOF and other Wonder goodies. My Application.java extends ERXApplication and all runs beautifully in Eclipse/WOLips. I would like to create a Mac OS x application bundle (normally created with Eclips

Re: EC locking (headless and threads)

2012-02-11 Thread Giles Palmer
Hi Just to extend this... when (if at all) should we be locking the EOObjectStoreCoordinator as well, in the context of background threads? I lock and unlock my ec in a try, catch, finally, is that enough or do I also need to worry about the OSC? Thanks Giles > Also if you use ERXExecut

Re: Webobjects vulnerability to cross-site request forgery?

2012-01-26 Thread Giles Palmer
ain is the same of your app (request().headerForKey("referer")). >> >> For me, the best way to avoid Cross-Site Attack would be using session-less >> Direct Actions, with POST auth credential in each request. Under HTTPS of >> course... >> >> Hope th

Webobjects vulnerability to cross-site request forgery?

2012-01-26 Thread Giles Palmer
Hi All We have an application that lives behind a login and all requests are session based component requests. We have been asked by a user about our vulnerability to Cross-site request forgery. http://en.wikipedia.org/wiki/Cross-site_request_forgery and https://www.owasp.org/index.php/Cross-

Re: JProfiler 6.2.2 [Solved]

2011-04-11 Thread Giles Palmer
gards Giles > hey giles > > we've done some extensive work with jprofiler this week with no problems at > all. > > only difference is we're on java 1.6.0_22. otherwise same jprofiler > version and same eclipse version. > > simon > > >

JProfiler 6.2.2

2011-04-08 Thread Giles Palmer
Hi Having problems getting JProfiler 6.2.2 to run from Eclipse 3.6.1 with WOLips 3.6.6219 with java.version=1.6.0_24 When I try to profile the app in the console I just get.. JProfiler> Protocol version 32 JProfiler> Using JVMPI JProfiler> The Java Virtual Machine Profiling Interface (JVMPI

Re: Scheduled Actions

2011-03-31 Thread Giles Palmer
Hi This is good timing... At the moment our app sends out event driven notifications but in the not so distant future we need a scheduling mechanism to enhance this. I have just started to tentatively look at quartz (which seems the way to go). Of course if your framework found itself into Wo

Re: Cannot obtain globalId for an object failure

2011-03-22 Thread Giles Palmer
Hi Chuck / Kieran Thank you very much for this. I am now back on track. I'll take a look at ERXTaskThreadPoolExecutor too. Much appreciated Giles > > On Mar 19, 2011, at 4:28 AM, Giles Palmer wrote: > >> Hi Chuck >> >> Thanks, see below... >> >&g

Re: Cannot obtain globalId for an object failure

2011-03-19 Thread Giles Palmer
Hi Chuck Thanks, see below... > > >> Hi >> >> I have just had an exception thrown on some relatively recent code, that has >> worked fine until now.. >> >> java.lang.IllegalStateException: Cannot obtain globalId for an object which >> is registered in its editingContext, >> object: , >>

Cannot obtain globalId for an object failure

2011-03-18 Thread Giles Palmer
Hi I have just had an exception thrown on some relatively recent code, that has worked fine until now.. java.lang.IllegalStateException: Cannot obtain globalId for an object which is registered in its editingContext, object: , databaseContext: er.extensions.eof.ERXDatabaseContext@ee260b, ob

Re: WO and Hadoop

2010-08-24 Thread Giles Palmer
Hi I'm sorry but we have really hacked at ERAttachments in our subclasses and I doubt that we could easily share the code. I will take look though and if I think it would be of use then I have no problem with sharing. Regards Giles Any plans to release your ERAttachment extension to t

Re: WO and Hadoop

2010-08-24 Thread Giles Palmer
Hi We have an application in development that will use Hadoop HDFS and HBase for storing binary data that is not suitable for our postgres db. We have extended the ERAttachments framework to use HDFS or HBase depending upon the size of the attachment data being persisted. At the moment

Re: Suggestions for best deployment?

2010-07-28 Thread Giles Palmer
+1 for a podcast! We are just starting down the EC2 route and would be very interested in your experiences. We are using postgres so can't make use of RDS which is a great shame, we are also intending to make use of hBase (Hadoop) for some of our file storage. Giles You know, that coul

JProfiler / WOLips integration

2009-12-16 Thread Giles Palmer
Hi Trying to set up JProfiler with WOLips. I have done the following... 1) installed JProfiler 6.0.2, selected eclipse 3.4 during the ide integration step 2) installed wolips JProfiler plugin-in (just updated WOLips etc from nightly) Eclipse is 3.4.1 WOLips is version 3.4.6015 and the JPr