Terrocotta »ùÓÚJVMµÄJavaÓ¦Óü¯Èº½â¾ö·½°¸
Ô½À´Ô½¶àµÄÆóÒµ¹Ø¼üÓ¦Óö¼±ØÐë²ÉÓü¯Èº¼¼Êõ£¬ÊµÏÖ¸ºÔؾùºâ£¨Load Balancing£©¡¢ÈÝ´í£¨Fault Tolerance£©ºÍÔÖÄѻָ´£¨Failover£©¡£ÒԴﵽϵͳ¿ÉÓÃÐÔ£¨High Availability£©ºÍ¿ÉÉìËõÐÔ£¨Scalability£©µÄÒªÇó¡£
¹ØÓÚJ2EE¼¯Èº¼¼ÊõµÄ»ù±¾ÔÀíºÍ³£ÓÃʵÏÖ·½Ê½£¬TheServerSide.comÓÐһƪ¾µäµÄÎÄÕ£º
http://www.theserverside.com/tt/articles/article.tss?l=J2EEClustering
CSDNÉÏ£¬ÌÕ½¨·çÏÈÉúÔÚËûµÄ²©¿ÍÖÐÒ²×÷ÁË·Ò룺
http://blog.csdn.net/ESoftWind/archive/2006/10/19/1341089.aspx
ÕâƪÎÄÕÂËäÈ»·¢±íÓÚ2005Ä꣬µ«Ëü¶Ô¼¯Èº¼¼ÊõµÄ¸ÅÄî¡¢ÔÀíºÍʵÏֵĻù±¾ÃèÊöÖÁ½ñÒÀÈ»ÊÊÓ᣸ոսӴ¥¼¯Èº¼¼ÊõµÄÅóÓѲ»·ÁÔĶÁÒ»ÏÂÕâƪÎÄÕ£¬ÒÔ±ãÕÆÎÕ¼¯Èº¼¼ÊõµÄ»ù±¾ÖªÊ¶¡£
ÎÒдÕâƪÎÄÕÂÊÇÏë½éÉÜÒ»¸öеÄJava¼¯Èº¼¼Êõ£¬Terracotta¡£Ëü²ÉÓÃÁËÓëÖÚ²»Í¬µÄÊֶΣ¬½â¾öÁË´«Í³¼¯Èº¼¼ÊõÃæÁÙµÄһЩ¹Ø¼üÎÊÌâ¡£¿ÉÒÔ˵ΪJava¼¯Èº¼¼ÊõµÄʵÏÖ´µÀ´ÁËÒ»¹ÉÐÂÏʵĿÕÆø¡£
Terracotta£¨http://terracotta.org/£©ÊÇÒ»¸ö¿ªÔ´µÄ¿ò¼Ü¡£ËûµÄ´´Ê¼ÈËAri
ZilkaÔ±¾ÊÇWalmat.comµÄÊ×ϯ¼Ü¹¹Ê¦¡£ËûÓÚ2003Äê³ÉÁ¢Terracotta¹«Ë¾£¬²¢ÇÒ½«²úÆ·¿ªÔ´¡£¸Ã²úÆ·ÔÚ2006Äê×óÓÒÇ÷ÓÚ³ÉÊ죬ÔÚ
ºÜ¶à²Æ¸»500Ç¿ÆóÒµ»ñµÃ³É¹¦Ó¦Óá£2009ÄêTerracottaÔÚ¸ÃÄê¶ÈµÄJavaOne»áÒéÖлñµÃDuke½±£¬²¢ÓÉJava´´Ê¼ÈËJames
GoslingÏÈÉúÇ××԰Ѹý±°ä·¢¸øÁËAri ZilkaÏÈÉú¡£
±¾ÎÄ×ÅÖؽéÉÜTerracotta¼¼ÊõµÄ»ù±¾ÔÀí£¬ÓÈÆäÊÇËüÓëÆäËü¼¯Èº¼¼ÊõµÄ¸ù±¾Çø±ðÖ®´¦¡£È»ºó»áÓÃÒ»¸ö¼òµ¥µÄÀý×Ó˵Ã÷TerracottaµÄ»ù±¾Ê¹Ó÷½Ê½¡£ÔÚÒÔºóµÄÎÄÕÂÀÎÒ»á½ÐøÏêϸ½éÉÜTerrocottaµÄ²»Í¬Ó¦Óó¡¾°ºÍ¼¼ÇÉ¡£
»ù±¾ÔÀí
Terracotta×î´óµÄÌصãÊÇËüʹÓÃJava¶þ½øÖÆ´úÂëÔöÇ¿µÄ·½Ê½£¨binary code
injection£©½Ø»ñ¼¯Èº½Úµã¶ÔÊý¾ÝµÄÐ޸ĺͻñÈ¡µÄÇëÇó£¬ÀûÓõ¥¶ÀµÄTerracotta·þÎñÆ÷µ÷ÅäÊý¾ÝµÄÁ÷Ïò£¬ÒÔ´ïµ½×î¸ßµÄÍøÂçЧÂÊ¡£ÕâÁ½µã¿ÉÒÔ˵
ÊÇÓ봫ͳ¼¯Èº¼¼Êõ²ÉÓõÄÐòÁл¯ºÍÍøÂç¹ã²¥»úÖÆÔÚʵÏÖ˼·Éϵĸù±¾²»Í¬¡£ÁíÍâ´Ó¿ª·¢ÈËÔ±½Ç¶ÈÀ´Ëµ£¬TeraccottaÒþ²ØÔÚJava
APIÖ®ºó£¬¿ª·¢ÈËÔ±²»ÐèҪѧϰеÄAPI¡£Ö»ÐèҪʹÓñê×¼µÄJDKÊý¾Ý½á¹¹£¨java.util.*,
java.concurent.*µÈ£©¡¢ÄÚÖÃJavaÐͬ¡¢¼ÓËø»úÖÆ£¨synchronized, object.wait,
object.notifyµÈ£©¿ª·¢´úÂ룬ÔÚTerracottaƽ̨֮ÉϾͿÉÒ԰ѵ¥»ú»ùÓÚPOJOµÄÓ¦ÓÃÀ©Õ¹µ½¶à»ú¼¯ÈºÉÏ¡£Òò´Ë¿ª·¢ÈËÔ±µÄѧϰÇúÏߺÜ
¶Ì¡£
Terracotta¼¯Èº·½°¸ÓÉÁ½²¿·Ö×é³É:TerracottaÇý¶¯Æ÷ºÍTerracotta·þÎñÆ÷£º
ÆäÖÐÇý¶¯Æ÷²¿·Ö£¨Ò²³ÆΪTerracotta¿Í»§¶Ë£©Ó
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
JavaÀ¬»ø»ØÊÕµ÷ÓÅ
ÔÚJavaÖУ¬Í¨³£Í¨Ñ¶ÀàÐ͵ķþÎñÆ÷¶ÔGC(Garbage Collection)±È½ÏÃô¸Ð¡£Í¨³£Í¨Ñ¶·þÎñÆ÷ÿÃëÐèÒª´¦Àí´óÁ¿½ø³öµÄÊý¾Ý°ü£¬ÐèÒª½âÎö£¬·Ö½â³É²»Í¬µÄÒµÎñÂß¼¶ÔÏó²¢×öÏà¹ØµÄÒµÎñ´¦Àí£¬ÕâÑù»áµ¼Ö´óÁ¿µÄÁÙʱ¶ÔÏó±»´´½¨ºÍ»ØÊÕ¡£Í¬Ê±·þÎñÆ÷Èç¹ûÐèҪͬʱ±£´æÓû§×´Ì¬µÄ»°£¬ÓÖ»á²úÉúºÜ¶àÓÀ¾ÃµÄ¶ÔÏ󣬱ÈÈçÓû§session¡£Ò ......
ºÃ¾ÃÁË£¬¶¼ÏëÏòѧϰJAVAµÄÐÂÈËдµã¶«Î÷£¬ÒòΪÎÒʵÔÚ¿´²»ÏÂÈ¥ÁË£¬¿´²»ÏÂÈ¥ºÜ¶àÎóµ¼JAVAѧϰÕߵĹ۵㣬±é¼°ÌìÏ£¡ÍøÂçÈúõĶ«Î÷Á÷ÐУ¬¿ÉÊÇÍùÍùÒ²ÈôíµÄ¶«Î÷³öÏֵĴÎÊý¶àÁ˱äµÄºÃÏñÕýÈ·ÁË£¬ÈýÈ˳ɻ¢£¬Ö¸Â¹ÎªÂíËƺõÔÚÍøÂçÀï¸ü¼ÓÈÝÒ×·¢Éú£¬ºÃÁË·Ï»°²»Ëµ£¬Çë¿´ÎÒϸϸÏòÄãµÀÀ´¡£
ÃØÃÜÒ»£¬Ñ§Ï°JAVAºÃδ±Ø¿ÉÒÔ ......
01. ˵³öArrayList,VectorµÄÇø±ð£¬HashMapºÍHashtableµÄÇø±ð¡£
02. final, finally, finalizeµÄÇø±ð¡£
03. abstract classºÍinterfaceÓÐʲôÇø±ð?
04. ʲôʱºòÓÃassert¡£
05. GCÊÇʲô? ΪʲôҪÓÐGC?&nb ......
ѧϰÁËÏß³Ì,ÏòÁ¿·ºÐͱà³Ì,¿ÉÒÔͨ¹ýÒ»¸öʵÀýÀ´Ó¦ÓÃËùѧ֪ʶ,±¾¿ÎʵÏÖÁ˾µäÓÎϷ̰ʳÉß,×ÔÈÏΪ½á¹¹»¹ËãºÏÀíÓÚ2009Äê8ÔÂ12ÈÕ,16:05·Ö
ʵÏÖ̰ʳÉßµÄ˼·
1¡£Ê×Ïȶ¨Òå´°¿Ú200X400 £¬ÊµÏÖ¿ØÖÆ1¸ö¾ØÐη½¿é20X20
2¡£Í¨¹ý°´¼ü¿ØÖÆ·½¿éÒƶ¯
3¡£ÊµÏÖÏ߳̿ØÖÆ·½¿éÒƶ¯Ã¿´ÎÒ»¸ñ(20X20),ͨ¹ý°´¼ü¸Ä±ä·½Ïò
......