Re: Space/outrigger suggestions

2010-12-17 Thread Wade Chandler
You are talking about a a field of an Entry, but it does aim at generics type safety. Too, the fields of an Entry as returned per the specification are not to be of different class types than what were given. If the instances contained in the collection given during a write are String...they wi

Re: datastructure classes

2010-12-17 Thread Patricia Shanahan
On 12/17/2010 8:00 AM, Gregg Wonderly wrote: ... One of the primary issues with bandwidth through any system is latency. While multiprocessor/multi-core and distributed computing can provide huge bandwidth possibilities, the underlying issue is per transaction latency. If you look simply, at the

Re: Space/outrigger suggestions

2010-12-17 Thread Peter
There is one additional problem, the use of generics causes a narrowing of scope, the template and return value must be the same type. The entry spec currently allows the template to be a different class, a dummy class can be used instead. Once Generics are introduced into service api, at the

Re: datastructure classes

2010-12-17 Thread Patricia Shanahan
On 12/17/2010 10:22 AM, Gregg Wonderly wrote: On 12/16/2010 9:35 PM, Patricia Shanahan wrote: I would love to be able to base it on a ConcurrentMap, but I don't see how it would work. As far as I can tell, there is no clean split between key and non-key among the entry's public fields. A templa

Re: Space/outrigger suggestions

2010-12-17 Thread Wade Chandler
In this case, I believe one must first prove the contrary; prove there is a problem with generics in this case. Is there an example of where this proposal for JavaSpaces causes an issue. I don't know of any. I would be very surprised if one could give a working example of such an issue. We are t

Re: Hudson build is back to normal : River-verify #13

2010-12-17 Thread Sim IJskes - QCG
On 12/17/2010 11:13 PM, Peter wrote: Garbageplows? Peter, whats the temp overthere right now? 33C? Watering ban already declared? Gr. Sim

Re: Hudson build is back to normal : River-verify #13

2010-12-17 Thread Peter
Garbageplows? - Original message - > What snowplows? In Charlotte, NC, they put plows on the garbage trucks. > > -jeff > > On Fri, Dec 17, 2010 at 7:26 AM, Sim IJskes - QCG wrote: > > On 17-12-10 16:03, Tom Hobbs wrote: > > > > > > Good job Sim. > > > > > > > Have a nice weekend. It is sn

Re: Space/outrigger suggestions

2010-12-17 Thread Peter
There seems to be support for using generics in this case. If we can develop some good documentation to explain why it works and why it's the exception to the rule for using generics in service api, if this is indeed the case, then I think it is acceptable. Do we have any good wordsmith's on th

Re: Hudson build is back to normal : River-verify #13

2010-12-17 Thread Jeff Ramsdale
What snowplows? In Charlotte, NC, they put plows on the garbage trucks. -jeff On Fri, Dec 17, 2010 at 7:26 AM, Sim IJskes - QCG wrote: > On 17-12-10 16:03, Tom Hobbs wrote: >> >> Good job Sim. >> >>> Have a nice weekend. It is snowing here. Even a weatheralarm: "do not use >>> the roads!". >> >>

Build failed in Hudson: River-trunk-QA-ubuntu #80

2010-12-17 Thread Apache Hudson Server
See Changes: [sijskes] intermed checkin [sijskes] added ant release script file -- [...truncated 15445 lines...] [java] [java] -

Re: datastructure classes

2010-12-17 Thread Gregg Wonderly
On 12/16/2010 9:35 PM, Patricia Shanahan wrote: I would love to be able to base it on a ConcurrentMap, but I don't see how it would work. As far as I can tell, there is no clean split between key and non-key among the entry's public fields. A template can specify values for any subset of the fie

Re: datastructure classes

2010-12-17 Thread Gregg Wonderly
On 12/16/2010 3:02 PM, Wade Chandler wrote: Now, the one place that doesn't seem a waste of time is using those unmarshalled Entries and fields for lookup. Seems having those realized in memory already is much faster. A way to speed up the overall effort would be to store the serialized form alon

Re: Space/outrigger suggestions

2010-12-17 Thread Sim IJskes - QCG
On 12/17/2010 05:22 PM, jgr...@simulexinc.com wrote: I suppose I should point out that the Javaspace specification does guarantee that the type returned in these cases is the type of the template. If something else is returned, then the space implementation is severely broken.That being the

Re: Space/outrigger suggestions

2010-12-17 Thread Wade Chandler
I don't know. Checks etc in this case, before calling read on the return or parameter type, just doesn't make any sense to me. If Jini returns an incorrect instance then it is simply in error per the specification. If you pass in a template, you expect to have that exact type, possibly an extens

