<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>fortaotao</title>
    <description></description>
    <link>http://fortaotao.javaeye.com</link>
    <language>UTF-8</language>
    <copyright>Copyright 2003-2008, JavaEye.com</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>JavaEye - 做最棒的软件开发交流社区</generator>
      <item>
        <title>从此不敢自称架构师</title>
        <author>fortaotao</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://fortaotao.javaeye.com">fortaotao</a>&nbsp;
          链接：<a href="http://fortaotao.javaeye.com/blog/197761" style="color:red;">http://fortaotao.javaeye.com/blog/197761</a>&nbsp;
          发表时间: 2008年05月28日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          合格的架构师必须达到以下要求。<br />The Senior Solution Architect (Systems) has a broad range of technical skills on systems solution. He/she involves leading the architecting and designing of systems solution consisting of Server, Blades, cluster, and management. <br /><br />The Architect has overall responsibility for gathering customer's business requirements, translating those requirements into cost-effective solution, strategies, architectures, and guiding the implementation of those solutions to deliver high quality outcomes to meet or exceed customer expectations in a timely manner. <br /><br /><br />  Responsibilities and Accountabilities: <br />-Develop trusted advisor status with customers and provide technical leadership in architecting technical solution for customers. <br /><br />-Act as lead architect, or as a member of a team of Architects to lead and oversee solution implementation and project delivery, including creation of detailed designs of storage solution. <br /><br />-May assume a quality assurance role on one or more engagements to ensure that solution design or architectures proposed and implemented are in accordance with current best practices and standards. <br /><br />-Provide support to Project Manager to perform technical planning, requirements gathering, analysis, architecture, design, development, testing and deployment tasks <br /><br />-During presales phase, assess the feasibility of providing systems solutions that meet customers requirements, given time and budgetary constraints, limited resources and understanding of abilities of the team. <br /><br />-During presales and bidding phase, provide responsive and quality technical assistance to account teams as a subject matter expert, with opportunity qualification, solution scoping, cost estimation, technical risk assessment, and overall solution formulation. <br /><br />-Prepare and deliver persuasive technical presentations to support bid efforts. <br /><br />-Lead technical demonstrations and proof-of-concept efforts. <br /><br />-Act as a local or regional expert in one or more technical focus areas, and provide mentoring to junior consultants or architects. <br /><br />-Undertake research, capture, development and dissemination of best practices through technical community collaboration, white-paper authoring, solution development and intellectual property reuse. <br /><br />-At least 15 years of IT experience with 8 years of solid experience in the capacity of Solution Architect and track record in system integrator or multi-national vendor environment. <br /><br />-A self starter and team player with excellent analytical and troubleshooting skills. <br /><br />-Display high levels of energy and drive, thrives under pressure, with strong business acumen, strong process orientation and excellent verbal and written communication skills <br /><br />-Solid experience in entire project implementation life-cycle. <br />Good understanding of Data Center solution business drivers (e.g. eco, security, high availability, disaster recovery) <br /><br />-Excellent technology background and skills in Data Center Solutions: relocation, consolidation, optimization, virtualization <br /><br />-Project experience with Systems products (open system or mainframe), preferably from Sun, IBM, HP. <br /><br />-Willing to travel within Greater China to support business and project delivery activities.
          <br/>
          <span style="color:red;">
            <a href="http://fortaotao.javaeye.com/blog/197761#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/97' target='_blank'><span style="color:blue;font-weight:bold;">Oracle专区上线，有Oracle最新文章，重要下载及知识库等精彩内容，欢迎访问。</span></a></li><li><a href='/adverts/106' target='_blank'><span style="color:blue;font-weight:bold;">JavaEye问答大赛开始了！ 从6月23日 至 7月6日，奖品丰厚 ！</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/92' target='_blank'><span style="color:red;font-weight:bold;">快来参加7月17日在成都举行的SOA中国技术论坛</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Wed, 28 May 2008 10:31:17 +0800</pubDate>
        <link>http://fortaotao.javaeye.com/blog/197761</link>
        <guid>http://fortaotao.javaeye.com/blog/197761</guid>
      </item>
      <item>
        <title>Spring多视图并存比较好的解决方案</title>
        <author>fortaotao</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://fortaotao.javaeye.com">fortaotao</a>&nbsp;
          链接：<a href="http://fortaotao.javaeye.com/blog/154675" style="color:red;">http://fortaotao.javaeye.com/blog/154675</a>&nbsp;
          发表时间: 2008年01月10日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          网上搜了下资料，自己也实战了下。分享一下。<br />传统的web.xml写法不变，如下为相关配置信息：<br /><pre name="code" class="java">
