red-piranha-4-alpha-snapshot-src

所属分类:其他
开发工具:Java
文件大小:3741KB
下载次数:1
上传日期:2020-03-30 10:33:08
上 传 者haohao@123456
说明:  Red-Piranha是一个开源搜索系统,它能够真正"学习"你所要查找的是什么.Red-Piranha 可作为你桌面系统(Windows,Linux与Mac)的个人搜索引擎,或企业内部网搜索引擎,或为你的网站提供搜索功能,或作为一个P2P搜索引擎, 或与wiki结合作为一个知识/文档管理解决方案,或搜索你要的RSS聚合信息,或搜索你公司的系统(包括SAP,Oracle或其它任何 Database/Data source),或用于管理PDF,Word和其它文档,或作为一个提供搜索信息的WebService或为你的应用程序 (Web,Swing,SWT,Flash,Mozilla-XUL,PHP, Perl或c#/.Net)提供搜索后台等等.
(Red piranha is an open source search system, which can really "learn" what you are looking for. Red piranha can be used as a personal search engine of your desktop system (windows, Linux and MAC), or as an intranet search engine, or as a search function for your website, or as a P2P search engine, or as a knowledge / document management solution with Wiki, Or search the RSS aggregation information you want, or search your company's system (including SAP, Oracle or any other database / data source), or manage PDF, word and other documents, or serve as a web service providing search information, or provide search background for your application (web, swing, SWT, flash, Mozilla XUL, PHP, Perl or C # /. Net), etc)

文件列表:
red-piranha-4-alpha-snapshot-src (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\.classpath (303, 2020-03-27)
red-piranha-4-alpha-snapshot-src\.project (773, 2020-03-25)
red-piranha-4-alpha-snapshot-src\.settings (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\.settings\org.eclipse.m2e.core.prefs (90, 2020-03-25)
red-piranha-4-alpha-snapshot-src\bin (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\bin\main (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\src\test\resources\.svn\tmp (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\src\test\resources\.svn\lock (0, 2007-10-28)
red-piranha-4-alpha-snapshot-src\bin\site (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\bin\site\apt (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\bin\site\apt\index.apt (214, 2006-04-08)
red-piranha-4-alpha-snapshot-src\bin\site\apt\what-is-proficio.apt (288, 2006-04-08)
red-piranha-4-alpha-snapshot-src\bin\site\fml (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\bin\site\fml\proficio.fml (4690, 2006-04-08)
red-piranha-4-alpha-snapshot-src\bin\site\resources (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\bin\site\resources\images (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\bin\site\resources\images\flow.png (0, 2006-04-08)
red-piranha-4-alpha-snapshot-src\bin\site\site.xml (1114, 2007-07-12)
red-piranha-4-alpha-snapshot-src\bin\test (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\src\test\resources\.svn\format (2, 2007-10-28)
red-piranha-4-alpha-snapshot-src\src\test\resources\.svn\entries (208, 2007-10-28)
red-piranha-4-alpha-snapshot-src\copyright_notice.txt (35821, 2007-10-03)
red-piranha-4-alpha-snapshot-src\dp.bat (89, 2007-10-24)
red-piranha-4-alpha-snapshot-src\pom.xml (5499, 2020-03-25)
red-piranha-4-alpha-snapshot-src\src\test\resources\.svn (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search (0, 2020-03-27)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.classpath (1352, 2020-03-27)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.project (1094, 2020-03-26)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.settings (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.settings\.jsdtscope (639, 2020-03-25)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.settings\.svn (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.settings\.svn\entries (259, 2007-10-28)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.settings\.svn\format (2, 2007-10-28)
red-piranha-4-alpha-snapshot-src\rp-adaptive-search\.settings\.svn\lock (0, 2007-10-28)
red-piranha-4-alpha-snapshot-src\src\test\resources (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\src\test\java\.svn\tmp (0, 2020-03-25)
red-piranha-4-alpha-snapshot-src\src\test\java\.svn\lock (0, 2007-10-28)
... ...

===== FOLDERS IN THIS PROJECT ===== Folders in this project * common : Libs etc used by core and all samples * core : The main Red-Piranha project * doc : Javadoc and other documents * Red-adaptive-search : How to use the RP Components as a Web search engine * Red-financial-calculator: Write in Excel , Deploy Anywhere * Red-financial-workflow: * Red-financial-web2:Write in Excel , Deploy as Web 2.0 * sample-middlegen-hibernate : Code to Generate Java from a given database * snippets : Code that is not as complete as the samples , but still useful in themselves ===== RP2 RELEASE NOTES ===== What this sample had already (* = recovered) - can kick off drools from web service - can kick off workflow from web service / commadnd line / spring bean - log , assert , message actions (not yet JMS) * can run hibernate (read from hypersonic) from junit test * can send spring / jms messages from junit tests * has testinging component * HSQL Database setup * can build and run search * has snippets * has sample mortgage calculator - has full mortgage calculator - has code (ftc) to be refactored * sample spring * beans (DAO and search) * how to call / load (used in CommandLine.java) * Spring Starter Bean snippets * autonomic (p2p) * db access code * drools article code * luence blob code * writing rp plugins rp2-middlegen-hiberante * can gen java / xbm classes from database * componentised rp ===== jBPM NOTES ===== This simple sample - makes no use of persistence - does not make any use of the user interactions - all interactions are automated (no manual intervention) - note the testing strategy - spring and workflow files in same folder - runs tests - uses the TestActionHandler to try out events - In general (like Struts Actions) - we delegate from the jBPM actionHandler as quickly as possible (makes it easier to reuse / unit test code) Split between Spring and jBPM config - Spring Configures the invidual beans - jBPM workflow ties them together ====== SEARCH NOTES ====== WEB APP SEARCH - see webSearchAppContext, SimpleTest.java , and build file - plain vanilla search FULL SEARCH - use of spring ======= HIBERNATE NOTES ======= Bottom up development - start with DB , generate Java files Project name: rp2-middlegen-hibernate 1) GENERATE XBM MAPPING FILES FROM THE DATABASE - following instructions at http://www.mjwall.com/node/view/138 - download sample from http://sourceforge.net/project/showfiles.php?group_id=40712 - run build.xml (as sample) - edit and generate (see results in the pane) - this is (a) only the hbm.xml files and (b) for the sampple 2) GENERATE JAVA FROM THE .XBM FILES - take hbm2java from hibernate-tools download , put on classpath(as per previous article) by copying it over - copy other jars (jdom, commons lang, *not* hibernate 3 full) - also take hibernate 2 - download Middlegen-Hibernate-r5.zip or later from http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=84728 - also gives good tasks to run hypersonic sql gui tool - hbm2java toolset guide is here : http://www.hibernate.org/hib_docs/reference/en/html/toolsetguide.html 3) TO POINT THIS TO OUR DATABASE (INSTEAD OF THE SAMPLE ABOVE) - copy file ./config/database/hsqldb.xml (for Hypersonic test database, or relevant Oracle , SQL Server file) - give the file a new name (e.g. test-hsqldb.xml) - change line 24 of build.xml to point to this file - edit the file contents to run point to the relevent db (as per provided readme.txt) We use: database.url : jdbc:hsqldb:../rp2/tmp/hypersonic/testdb database.userid: sa database.schema: PUBLIC (double check this) all others the same as original file - make sure version of hypersonic used for this access is the same as that which generated the db file (updated original and the middlegen-hibernate/lib to 1.8) - run the hsqldb-gui to check that the db is available - delete everything in middlegen-hibernate build/gen-src folder middlegen / hibernate will now generate java files from the database 4) TWEAKS TO THE JAVA FILES - to change the package of the generated files, change build.xml - Line 185 : package="${name}.hibernate" to package ="net.fp.rp - line 281 from: dir="${build.gen-src.dir}/airline/hibernate" to: dir="${build.gen-src.dir}/net/fp/rp/db 5) TO USE THE GENERATED JAVA CODE WITH HIBERNATE - copy generated files (both .java and .xbm) from build/gen-src into folder in your project - run test scripts - Change DTD (middlegen currently uses 2, Hibernate now at 3) ========= JMS NOTES ========= Spring Sample ============= required libs - spring.jar - jboss.jar - jboss-client-all.jar Jboss 4 Server setup ==================== Download Unzip (Google Desktop stop) go to correct server bin directory run \bin\run.bat JMS sample Setup ================ based on http://www.onjava.com/pub/a/onjava/2006/02/22/asynchronous-messaging-with-spring-jms.html added libraries from main rp2 code / jboss classpath log4j.xml into classes directory changed location of spring file (to project root) Changed to use file based spring setup (for Eclipse) - new FileSystemXmlApplicationContext("e:/projects/sample-spring-jms/loanapp-jms-spring.xml"); change jbossmq-destinations-service.xml as per article changed PCNAME from localhost add onjava queue.xml to end of file Hermes JMS Setup ================ Get Hermes from http://www.hermesjms.com/ make sure using Java 1.5 (modify hermes.bat if required) download from hermesjms.com (be careful as to version - should be 1.8 or so move hermes up one level (so it is software/hermesmq/bin) modify hermes.bat to make it run Setup for jboss as per http://www.hermesjms.com/demos/jboss_config.html use pc name instead of localhost (settings in Article) make sure loader is jboss 4.0.4 (or your version number) good tutorial on using Hermes on site

近期下载者

相关文件


收藏者