Re: Space/outrigger suggestions

2010-12-17 Thread jgrahn
I suppose I should point out that the Javaspace specification does guarantee that the type returned in these cases is the type of the template. If something else is returned, then the space implementation is severely broken. That being the case, why should we ask users to check-and-cast? M

Re: datastructure classes

2010-12-17 Thread Mike McGrady
I concur. Sent from my iPhone Michael McGrady Principal investigator AF081_028 SBIR Chief Architect Topia Technology, Inc Work 1.253.572.9712 Cel 1.253.720.3365 On Dec 17, 2010, at 8:00 AM, Gregg Wonderly wrote: > On 12/16/2010 8:09 AM, Sim IJskes - QCG wrote: >> On 16-12-10 14:55, Patricia Sh

Re: Space/outrigger suggestions

2010-12-17 Thread Mike McGrady
I am inclined to agree but isn't there another better solution. Seems like there mist be but maybe not Sent from my iPhone Michael McGrady Principal investigator AF081_028 SBIR Chief Architect Topia Technology, Inc Work 1.253.572.9712 Cel 1.253.720.3365 On Dec 17, 2010, at 8:09 AM, Tom Hobbs

Re: Space/outrigger suggestions

2010-12-17 Thread jgrahn
I think we're approaching a common understanding. I'm familiar with type erasure, and am aware that my proposed method signature erases down to the current method signature. When I spoke of the additional specification power and type safety, I wasn't speaking at the byte-code level, but at the

Re: Space/outrigger suggestions

2010-12-17 Thread Tom Hobbs
I think the difference between generics vs not-generics in this case is to do with expectations. If generics are used on the method signature then the client developer *expects* not to encounter any runtime issues. In certain circumstances this expectation is incorrect. The method signature with

Re: datastructure classes

2010-12-17 Thread Gregg Wonderly
On 12/16/2010 8:09 AM, Sim IJskes - QCG wrote: On 16-12-10 14:55, Patricia Shanahan wrote: However, we should be able to do, say, hundreds of millions of transactions in a day in real-time critical systems such as the FAA or the stock market with data affinity and integrity and all the other "il

Re: Space/outrigger suggestions

2010-12-17 Thread Wade Chandler
- Original Message > From: Peter Firmstone > To: river-dev@incubator.apache.org > Sent: Fri, December 17, 2010 7:02:26 AM > Subject: Re: Space/outrigger suggestions > > jgr...@simulexinc.com wrote: > > public Entry read(Entry template, Transaction txn, long timeout); > > > > That is

Re: Hudson build is back to normal : River-verify #13

2010-12-17 Thread Sim IJskes - QCG
On 17-12-10 16:03, Tom Hobbs wrote: Good job Sim. Have a nice weekend. It is snowing here. Even a weatheralarm: "do not use the roads!". Same here, down in the South-East we've got literally *millimeters* of snow in places. Oh my. Start the snowplows! -- QCG, Software voor het MKB, 071-58

Re: Hudson build is back to normal : River-verify #13

2010-12-17 Thread Tom Hobbs
Good job Sim. > Have a nice weekend. It is snowing here. Even a weatheralarm: "do not use the > roads!". Same here, down in the South-East we've got literally *millimeters* of snow in places. On Fri, Dec 17, 2010 at 2:57 PM, Sim IJskes - QCG wrote: > On 17-12-10 15:50, Apache Hudson Server wro

Re: Hudson build is back to normal : River-verify #13

2010-12-17 Thread Sim IJskes - QCG
On 17-12-10 15:50, Apache Hudson Server wrote: See The river-runtime verifies ok against the sun-1.5 signatures. Not against the ibm-1.5 signatures. Filed a jira issue for it. Adapted the supported platforms page to reflect curren

Hudson build is back to normal : River-verify #13

2010-12-17 Thread Apache Hudson Server
See

Re: Space/outrigger suggestions

2010-12-17 Thread Peter Firmstone
jgr...@simulexinc.com wrote: public Entry read(Entry template, Transaction txn, long timeout); That is indeed the original/current method's signature. A couple of points. 1) "The client knows the []'s class type, the class cast isn't much work" is an argument against all generics, not just gene

Re: svn commit: r1050030 - /incubator/river/site/trunk/content/river/spec/

2010-12-17 Thread Tom Hobbs
Well, they're not exactly release notes and their not exactly specs. They're more like implementation details. Maybe a new directory "docs" and title the pages something else? "Implementation Details"? On Thu, Dec 16, 2010 at 4:51 PM, Sim IJskes - QCG wrote: > On 16-12-10 17:30, Tom Hobbs wrote