jbpm4°²×°ÔÚÒÑÓеÄtomcatÓëmysqlÏÂ
1.JBPM4.3ÏÂÔØ(http://sourceforge.net/projects/jbpm)
2.ant°²×°:jBPMÏÂÔØ°üinstallĿ¼ÖÐÓÐÒ»¸öantµÄbuild.xmlÎļþ,ʹÓÃant -pÄã¿ÉÒÔ¿´µ½ËùÓеݲװ
demo.setup.jboss£º°²×°jboss£¬°Ñjbpm°²×°µ½jbossÖУ¬ Æô¶¯jboss£¬´´½¨jbpmÊý¾Ý¿â±í½á¹¹£¬²¿ÊðʵÀý£¬¼ÓÔØʵÀýÉí·ÝÈÏÖ¤ÐÅÏ¢£¬ °²×°²¢Æô¶¯eclipse
demo.setup.tomcat£º°²×°tomcat£¬°Ñjboss°²×°µ½tomcatÖУ¬ Æô¶¯tomcat£¬´´½¨jbpmÊý¾Ý¿â±í½á¹¹£¬²¿ÊðʵÀý£¬¼ÓÔØʵÀýÉí·ÝÈÏÖ¤ÐÅÏ¢£¬ °²×°²¢Æô¶¯eclipse
clean.cfg.dir£ºÉ¾³ý${jbpm.home}/install/generated/cfg Îļþ¼Ð¡£
create.cfg£º´´½¨Ò»¸öÅäÖÃÔÚ ${jbpm.home}/install/generated/cfgÏ£¬»ùÓÚµ±Ç°µÄ²ÎÊý¡£
create.jbpm.schema£ºÔÚÊý¾Ý¿âÖд´½¨jbpm±í
create.user.webapp´´½¨Ò»¸ö»ù±¾µÄwebappÔÚ ${jbpm.home}/install/generated/user-webappÖÐ
delete.jboss£ºÉ¾³ý°²×°µÄjboss
delete.tomcat£ºÉ¾³ý°²×°µÄTomcat
demo.teardown.jboss£ºÉ¾³ýjbpmÊý¾Ý¿âµÄ±í²¢Í£Ö¹jboss
demo.teardown.tomcat£ºÍ£Ö¹tomcatºÍhsqldb·þÎñÆ÷£¨Èç¹ûÐèÒª£©
drop.jbpm.schema£º´ÓÊý¾Ý¿âÖÐɾ³ýjbpmµÄ±í
get.eclipse£ºÏÂÔØeclipseÈç¹ûËü²»´æÔÚ
get.jboss£ºÏÂÔØÒ»¸öJBoss AS£¬ÒѾ²âÊÔ¹ýµ±Ç°µÄjBPM°æ±¾£¬Èç¹ûËü²»´æÔÚ
get.tomcat£ºÏÂÔØÒ»¸öTomcat£¬ÒѾ²âÊÔ¹ýµ±Ç°µÄjBPM°æ±¾£¬Èç¹ûËü²»´æÔÚ
hsqldb.databasemanager£ºÆô¶¯hsqldbÊý¾Ý¿â¹ÜÀíÆ÷
install.eclipse£º½âѹeclipse£¬ÏÂÔØeclipseÈç¹ûËü²»´æÔÚ
install.jboss£ºÏÂÔØJBossÈç¹ûËü²»´æÔÚ£¬²¢½âѹ
install.jbpm.into.jboss£º°ÑjBPM°²×°µ½JBossÖÐ
install.tomcat£º°ÑtomcatÏÂÔص½${tomcat.distro.dir}Èç¹ûtomcat²»´æÔÚ£¬²¢½âѹtomcat
install.jbpm.into.tomcat£º°ÑjBPM°²×°µ½tomcatÖÐ
install.examples.into.tomcat£º²¿ÊðËùÓеÄʵÀýÁ÷³Ì
install.signavio.into.jboss£º°Ñsignavio°²×°µ½jbossÖÐ
install.signavio.into.tomcat°Ñsignavio°²×°µ½t
Ïà¹ØÎĵµ£º
×î´óµÄÎïÆ·ºÅÊÇʲô£¿
SELECT MAX(article) AS article from shop;
ÈÎÎñ£ºÕÒ³ö×î¹óÎïÆ·µÄ±àºÅ¡¢ÏúÊÛÉ̺ͼ۸ñ¡£
ÕâºÜÈÝÒ×ÓÃÒ»¸ö×Ó²éѯ×öµ½£º
SELECT article, dealer, price
from shop
WHERE price=(SELECT MAX(price) from shop);
ÁíÒ»¸ö½â¾ö·½°¸ÊÇ°´¼Û¸ñ½µÐòÅÅÐòËùÓÐÐв¢ÓÃMySQLÌض¨LIMIT×Ó¾äÖ» ......
³£¼ûµÄMySQLÃüÁî´óÈ«
Ò»¡¢Á¬½ÓMySQL
¸ñʽ£º mysql -hÖ÷»úµØÖ· -uÓû§Ãû £pÓû§ÃÜÂë
1¡¢Àý1£ºÁ¬½Óµ½±¾»úÉϵÄMYSQL¡£
Ê×ÏÈÔÚ´ò¿ªDOS´°¿Ú£¬È»ºó½øÈëĿ¼ mysqlbin£¬ÔÙ¼üÈëÃüÁîmysql ......
mysql> use information_schema
Database changed
mysql> select concat(round(sum(index_LENGTH)/(1024*1024),2),'MB') as 'Data Size' from tables where table_schema='bbs';
+-----------+
| Data Size |
+-----------+
| 0.00MB |
+-----------+
1 row in set (0.01 sec)
½âÊÍ£º
......
½ñÌìÐèÒª´ÓÔ¶³Ì·þÎñÆ÷downÒ»¸öuchomeµÄÊý¾Ý¿âÏÂÀ´£¬ÔÚ±¾µØ»¹Ô¡£
·¢ÏÖÒ»¸öºÜ²»Ë¬µÄÊÂÇ飺Զ³Ì8G£¬NºËµÄlinux»úÆ÷£¬±¸·Ý»¹Ô²Ù×÷˳ÁïÁïµÄ£¬¿ÉÊÇÔÚ±¾µØµÄwindows£¬2GÆÕͨPCÉÏ£¬²Å100MµÄÎļþ£¬ÓÃuchome×Ô´øµÄ·Ö¾í±¸·Ý»¹Ô£¬»ù±¾ÉÏÖм䶼»á¶Ïµô£¬ÒªÃ´Ìáʾ“Ö´ÐÐʱ¼ä¹ý³¤”£¨¸Ä³É200Ã룬·Ö¾íΪ20M¶¼²»ÐУ©£¬ÒªÃ´¾ÍÊ ......