顯示具有 WebSphere Application Server 標籤的文章。 顯示所有文章
顯示具有 WebSphere Application Server 標籤的文章。 顯示所有文章

2011年1月12日 星期三

有爭議的答案: How a deployment manager participate in a flexible management evnrionment?

IBM 000-377 模擬考題中, 有一個問題給的答案有爭議. 問題如下?

In Order for a deployment manager to participate in a flexible management environment, which one uf the following steps must be completed?

A. Register directly with the job manager.
B. Register with the node agent on the jobmanagers host.
C. Register with an administrative agent on the jobmanagers host
D. First register with a local administrative agent, and then register with the job manager.

模擬考題給的答案是 D.

但是, 和  page 45 in WebSphere Application Server V7 Administration and Configuration Guide 說得不太一樣. 在 Guide 中說 "If a deployment manager wants to participate in an environment controlled by a job manager, the deployment manager registers directly with the job manager; no administrative agent is involved in this case."

就再討論啦..

2011年1月11日 星期二

Shared library and isolated shared library

在 000-377 的考題中有兩題考 shared library 的題目. 有一題的答案是 share library 要 associate 到 application class loader. 另一個題的答案是 isoloated shared library 要 associate 到 web module class loader. 這是為什麼呢?

以下為這兩題的題目:

第一題:
A developer informs an administrator that a servlet in one of the Web modules of a new enterprise application needs to access code in a native library. The administrator creates a shared library and adds the native library to its Native library path. With which class loader should the shared library be associated so that the servlet can access the native library without risk of an UnsatisfiedLinkError?

A. The Web modules class loader
B. The nativelibrays class loader
C. The application servers class loader
D. The enterprise applications class loader

此題答案給的為 C.

另一題
A developer informs an administrator that a servlet in one of the Web modules of a new enterprise application needs to access code in a native library. The administrator creates a shared library and adds the native library to its Native library path. What else does the administrator need to do to ensure that the servlet can access the native library without risk of an UnsatisfiedLinkError? Using the administrative console, select:

A. Use an isolated class loader for this shared library on the shared library settings page and associate the shared library with the Web modules class loader.
B. Classes loaded with parent class loader first on the settings page for the enterprise applications class loader and associate the shared library with the enterprise applications class loader.
C. Use an isolated class loader for this shared library on the shared library settings page and inform the developer of the name of the shared library so the developer can include it in the appropriate Java code.
D. Classes loaded with local class loader first on the settings page for the Web modules class loader and associate the shared library with the Web modules class loader.

此題答案給的為 A.

2010年12月6日 星期一

建置 Eclipse + Glassfish 開發環境

IBM RAD 太貴, 要練習, 先架 Eclipse + Glassfish. 等到 WAR 及 JAR files 寫好後再用 AST 組裝 EAR 檔案, 並上傳至 WAS 61