Now I understand you :-)
Hi Andrea,
I understood you. But it seems you didn't understand me :-)
Component rendering is currently not pluggable, i.e. you cannot set a
different strategy and any of the IXyzSettings and use different code
to do the rendering. Unless this is refactored to be plugga
All this parallelism thing is overrated, and in web apps in
particular, it's pretty irrelevant. Web apps already use parallelism:
requests are handled in parallel. This is the kind of thing that
server vendors must worry about, so that we don't.
The more CPUs/cores you have, the more simultaneous
for a webapp the parallelism sits in the users all connecting at the
same time to the same server
not the divide up pure request of that server. I don't think you will
gain anything and only get loads of threading issues in the page..
On Tue, Jul 5, 2011 at 17:52, Andrea Del Bene wrote:
> My fa
Hi Andrea,
I understood you. But it seems you didn't understand me :-)
Component rendering is currently not pluggable, i.e. you cannot set a
different strategy and any of the IXyzSettings and use different code
to do the rendering. Unless this is refactored to be pluggable there
is no sense to th
Parallelizing code is great when your single machine is
never under very heavy load (all worker threads used).
Under very heavy load, the parallelization management code
simply adds additional overhead (my experience).
To shed, throttle, rollback, checkpoint&freeze or migrate
(transactional?) task
hrm, dont think that is going to happen - at least not as far as page
rendering goes. i dont think anyone has cracked how to take code and
automatically figure out how to run it in parallel :)
-igor
On Tue, Jul 5, 2011 at 8:52 AM, Andrea Del Bene wrote:
> My fault Martin, I have not explained we
My fault Martin, I have not explained well myself. I try to summarize
what I wanted to say:
-Java 7 introduces some tools to implement Fork/Join parallelism (
http://en.wikipedia.org/wiki/Fork-join_queue )
-Should we adopt this pattern? Is Wicket ready for implementing such a
pattern?
Render
It's not a problem to keep supporting 'old' JDKs, if newer ones don't
give you any significant advantage.
When Java 8 comes out with closures, that would be a big reason to
break backwards compatibility (just like Java 5's generics). I don't
see any of this in Java 7.
Breaking compatibility just
:-)
The diamond notation is just about the declaration at the right side
of equals sign. This part is automatically typed for me by my IDE.
So I'd say it saves me some reading, not writing :-)
On Tue, Jul 5, 2011 at 3:16 PM, Johan Compagner wrote:
> the nice thing is that the diamond notation for
the nice thing is that the diamond notation for generics is working
out of the box when you can target 1.7 your self in your app.
Thats can be quite a bit lot less typing of characters in wicket apps.
On Tue, Jul 5, 2011 at 14:57, Martin Grigorov wrote:
> I'm saying only that JDK7 based solution
I'm saying only that JDK7 based solutions should be in a separate
module and pluggable.
If my application runs on JDK7 then I can replace the default
functionalityX (based on JDK5/6) with the improved one (based on
JDK7).
On Tue, Jul 5, 2011 at 2:52 PM, Andrea Del Bene wrote:
> Well, I wasn't exp
Well, I wasn't expecting a rapid or easy adoption of JDK7, but I think
that is useful starting to explore how to parallelize some of the
stages of Wicket's rendering pipeline. This could lead to a strong
performance gain in the future, with adoption of JDK7 or using a
parallel programming libr
>
> For Wicket 1.6 we can move to JDK6 but this will be discussed later.
> Usage of JDK7 for frameworks is not very close.
>
this is an understatement :)
wicket and java 7... my guess? more then 4 years...
But who knows if Oracle speeds it up (they say Java 8 next year..)
also the
I know, I was just mentioning what could be used of JDK 7 in advantage for
Wicket in a far far future. :-)
*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099
On Tue, Jul 5, 2011 at 9:26 AM, Martin Grigorov wrote:
> You know that Wicket still uses JDK 1.5 (not even 1.6) because many
> users
You know that Wicket still uses JDK 1.5 (not even 1.6) because many
users still use JDK1.5 and cannot upgrade to the newer.
So any improvements based on JDK7 should be out of wicket-core. They
can be plugged but the default impl should be 1.5 based.
For example you can create ModificationWatcher ba
Some internals of Wicket don't use collections. Take for instance
ResourceNameIterator.
But certainly there are some things that can be used, like the new File
watching API.
*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099
On Tue, Jul 5, 2011 at 9:04 AM, Andrea Del Bene wrote:
> I know i
I know it could sound a bit premature, but hasanyone starting to think
how improve Wicket with the new JDK? I think that the new concurrency
and collections API could help to speed up Wicket.
Has anyone run some tests?
17 matches
Mail list logo