We are kind of middle of deciding go to with which framework.Can some one help. 
On high level, we have an application where data gets from webservices and is 
displayed to user thru JSP.  the webservices access is done thru Axis and the 
proxy class generated are used on JSP side. Each proxy class holds data 
specific to businesslogic. In order to access these data , it looks like we 
need to create a form bean exactly to match with proxy class for accessing at 
JSP.  Is there any way around creating a formbean for each dataclass?? 

for example: in JSP we have

<%

 LineInfo[]  infos = LineBean.GetAllLines();

%>

<form>

        <% for (int = 0;  i < infos.length; i++) %{>

                <input type=text  value = infos[i].LineNo>

                <input type=text  value = infos[i].UserName>

             <% }%>>

</form>

 

how can this be done using struts. Do we need to create a  LineInfoFormBean ?? 
THe LineInfo is a proxy generated data class, if we have to create a FormBean 
for each dataclass, then it would be very in efficient and this would be 
duplicate of get/set from data class. Is is possible??   I heard the same can 
be easily using Spring.  Any ideas, which one is best suits here.

Thanks in advance.




                
---------------------------------
Celebrate Yahoo!'s 10th Birthday! 
 Yahoo! Netrospective: 100 Moments of the Web 

Reply via email to