﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-超越自我-文章分类-J2EE</title><link>http://www.blogjava.net/jame-liu/category/7411.html</link><description>一切皆有可能</description><language>zh-cn</language><lastBuildDate>Wed, 28 Feb 2007 07:54:21 GMT</lastBuildDate><pubDate>Wed, 28 Feb 2007 07:54:21 GMT</pubDate><ttl>60</ttl><item><title>SOA 翻译</title><link>http://www.blogjava.net/jame-liu/articles/46657.html</link><dc:creator>jame</dc:creator><author>jame</author><pubDate>Wed, 17 May 2006 09:13:00 GMT</pubDate><guid>http://www.blogjava.net/jame-liu/articles/46657.html</guid><wfw:comment>http://www.blogjava.net/jame-liu/comments/46657.html</wfw:comment><comments>http://www.blogjava.net/jame-liu/articles/46657.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jame-liu/comments/commentRss/46657.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jame-liu/services/trackbacks/46657.html</trackback:ping><description><![CDATA[
		<p>一 .SOA定义<br />The main driver for SOA is to define an architectural approach that assists in the<br />flexible integration of IT systems. Organizations spend a considerable amount of<br />time and money trying to achieve rapid, flexible integration of IT systems across<br />all elements of the business cycle. The drivers behind this objective include:<br />SOA主要驱动是为了定义一个体系方法以此来增加在IT系统整合的伸缩性.通过业务周期的所有元素,可以花费一定量的时间和金钱迅速提升体系,IT系统整合的伸缩性.<br />为此驱动包括:<br />1&gt; Increasing the speed at which businesses can implement new products and<br />processes, can change existing ones, or can recombine them in new ways<br />加速业务实现新产品或者新流程,或改变现有,甚至能以新的方式组合它们.<br />2&gt; Reducing implementation and ownership costs of IT systems and the<br />integration between them<br />减少IT系统实现以及所有权的花费,减少系统之间整合.<br />3&gt; Enabling flexible pricing models by outsourcing more fine-grained elements of<br />the business than were previously possible or by moving from fixed to<br />variable pricing, based on transaction volumes<br />通过外部采购可伸缩性价值模型比以前更细粒度业务元素,甚至可以基于事务量从固定移动到可变价值<br />4&gt; Simplifying the integration work that is required by mergers and acquisitions<br />合并与需求需要简化整合工作.<br />5&gt; Achieving better IT utilization and return on investment<br />完成更好IT利用及其投资回报.<br />6&gt; Achieving implementation of business processes at a level that is<br />independent from the applications and platforms that are used to support the<br />processes<br />在某个级别上对业务流程实现,并从应用和平台中独立来支持流程.<br />SOA prescribes a set of design principles and an architectural approach to<br />achieve this rapid, flexible integration.<br />为了实现快速,可伸缩性整合,SOA 规定了一系列设计原理和一个结构体系方法</p>
		<p>二 .SOA体系方法<br />SOA is an integration architecture approach based on the concept of a service.<br />The business and infrastructure functions that are required to build distributed<br />systems are provided as services that collectively, or individually, deliver<br />application functionality to end-user applications or other services.<br />SOA specifies that within any given architecture, there should be a consistent<br />mechanism for services to communicate. That mechanism should be loosely<br />coupled and support the use of explicit interfaces.<br />SOA brings the benefits of loose coupling and encapsulation to integration at an<br />enterprise level. It applies successful concepts proved by Object Oriented<br />SOA是基于service概念整合体系方法.业务和基本结构运行需要创建分布式系统作为service,并提供共同或私有发布功能性的应用给<br />终端用户或其他service.SOA仅在任何给定体系指定,可能是从商业到通讯一致的service.商业可能是松散耦合,支持使用外部接口.<br />SOA提供松耦合行为和在企业级别封装整合.</p>
		<p>三 .</p>
