既然你用resin就用xtp好了。看看resin的例子你就明白是如何提高开发效率的了。

解决方案 »

  1.   

    只有hax(海曦)肯捧场!
    是不是我的问题太弱了?
      

  2.   

    xml+xslt
    根据客户端的浏览器 选择相应的xslt对同一个xml进行装化 然后返回客户端
      

  3.   

    前台的数据组织,在提交前你可以用JScript将提交的数据转化为xml字符串,在后台提取数据时,转化为DOM树,这样可以见可能减少request.getParameter();,而且前后修改互不影响。
      

  4.   

    除了upc_chenli(chenli) 所讲的,还可以将系统中的特殊对象、角色的定义和描述使用XML来体现,这样系统维护中的修改更加方便!
      

  5.   

    upc_chenli(chenli)
    能否给个例子?
    我将另开帖送上100!
      

  6.   

    imho, apps that contain only simple logic such as CRUD and represented with single UI need not use XML actually. If you do need, just use it to drscribe your configurations, etc. The power of XML in ent. apps is located in data transformation and flow control. And to use XML, you should also learn more about technologies related, such as XSL/XPath. 
    For java developers, they may know applying patterns into their apps. Using XML may mean a kind of pattern that could makes apps flexible and configuable without too many hard-code. Shortly, change XML is better than change source code, right?
      

  7.   

    xml做b/s结构真正的好处是处理大数据问题例如一下查询上g的数据时可以采用xml流下栽到本地在本地排细,更新。
      

  8.   

    根据客户端的浏览器 选择相应的xslt对同一个xml进行装化 然后返回客户端在总方法只适合模块化编程例如cocoon