Very attractive web tier framework Itsnat (a)

From 2002 to use struts, to later JSF (04 started to pay attention, but the sun was the realization of a very unstable, many insects, so kick the tires a), and now with spring MVC, has recently started to pay attention to the wicket, java community web framework is really too much, but toss to toss to the workload / complexity has not changed ...struts / springMVC ... very much the same, the basic specification in servlet mapping configuration to do some, MVC of responsibility at work, you mind has been the MVC / request page / handle request / generation reponse this chart, along with AJAX javascipt / CSS / html, tell the truth to write an application from is not easy ... Sometimes I feel the hand had see the news with the B / S to build enterprise applications is really abnormal thing.

Enjoy the swing-type event-based way of building UI, it is natural, it has been looking for a similar program web layer, there JSF, I felt some beautifully shy, JSF defines a very good life cycle model, event-based programming approach, rich component ... but really is complicated, because the page refreshes or go, so you have to engage in the life cycle of JSF is to understand, that JSF gives the impression that vehicles Mercedes-Benz, but is still within the use of tractors parts, you engage in to understand the internal mechanism of the problems encountered where the oil spill is estimated that only up to analyze were dumbfounded. And last year the project useful for SEAM (WEB layer based on richfaces) build the system failed because the JSF when the performance of this big complicated life difficult ... According to my colleagues in charge of the project, said colleagues because server-side component size too small too many concurrent came up after the render is very slow, and jboss message to the message to go or not solve the problem, so finally gave up, the way to express the will rub AJAX framework to refresh the page really make people sick of the idea ...

The following start tossing GWT, this stuff looks quite good, with EXT-GWT, out of the box components really Ling Lang everywhere, I see the flow of saliva, really Gouxuan bad, but very much with the next two shortcomings obviously, not natural, in writing java code, you have to always remember the mind is to convert the code in the browser-side javascript implementation, so the object to access server-side cover layer shells was very awkward, so GWT only solve the problem of programming language (do not like to write java javascript can change). And build up and really want to vomit blood, and 5 minutes is starting small projects, large project is estimated to go back outside, walk around, they can live with, leading to the eventual failure of the browser to load the first time, is simply a life, 15s ran up ... have to wait if the page refresh 15s, finally gave up ...

I'm looking for web tier program, hoping to meet a few characteristics, namely, a component / event model, the second is less / better not to write javascript, c is the view of the building is the OO way, the third point I would explain Most web frameworks are based on this template in the view, such as JSP, JSF now with facelet, are similar, with slightly more local-based template to replace / delete function to complete the template content (text) level of reuse, The large-scale projects in some very terrible, I hope is a component-based view, it can be controlled based on OO by API, so can be very convenient reuse.

To sleep, to be continued ...

分类:Java 时间:2010-11-06 人气:136
blog comments powered by Disqus


  • Difference between enterprise applications and Internet applications 2009-03-28

    New forms of enterprise application features:  Enterprise application system from a closed to an open, from the LAN to the Internet, along with stakeholders face a great expansion, new business applications require multi-browser support (IE, FireFox

  • Software development framework for enterprise applications on the master model 2009-09-19

    "Enterprise Application Architecture models (English)" - Author: Martin Fowler Over the years, Martin Fowler - The world-renowned master of software development - have witnessed a number of enterprise-class applications. These projects often con

  • In the jsp (SUN enterprise applications preferred) to send email 2010-07-12

    In the jsp (SUN enterprise applications preferred) to send email First, any support we can regulate the sun package jsp (SUN enterprise application of choice) engine (such as JSWDK) to send mail. (Warning: Use the built-in internal Sun s

  • Enterprise applications not CRUD 2011-07-25

    "Enterprise application is CRUD", I say, people who say this is too shameful. In enterprise applications, the most important is the data and business logic, business logic changes, data structures, algorithms, data display will change. So how in

  • [Change] using Spring and Apache CXF POJO Web services design and implementation, Part 1: Using CXF and Spring Create Web Services 2010-03-31

    September 18, 2008 Using the open source Apache CXF Web Services Framework can easily create traditional Java ™ objects (plain old Java object, POJO)-style Web services. This article is Part 1 of this series, will show you how to use Spring and CXF P

  • Address the needs of enterprise applications 2010-07-16

    User needs to solve practical problems that can help users set of solutions. After many years of enterprise project, the project found that the biggest risk comes from changes in user demand. Demand a risk to the greatest change due to demand for not

  • Enterprise Application Architecture (a) - elaborate hierarchical structure of enterprise applications 2011-03-26

    First large-scale enterprise applications to the general structure of three layers: presentation layer, the domain layer, the data source layer. Of which: Responsible for the presentation layer is only completed grade data and input and output, and a

  • Ajax传Jsond Mvc后台接收实例 2015-02-16

    Ajax传Jsond Mvc后台接收,前后台实现代码如下,感兴趣的朋友可以参考下哈,希望对大家有所帮助 //后台 [HttpPost] public JsonResult CheckStock(IEnumerable<pvIdsCount> pvIds) { } public class pvIdsCount { public int pvId { set; get; } public int count { set; get; } } //前台 $(document).ready(funct

  • What is a Web service in the end? Under what circumstances you should use the Web service 2010-04-05

    Look at the current application development, you will find an absolute trend: people started to prefer browser-based thin-client applications. This is certainly not because the thin clients to provide a better user interface, but because it can avoid

  • JSF+Seam框架学习心得 2012-03-09 我目前的项目前端使用的是JSF+Seam框架,目前项目已经进入尾声,我想把一些心得体会给大家说说,以便大家在使用JSF的时候,少走弯路. 1.异常处理问题:请为JSF加入Seam框架,看看Seam框架 - 无缝集成JSF,共三部分,里面告诉了你怎么在servlet容器下配合spring使用Seam,Seam不是一定要在ejb3和jboss下才可以使 用.因为单独使用JSF的话她的异常处理功能很简陋,跟踪不到你想看的地方,对于开发很不方便,你只

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 闽ICP备15018612号

processed in 0.037 (s). 13 q(s)