close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_delta.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 27, 2008, 11:14:46 PM (18 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v13
|
v14
|
|
| 19 | 19 | * 這個範例證實了 ActiveMQ 可以用 !JavaScript 實做出加入 Message Broker 後即時更新的可能性,因此值得追蹤其背後的原理。 |
| 20 | 20 | |
| 21 | | == 開始追蹤原始碼 - Message Sender / Provider == |
| | 21 | == 追蹤原始碼(1) - Message Sender / Provider == |
| 22 | 22 | |
| 23 | 23 | * "Market data publisher"網頁(Message Provider)的網址比較特殊,是 "portfolioPublish?count=1&refresh=2&stocks=IBMW&stocks=BEAS&stocks=MSFT&stocks=SUNW",直接觀看 HTML 原始碼並沒有 !JavaScript 的蹤影,因此它應該是 JSP 網頁。而在 apache-activemq-5.1.0\webapps\demo\WEB-INF\web.xml 中,我們就可以找到答案了~ |
| … |
… |
|
| 47 | 47 | * 路徑: apache-activemq-5.1.0/src/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java |
| 48 | 48 | |
| 49 | | == 開始追蹤原始碼 - Message Subsciber / Receiver == |
| | 49 | == 追蹤原始碼(2) - Message Subsciber / Receiver == |
| 50 | 50 | |
| 51 | 51 | * 觀察"Portfolio"網頁(Message Receiver)的原始碼 |