Open Source Thoughts

来源: BlogBus 原始链接: http://www.blogbus.com:80/blogbus/blog/index.php?blogid=6707&pg=4&cat= 存档链接: https://web.archive.org/web/20041125031722id_/http://www.blogbus.com:80/blogbus/blog/index.php?blogid=6707&pg=4&cat=


Open Source Thoughts The more work you have done, the more you are allowed to do. Do One Thing, and Do It Well. Ê×Ò³ OpenSource (21) Java (4) XP&AM (2) Wireless (0) JFox (4) JFoxSOAF (2) ·ÖÒ³: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] ×îºóÒ³ 2004-10-11 23:30 Simple Service-Oriented Motif In Core J2EE™ Patterns: Best Practices and Design Strategies, Second Edition Chapter 7. Business Tier Patterns presentate a good pattern Application Service for service-oriented programming approach Problem Centralize business logic across several business-tier components and services. Solution Use an Service to centralize and aggregate behavior to provide a uniform service layer. BusinessObject BusinessObject represents instances of Business Objects that the Service can access to perform a service. Typically, an Service accesses multiple BusinessObjects in order to fulfill a service request. DataAccessObject DataAccessObject represents instances of Data Access Objects for those scenarios where the ApplicationService directly accesses the business data without using a BusinessObject . Service Or Application Service Different granularity service represents an arbitrary component that provides any service in the applications. These can be common functions or utilities that are frequently used to aid the processing of a business-tier service request. Implementing Services as POJOs is more common because it enhances reusability of the control logic across different clients, facilitates, and easy to test out of container. When you need distributed capability, just add a remote session facade. Here is to simple service-oriented Motif founder_chen @ 23:30 | ÔĶÁÈ«ÎÄ | ÆÀÂÛ(0) | ÒýÓÃTrackback(0) | ±à¼­ 2004-10-09 23:38 Service-Oriented Application Framework FangJian Wu has writen a good simple service-oriented application framework artile with the name Xiangnong 18 Plam --- a legendary powerful Chinese kung fu , it is with simple goals and esay to understand. To be honest, I don't like Spring Bean Container with setter(getter)injection very much, espically in a multi-player, large-scale project. For example, if you have thousands of class, maybe you will have thouands of XML configration file, you have to read some code, then take a look at the configration file , then turn back again. It's boring, it's not a good way in collaboration developement environment. and the code logic is hard for programmers(especialy for newbie) to follow quickly. Although J2EE is a good enterprise architecture, JavaBean and EJB is not OO-natural, so I can't understand why Rod Johnson still continute to bring this bad behavior into Spring (Bean Managed Container), Well, I prefer PicoContainer style - constructor injection, it's more programming natural. In my new project JFoxSOAF(Service-Oriented Application Framework) which have been used in 6 real commerical project, I have brought service-oriented programming idea to it. every layer service can be deployed on IoC Container as a boundary service. In Martin Flower's PoEEA Service Layer Design is good start What's a good application framework? . Simple and easy to use . Shared standard based - Integrate numerous other open source projects (not reinvent new wheel) . Make J2EE easier to use and promote good programming practice . Portability from app server to app server . • Reduced risk in project deployment • . Application depend on as few of its APIs as possible • . Applications are easy to test with JUnit • . Large and multi-player project support founder_chen @ 23:38 | ÔĶÁÈ«ÎÄ | ÆÀÂÛ(1) | ÒýÓÃTrackback(0) | ±à¼­ ÈÕÀú 2004 Äê 11 Ô Sun Mon Tue Wen Thu Fri Sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ×î½ü¸üРPresentation at 2th China Software Conference Go BEA dev2dev Chinese Day JFoxSOAF 1.0-M1 Release My Paper Published Meet Huihoo In BeiJing, :) The Next Big Thing - Open Source ESB Simple Service-Oriented Motif Service-Oriented Application Framework Enterprise Open Source Reference Architecture OpenSource Dev Tools & Simple Practice ×îÐÂÆÀÂÛ Vege : ºÇºÇºÇ£¬ÊÂÒµÕæÊÇ. ±ùÔÆ : ÔùƱÔùƱ~~ ¸ãÒ»Ð. toidi_asdd : Congratulate!!!. founder_chen : ÎÒÏÖÔÚ¸Õµ½±±¾©2. ±ùÔÆ : MSN:icecloud@sin. founder_chen : ²»»á°É£¬ÔÚhuihoo. ±ùÔÆ : 55555,Ôõô²»Ôçͨ. dreamhead : ÔËÓÃSpringÒ²ÓÐÒ». Vege : àÀàÀ£¬ÕâÖÖÕñ·ÜµÄ. founder_chen : ÎÒÒѾ­°ÑÄãµÄÓʼþ. ´æµµ Open Source Thoughts (EN) Huihoo Enterprise Open Source Free Software Foundation Huihoo Open Source Middleware The ServerSide.COM JFox Live ! ÎÒµÄÁ´½Ó ³Á˼Õß ÃÎÏë·ç±© ͸Ã÷˼¿¼ ÎÞÑÄ×Ó ±ùÔÆ XSource Sharing Random Thoughts Enterprise J2ME Richard Monson-Haefel Pyrasun Alexwinston Enterprise Open Source Bill Day Tug Cameron javangelist Lawrence Lessig Michael Chen Talk2TheWorld SourceBeta The Aspects Blog Joe Walnes PragDave Architecture Corner Adam Bosworth James Strachan James Gosling Jian Hua Rapid Chaunt Travel Simon Brown Debu Panda Raible Design Robert C. Martin Ted Neward