JSP Migrate to ASP.NET (ViewState and JavaBeans)

When I searching for something about “ViewState” in the MSDN Library this morning, an article with title “ViewState and JavaBeans (ASP.NET Technical Articles)” placed at #1 in the result set.

This is an interesting article firstly mention how to validate data input by user and persist form data for a page to post to itself after successful validation (Yes, that's called POSTBACK in ASP.NET) 

This article examinate a class implemented in JavaBean and usage in a JSP file, and then the migration process to ASP.NET Web form by using Java Language Conversion Assistant (JLCA).

The end of this article describes an “alternative” of JavaBean - ViewState (hidden field) in ASP.NET

If you're interested in JSP, JLCA and characteristics of ASP.NET ViewState, this article is a good read.

P.S. CodeNotes.com recently ported from Java to ASP.NET and it look promising, and a discussion board of the technical aspects of the conversion can be found at their CodeNotes forums.

No Comments