[ANN] Java Web Parts release

2005-06-19 Thread Frank W. Zammetti
Thought this might be of interest to some... The Java Web Parts SF project I began had its first release this weekend. It's a pre-alpha, but my thinking is to put out smaller releases as frequently as possible so that, theoretically at least, the code will be more solid when a GA release come

Re: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Laurie Harper
Yaakov Chaikin wrote: As for the question, I'd expect a null object reference to be 24 bit, which should be smaller than most primitives. That's useful info. How do you know this? I just want some way to verify this. "24 bit" didn't sound likely to me, so I checked. Compare the serialized fo

Re: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Yaakov Chaikin
Leon, See inline. > Aehm... Sorry for my incompetence, but what is a VO-model? Value Object model, sometimes referred to as DTO (Data Transfer Object). > As for the question, I'd expect a null object reference to be 24 bit, which > should be smaller than most primitives. That's useful info. Ho

AW: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Leon Rosenberg
Aehm... Sorry for my incompetence, but what is a VO-model? As for the question, I'd expect a null object reference to be 24 bit, which should be smaller than most primitives. Other question, why don't you develop an object hierarchy, where each subobject in the hierarchy contains exactly the info

AW: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Leon Rosenberg
Aehm... Sorry for my incompetence, but what is a VO-model? As for the question, I'd expect a null object reference to be 24 bit, which should be smaller than most primitives. Other question, why don't you develop an object hierarchy, where each subobject in the hierarchy contains exactly the info

Re: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Yaakov Chaikin
Well, the point we were shooting for on this project is to go away from the "per screen" Vo structure and move to "domain/business model Vo structure." Primitive vs Object is really a side point. Since we are not custom coding a Vo per a particular screen, we don't to carry around ANY values for fi

Re: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Laurie Harper
I would expect the performance of serializing a null object reference to be trivially different than serializing a primitive value. In fact it may be slightly worse due to the overhead of writeObject(). Unless you're doing a hell of a lot of serialization and profiling has shown that it's caus

struts database menu question urgent

2005-06-19 Thread Vicky
I am using strus database menu verson 2.3. Having real hard time with my less knoledge of java script in figuring out the work around of my problems. I have nearly 2,000 elements in the tree, which gets generated from database. I have following issues. 1)I am using velocity template from strus da

[OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Yaakov Chaikin
Hi all, I have the following situation. I have a Vo model that is in essence a domain/business object model. Of course, a particular screen doesn't need the entire model to be loaded with data. So, what I was thinking is 1) Make all class variables objects (as opposed to primitives, most are objec

wildcards in tiles definitions?

2005-06-19 Thread Thomas Corte
Hi, being a lazy programmer, I was pleased to see that wildcards in strust-config.xml allow the definition of generic mappings, capable of handling multiple use cases of similar type. Using Tiles, I'm now wondering whether the same mechanism is available for Tiles definitions. The docs don't

Re: HTML file generated by JSP is truncated...why?...Please help!...source attached

2005-06-19 Thread O. Oke
Thank you very much. I am already using Tiles, but I will explore further,in line with your suggestion. O'Dele Oke. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > You're running into a limitation of the JVM I think. > Java classes can > only have a maximum of 64Kb (?) data heap. If you > h

additional attributes for struts html tags

2005-06-19 Thread Sven Rottenbiller
Hallo, I have submitted some patches to bugzilla for struts html taglib to support additional attributes (like wrap for textarea). results to Please check and comment. Sven