'Geronimo Tutorial'에 해당되는 글 3

  1. 2009.06.16 Web Application for EJB access - Geronimo Tutorial
  2. 2009.06.13 Developing an Application Client to access EJB - Geronimo Tutorial
  3. 2009.06.13 Geronimo Eclipse Plugin

Web Application for EJB access - Geronimo Tutorial

- Web Application for EJB access

그대로 따라하면 됨.

특이한 JSP
- EJB 프로젝트명을 수정했는데 반영이 안됨.
- WebEJB의 JSP를 수정했는데 반영이 안됨.
[todo] 바로 적용하게 하는 방법이 없나?

Developing an Application Client to access EJB - Geronimo Tutorial

- Developing an Application Client to access EJB

1. openejb-jar.xml 그대로 사용

2. Lookup
3. 라이브러리 추가
Add External JARs : <GERONIMO_HOME>\repository\org\apache\openejb\openejb-client\3.0.1\openejb-client-3.0.1.jar

4. SimpleEJB.jar 로 만들어서 Geronimo Console에서 배치하지 않고 그냥 서버 실행
Geronimo Console - Applications - EJB JARs 에서 등록된 것을 확인할 수 있다.

5. 로그 확인
2009-06-13 14:55:56,859 INFO  [startup] Jndi(name=CountryCapitalBeanRemote) --> Ejb(deployment-id=SimpleEJB/CountryCapitalBean)

Geronimo Eclipse Plugin

- Apache Geronimo v2.1 Development environment

- Installing Geronimo Eclipse Plugin

- 프로젝트 생성시 Target Runtime을 Geronimo로 설정해야 WEB-INF/geronimo-web.xml가 생성되고 제대로 Deploy된다.
기존에 있던 프로젝트를 Geronimo로 Deploy하는 것은 안됨.

- Geronimo를 Server runtime environment에 추가하면 Servers View에는 보이는데 Project Explorer의 Servers에는 보이지 않는다.

- 설정시 포트를 변경했는데 적용이 안됨.
WORKSPACE\.metadata\.plugins\org.eclipse.wst.server.core\server.xml 에도 적용이 되었지만 8080 포트로 운영된다.