Is there an Updatepanel control (like ASp.net) in java
I am mainly a .net developer, now I am working on a java web project,
here i need to basically get values from the back end (for example 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 a refresh bar and use _doPostBack to refresh the bar without refreshing the whole page.
This may be a silly question, but im java newbie.
Any help / examples of doing the same would be greatly appreciated.
Thanks.
source to share
In Java, you would do something similar with JSF and a renderer like MyFaces or IceFaces . It will take a .NET developer considerable time to learn these technologies.
If you are going to use both .NET and Java, I recommend taking some time to get a good feel for jQuery and client programming. This knowledge can serve you in both worlds. It is a trivial task to implement the UpdatePanel functionality with jQuery. Just create a service that returns content and loads it using $ .load ().
source to share