카테고리 없음

[자바] 원격 EJB3 세션 빈에서 InitialContext가 필요한 이유

필살기쓰세요 2020. 12. 9. 15:47

모든 EJB 컨테이너가 동일한 속성을 사용하지 않기 때문입니다. 이 속성은 Jboss 컨테이너를위한 것입니다.

예를 들어 Glassfish는 다음 속성을 사용합니다.

java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
java.naming.factory.url.pkgs=com.sun.enterprise.naming
java.naming.factory.state=com.sucn.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl
org.omg.CORBA.ORBInitialHost=localhost
org.omg.CORBA.ORBInitialPort=3700


출처
https://stackoverflow.com/questions/180023