WLI와 Domino Notes와의 Interface
WLI에서는 기본적으로 Domino Notes와의 Interface를 위한 Control을 제공하지 않는다.
APEC에서 POC용으로 만든 Control이 있긴 하지만, 완성도가 상당히(?)떨어짐으로 어느정도의
수정이 필요하다.
다만 그 소스를 통해 Java Control을 어떻게 만드는지 알게되서 참 좋은 계기가 됐었다.
(아직 다 본건은 아니었지만, 필요하면 뭘 참고해야할지는 알기에.. ^^)
WLI 입장에서 Domino Notes와의 Interface는 다음과 같이 정리할 수 있다.
1. OutBound : WLI에서 Domino Notes의 API를 사용해서 연동할 수 있다.
2. InBound : Domino Notes에 Java Agent형태로 WLI를 호출할 수 있는 Module(Agent)를 심어야 한다.
(요것도 제공되는것이 없다. 하지만 공통적으로 만들순 있을것 같다.)
이번 소스 예제는 WLI입장에서 Domino Notes의 Document를 Create할 수 있는 예제이다.
Create IIOP Connection with Domino, Retrieve Document and
Get XML from Document
public String getXMLString(String docID) throws Exception{
/* creates an IIOP connection to the Domino server */
Lotus.domino.Session s =
NotesFactory.createSession(DOMINO_SERVER, DB_LOGIN,DB_ACCESS);
/* get the Document that contains the XML */
Lotus.domino.Document doc =
s.getDatabase(null,DATABASE_NAME).getDocumentByUNID(docID);
/* get the XML */
String XML = doc.getItemValueString("fldReportData");
return XML;
}
위의 예제에 대한 자세한 설명은 다음의 URL에서 볼 수 있다.
Integrating Domino with WebLogic Server 8.1
WLI에서는 기본적으로 Domino Notes와의 Interface를 위한 Control을 제공하지 않는다.
APEC에서 POC용으로 만든 Control이 있긴 하지만, 완성도가 상당히(?)떨어짐으로 어느정도의
수정이 필요하다.
다만 그 소스를 통해 Java Control을 어떻게 만드는지 알게되서 참 좋은 계기가 됐었다.
(아직 다 본건은 아니었지만, 필요하면 뭘 참고해야할지는 알기에.. ^^)
WLI 입장에서 Domino Notes와의 Interface는 다음과 같이 정리할 수 있다.
1. OutBound : WLI에서 Domino Notes의 API를 사용해서 연동할 수 있다.
2. InBound : Domino Notes에 Java Agent형태로 WLI를 호출할 수 있는 Module(Agent)를 심어야 한다.
(요것도 제공되는것이 없다. 하지만 공통적으로 만들순 있을것 같다.)
이번 소스 예제는 WLI입장에서 Domino Notes의 Document를 Create할 수 있는 예제이다.
Create IIOP Connection with Domino, Retrieve Document and
Get XML from Document
public String getXMLString(String docID) throws Exception{
/* creates an IIOP connection to the Domino server */
Lotus.domino.Session s =
NotesFactory.createSession(DOMINO_SERVER, DB_LOGIN,DB_ACCESS);
/* get the Document that contains the XML */
Lotus.domino.Document doc =
s.getDatabase(null,DATABASE_NAME).getDocumentByUNID(docID);
/* get the XML */
String XML = doc.getItemValueString("fldReportData");
return XML;
}
위의 예제에 대한 자세한 설명은 다음의 URL에서 볼 수 있다.
Integrating Domino with WebLogic Server 8.1
![마시멜로 이야기 [포장 박스 세트 : 책+엽서+재키스키친 시식권]](http://image.aladdin.co.kr/coveretc/book/coveroff/8947525472_1.jpg)










최근 덧글