<img src ="http://www.blogjava.net/jame-liu/aggbug/46657.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jame-liu/" target="_blank">jame</a> 2006-05-17 17:13 <a href="http://www.blogjava.net/jame-liu/articles/46657.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Flysky Mail的Opensource需求</title><link>http://www.blogjava.net/jame-liu/articles/31603.html</link><dc:creator>jame</dc:creator><author>jame</author><pubDate>Mon, 20 Feb 2006 03:01:00 GMT</pubDate><guid>http://www.blogjava.net/jame-liu/articles/31603.html</guid><wfw:comment>http://www.blogjava.net/jame-liu/comments/31603.html</wfw:comment><comments>http://www.blogjava.net/jame-liu/articles/31603.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jame-liu/comments/commentRss/31603.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jame-liu/services/trackbacks/31603.html</trackback:ping><description><![CDATA[<P>FlyskyMail是一个基于J2EE的一个Mail Client采用了RCP的UI设计.<BR>&nbsp;它的主要特点是:<BR>&nbsp;1.实现多介质存储<BR>&nbsp;2.实现定时发送<BR>&nbsp;3.通讯录管理<BR>&nbsp;4.过滤器定制<BR>&nbsp;5.系统托盘<BR>&nbsp;6.跨平台<BR>&nbsp;7.第三方接口<BR><BR>前期需求:<BR><BR>&nbsp; mail的基本功能包括:mail的收发,mail的HTML,TEXT的内容格式,已经带附件的收发,抄送,转发,回复,收条<BR>3.mail的存储<BR>&nbsp; mail的存储包括:LOCAL存储和DATABASE存储<BR>4.mail的群发<BR>&nbsp; mail的群发是指同时发送邮件(不是抄送)<BR>5.mail的定时发送<BR>&nbsp; mail可以在制定的时间发送,也可以周期发送.如,PM2:00发给JOHN一份MAIL<BR>6.mail的过滤器<BR>&nbsp; mail过滤器是对邮件的过滤,也可以定制过滤规则.<BR>7.通讯录<BR>&nbsp; mail的通讯录可以对发件人的信息记录,也对添加,修改通讯录.<BR>8.mail的邮箱<BR>&nbsp; 包括发件箱,收件箱,草稿箱,垃圾箱</P>
<P>产品的UI功能<BR>0.UI的布局界面<BR>&nbsp; UI布局包括:主界面,通讯录界面.<BR>&nbsp; 主界面 包括:邮箱列表,用户编辑区域(支持多窗口),详细列表区<BR>&nbsp; 通讯录界面 是一个DIALOG,可以对好友信息进行添加,编辑,删除等操作.<BR>1.配置的UI界面<BR>&nbsp; 新建邮箱WIZARD-可以新建邮箱已经对其配置.<BR>&nbsp; 配置邮箱DIALOG-可以对邮箱的存储等配置.<BR>&nbsp; 新建邮件WIZARD-可以对邮件进行配置.<BR>2.最小化托盘<BR>&nbsp; FLYSKYMAIL可以实现系统托盘的功能.</P><img src ="http://www.blogjava.net/jame-liu/aggbug/31603.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jame-liu/" target="_blank">jame</a> 2006-02-20 11:01 <a href="http://www.blogjava.net/jame-liu/articles/31603.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JAVA与UML(1)</title><link>http://www.blogjava.net/jame-liu/articles/30953.html</link><dc:creator>jame</dc:creator><author>jame</author><pubDate>Thu, 16 Feb 2006 03:50:00 GMT</pubDate><guid>http://www.blogjava.net/jame-liu/articles/30953.html</guid><wfw:comment>http://www.blogjava.net/jame-liu/comments/30953.html</wfw:comment><comments>http://www.blogjava.net/jame-liu/articles/30953.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jame-liu/comments/commentRss/30953.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jame-liu/services/trackbacks/30953.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: JAVA与UML1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UML和 软件工程1&gt;&nbsp;&nbsp;&nbsp;&nbsp; 增量和迭代(iterative and increamental)增量&nbsp;&nbsp;&nbsp; 数量,大小或者范围的增加;添加或获得某些东西;一系列有规则的增加或进步.迭代&nbsp;&nbsp;&n...&nbsp;&nbsp;<a href='http://www.blogjava.net/jame-liu/articles/30953.html'>阅读全文</a><img src ="http://www.blogjava.net/jame-liu/aggbug/30953.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jame-liu/" target="_blank">jame</a> 2006-02-16 11:50 <a href="http://www.blogjava.net/jame-liu/articles/30953.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>事务</title><link>http://www.blogjava.net/jame-liu/articles/30926.html</link><dc:creator>jame</dc:creator><author>jame</author><pubDate>Thu, 16 Feb 2006 02:36:00 GMT</pubDate><guid>http://www.blogjava.net/jame-liu/articles/30926.html</guid><wfw:comment>http://www.blogjava.net/jame-liu/comments/30926.html</wfw:comment><comments>http://www.blogjava.net/jame-liu/articles/30926.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jame-liu/comments/commentRss/30926.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jame-liu/services/trackbacks/30926.html</trackback:ping><description><![CDATA[1.什么是事务?<br />  事务是最小的工作单元,无论成功与否都作为整体工作.<br />  事务是有多个任务构成,每个任务都成功完成后事务才能够成功完成.否则事务失败将返回事务开始的状态.<br />2.事务的特性ACID<br />  1.atomic 原子性<br />  2.cosistent一致性<br />  3.Isolation孤立性<br />  4.Durability持久性<br />3.事务JAVA SAMPLE<br />  InitialContent ctx=new InitialContent();<br />  UserTransaction tran=(UserTransaction )ctx.lookup("java.comp/UserTransaction");<br />  //begin<br />  tran.begin();<br />  //transaction action<br />  //end<br />  tran.commit();<br /> 4.事务基本原理<br />  afterBegin 事务处理刚刚开始<br />  beforeCompletion 事务处理快要结束<br />  afterCompletion(boolean) 事务处理已经结束.boolean 是指提交了还是撤销了.<br />  5.事务管理器<br />  2PC(2 phase commit 两段提交)是事务管理器和资源管理器的一个交互机制.<br />  2pc的RDBMS必须支持XA-compliant.<br />PS: 通常JAVA在应用程序中使用driverManager建立连接Connection.但在J2EE中是使用DataSource来获得Connection 对象的.<br />  J2EE还提供了PooledConnection(连接池),它是从ConnectionPoolDataSource获得的.XADataSource和XAConnection 与之相关的子接口.<br /><br />  6.JTA<br />  API: javax.transaction<br />  7.JTS<br />  8.Hibernate的事务性<br />  9.JBPM的事务性<br /><img src ="http://www.blogjava.net/jame-liu/aggbug/30926.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jame-liu/" target="_blank">jame</a> 2006-02-16 10:36 <a href="http://www.blogjava.net/jame-liu/articles/30926.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JNDI</title><link>http://www.blogjava.net/jame-liu/articles/30652.html</link><dc:creator>jame</dc:creator><author>jame</author><pubDate>Tue, 14 Feb 2006 10:35:00 GMT</pubDate><guid>http://www.blogjava.net/jame-liu/articles/30652.html</guid><wfw:comment>http://www.blogjava.net/jame-liu/comments/30652.html</wfw:comment><comments>http://www.blogjava.net/jame-liu/articles/30652.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jame-liu/comments/commentRss/30652.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jame-liu/services/trackbacks/30652.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>LDAP</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Light Directory Access Protocol(</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">轻量级目录访问协议</SPAN><SPAN lang=EN-US>)</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录服务技术成为许多新型技术实现信息存储、管理和查询的首选方案，特别是在网络资源查找、</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用户访问控制与认证信息的查询、新型网络服务、网络安全、商务网的通用数据库服务和安全服务等方面，</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">都需要应用目录服务技术来实现一个通用、完善、应用简单和可以扩展的系统。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"></SPAN></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录服务就是按照树状信息组织模式，实现信息管理和服务接口的一种方法</SPAN><SPAN lang=EN-US>.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录服务系统一般由两部分组成：第一部分是数据库，一种分布式的数据库，且拥有一个描述数据的规划；<IMG alt="" hspace=0 src="E:\temp\My Pictures\jndi.JPG" align=baseline border=0></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第二部分则是访问和处理数据库有关的详细的访问协议。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>1.X.500</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>2.LDAP</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>java</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以通过</SPAN><SPAN lang=EN-US>JNDI</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">与底层命名服务通讯</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>JNDI</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>JNDI</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的结构图<BR></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><BR>Context ctx=new InitialContent();</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>//find</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>ctx.lookup(“test”);</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>//bind</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>ctx.bind(“test”);</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>//unbind</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>ctx.unbind(“test”);</SPAN></P><img src ="http://www.blogjava.net/jame-liu/aggbug/30652.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jame-liu/" target="_blank">jame</a> 2006-02-14 18:35 <a href="http://www.blogjava.net/jame-liu/articles/30652.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>