&lt;servlet>  
  &lt;servlet-name>myportal&lt;/servlet-name>  
  &lt;servlet-class>
org.springframework.web.servlet.DispatcherServlet
  &lt;/servlet-class>  
  &lt;load-on-startup>1&lt;/load-on-startup>  
&lt;/servlet>  
&lt;servlet-mapping>  
  &lt;servlet-name>myportal&lt;/servlet-name>  
  &lt;url-pattern>*.html&lt;/url-pattern>  
&lt;/servlet-mapping>
</pre><br />之所以将url-pattern配置成*.html，一是隐藏技术实现，二是增加搜索引擎的搜索概率。看个人爱好。<br />关键是对应的myportal-servlet.xml文件中的配置.<br /><pre name="code" class="java">
&lt;bean id="viewResolver" class="com.myportal.web.core.MultipleViewResolver">
    &lt;property name="resolvers">
        &lt;map>
            &lt;entry key="jsp">
                &lt;bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
                    &lt;property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />
			        &lt;property name="prefix">  
			            &lt;value>/WEB-INF/jsp/&lt;/value>  
			        &lt;/property>  
                &lt;/bean>
            &lt;/entry>
            
            &lt;entry key="vm">
                &lt;bean class="org.springframework.web.servlet.view.velocity.VelocityViewResolver">
                    &lt;property name="contentType" value="text/html;charset=UTF-8" />
                &lt;/bean>
            &lt;/entry>
        &lt;/map>
    &lt;/property>
&lt;/bean>
</pre><br />然后大家在自己的Controller类里面必须返回如下视图:new ModelAndView("test.jsp");或者new ModelAndView("test.vm");<br />最后是自己写的ViewResolver，如下：<br /><pre name="code" class="java">
public class MultipleViewResolver implements ViewResolver
{
	private Map&lt;String, ViewResolver> resolvers;
    public void setResolvers(Map&lt;String, ViewResolver> resolvers) 
    {
        this.resolvers = resolvers;
    }

public View resolveViewName(String viewName, Locale locale)        throws Exception {
		 int n = viewName.lastIndexOf(".");

	        if(n==(-1)) return null;

	        // 获得扩展名:

	        String suffix = viewName.substring(n+1);

	        // 取出对应的ViewResolver:

	        ViewResolver resolver = resolvers.get(suffix);

	        if(resolver!=null)

	            return resolver.resolveViewName(viewName, locale);

	        // 没有找到对应的ViewResolver就抛异常:

	        return null;

	}

}
</pre><br />当然，大家可以对自己写的ViewResovler进行功能上的丰富，比如：设定默认的视图解析为jsp，那你的Controller的View就可以偷懒写成new ModelAndView("test")了。基本功能有了，完善慢慢来。
          <br/>
          <span style="color:red;">
            <a href="http://fortaotao.javaeye.com/blog/154675#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/106' target='_blank'><span style="color:blue;font-weight:bold;">JavaEye问答大赛开始了！ 从6月23日 至 7月6日，奖品丰厚 ！</span></a></li><li><a href='/adverts/97' target='_blank'><span style="color:blue;font-weight:bold;">Oracle专区上线，有Oracle最新文章，重要下载及知识库等精彩内容，欢迎访问。</span></a></li><li><a href='/adverts/92' target='_blank'><span style="color:red;font-weight:bold;">快来参加7月17日在成都举行的SOA中国技术论坛</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 10 Jan 2008 11:51:55 +0800</pubDate>
        <link>http://fortaotao.javaeye.com/blog/154675</link>
        <guid>http://fortaotao.javaeye.com/blog/154675</guid>
      </item>
  </channel>
</rss>