Hi!
On 2007/08/16, at 05:12, Gennady Kushnir wrote:
Only for that HUUGE arrays? I thowght, that caching of objects,
that EOF
do shoud significally speed up fetches... Will it do real database
roundtrip for fetching an object that's already cached in memory?
(I know
it is, as it is in that
When I first started with WebObjects I was very worried about all the
overhead
of creating EOs, etc.
Well like some said here,, build it the easy way using WO and see if
you really
need to optimize. I use filtered arrays on relationships all the time
and it works
really well. I easily
Cheong:
your login direct action could look like this:
public WOActionResults loginAction() {
String group = request().formValueForKey( group );
if ( /* group is null or not a valid group */ ) {
return pageWithName( SomeErrorPage );
}
((Session)session()).setGroup( group );
Hi list,
We need to make a webobjects application connects to a WebSphere
connection pool and it seems that there is only LDAP JNDI supported with
EOModeler.
Is there any other way to do that but writing our own adaptor ?
Can anybody help us with this ? Any other workaround ?
Regards,
Luis.
ditto for me. My early code is littered with tons of complex data
structures (dictionaries, arrays of arrays, lists, etc) created with
the intent of diminishing performance overhead. I have come to
believe that the best strategy you can take for something like this
is just to build it
Hi!
I have a to-many relationship, which points to rather large (about
100)
heap of objects.
100 is by no account a large number.
- cycle through array (which I get from relationship attribute),
checking
if attributes match
Kinda OK.
- construct EOQualifier and filter the array with
Hi All
Another way to bundle your log4j.properties is to include it in the
framework /application jar and then use the log4j.conifguration system
property if you need to change the defaults in teh deployment environment.
That way there is no log4j configuration code in the application/framework
Hi Pierre,
Can you elaborate on stale cache notification a bit, or else point us
to some documentation on it?
Thanks,
Mark
You can listen to EOF notifications to see when your cache goes stale.
Pierre
___
Do not post admin requests to the
On Aug 16, 2007, at 11:40 AM, Steven Mark McCraw wrote:
Hi Pierre,
Can you elaborate on stale cache notification a bit, or else point
us to some documentation on it?
He means the EOObjectStore ObjectsChangedInStoreNotification. It is
up to you to interpret it.
Chuck
--
Practical
On Aug 16, 2007, at 11:40 AM, Steven Mark McCraw wrote:
Hi Pierre,
Can you elaborate on stale cache notification a bit, or else point
us to some documentation on it?
He means the EOObjectStore ObjectsChangedInStoreNotification. It is
up to you to interpret it.
You can get a little help
Hi Pierre,
please,
Il giorno 16/ago/07, alle ore 19:18, Pierre Bernard ha scritto:
[...]
- just fetch required object regarding mentioned relationship as
just one
of attributes involved
A to-many is always the inverse of a to-one. You could qualify
objects using that to-one.
how one
He means, rather than have a to-many relationship, like this:
A -- B
just have this:
A -- B
Then when you want a certain subset of B, you can just do a fetch,
where B.A == the A you want, plus whatever else you want to filter on.
Ken
On Aug 16, 2007, at 5:00 PM, Paolo Sommaruga wrote:
I mean:
Rather than saying this.getToMany() you can say EOFetchSpecification
(other, inverseToOne = this, null)
public static String
inverseRelationshipNameForRelationshipNameAndEntityName(
String relationshipName,
String entityName)
{
I recall someone making something that did this, but now I can't find
it. I don't even recall how it worked. What it did was allow WO to
update an attribute of a entity using bar = bar + 1 instead of bar =
7 so that updates from multiple sources would not step on each other.
Does this
Hello there;
We need to make a webobjects application connects to a WebSphere
connection pool and it seems that there is only LDAP JNDI supported
with
EOModeler.
(snipped from another email I wrote...)
Although I haven't needed to do this myself, the alternative means
of configuring
15 matches
Mail list logo