Q:

Is there an Updatepanel control (like ASp.net) in java

Im basically a .net developer, I am now working on a java web project,
here i need to basically get values from the back end (say generating a random number) and update that random number every second on the front end, i want to use jquery for this,
in ASP.net, i know that I can have an updatepanel and use _doPostBack to update the panel without refreshing the whole page. 
It might be a stupid question but im a java newbie.
Any help/examples of something that does the same would be greatly appreciated.
Thanks. 

A:

In Java you would do something like this with JSF and a rendering kit like MyFaces or IceFaces. A .NET developer would need considerable time to learn these technologies.
If you are going to use both .NET and Java, I recommend to invest some time to learn jQuery and client programming really well. This knowledge can serve you in both worlds. It is a trivial task to implement UpdatePanel functionality with jQuery. Just create a service that returns the content and load it with $.load().

