Wednesday, August 13, 2008

How does WebSphere7 Bind EJB 3.0 Beans to the JNDI Server? Local and Remote Interfaces for Lookup

So, how easy is it going to be to do a lookup from a JSF app to an EJB? I've got both a remote and a local interface in this EJB 3.0 stateless session bean. Here's the binding information provided by WebSphere. Hopefully, this will make it easy. The web module awaits!

[8/13/08 18:09:11:074 PDT] 00000065 CompositionUn A WSVR0192I: Stopping composition unit WebSphere:cuname=TestProject,cuedition=1.0 in BLA WebSphere:blaname=TestProject,blaedition=1.0.
[8/13/08 18:09:11:074 PDT] 00000065 ApplicationMg A WSVR0217I: Stopping application: TestProject
[8/13/08 18:09:11:254 PDT] 00000065 EJBContainerI I WSVR0041I: Stopping EJB jar: TestEJB.jar
[8/13/08 18:09:11:274 PDT] 00000065 EJBContainerI I WSVR0059I: EJB jar stopped: TestEJB.jar
[8/13/08 18:09:11:324 PDT] 00000065 ApplicationMg A WSVR0220I: Application stopped: TestProject
[8/13/08 18:09:12:786 PDT] 00000065 CompositionUn A WSVR0193I: Composition unit WebSphere:cuname=TestProject,cuedition=1.0 in BLA WebSphere:blaname=TestProject,blaedition=1.0 stopped.
[8/13/08 18:09:12:916 PDT] 00000065 CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=TestProject,cuedition=1.0 in BLA WebSphere:blaname=TestProject,blaedition=1.0.
[8/13/08 18:09:13:037 PDT] 00000065 ApplicationMg A WSVR0200I: Starting application: TestProject
[8/13/08 18:09:13:037 PDT] 00000065 ApplicationMg A WSVR0204I: Application: TestProject Application build level: Unknown




[8/13/08 18:09:13:167 PDT] 00000065 EJBContainerI I WSVR0037I: Starting EJB jar: TestEJB.jar
[8/13/08 18:09:13:167 PDT] 00000065 EJBContainerI I CNTR0167I: The server is binding the StatefulTimerRemote interface of the StatefulTimer enterprise bean in the TestEJB.jar module of the TestProject application. The binding location is: ejb/TestProject/TestEJB.jar/StatefulTimer#com.mcnz.ejb.StatefulTimerRemote
[8/13/08 18:09:13:167 PDT] 00000065 EJBContainerI I CNTR0167I: The server is binding the StatefulTimerRemote interface of the StatefulTimer enterprise bean in the TestEJB.jar module of the TestProject application.

The binding location is: com.mcnz.ejb.StatefulTimerRemote


[8/13/08 18:09:13:177 PDT] 00000065 EJBContainerI I CNTR0167I: The server is binding the StatefulTimerLocal interface of the StatefulTimer enterprise bean in the TestEJB.jar module of the TestProject application.

The binding location is: ejblocal:TestProject/TestEJB.jar/StatefulTimer#com.mcnz.ejb.StatefulTimerLocal


[8/13/08 18:09:13:177 PDT] 00000065 EJBContainerI I CNTR0167I: The server is binding the StatefulTimerLocal interface of the StatefulTimer enterprise bean in the TestEJB.jar module of the TestProject application.

The binding location is: ejblocal:com.mcnz.ejb.StatefulTimerLocal



[8/13/08 18:09:13:197 PDT] 00000065 EJBContainerI I WSVR0057I: EJB jar started: TestEJB.jar





[8/13/08 18:09:13:227 PDT] 00000065 webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: TestWeb.
[8/13/08 18:09:13:267 PDT] 00000065 SessionCore I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_host/TestWeb
[8/13/08 18:09:13:297 PDT] 00000065 webcontainer I com.ibm.ws.wswebcontainer.VirtualHost addWebApplication SRVE0250I: Web Module TestWeb has been bound to default_host[*:9081,*:80,*:9444,*:5063,*:5062,*:443].
[8/13/08 18:09:13:367 PDT] 00000065 ApplicationMg A WSVR0221I: Application started: TestProject
[8/13/08 18:09:13:367 PDT] 00000065 CompositionUn A WSVR0191I: Composition unit WebSphere:cuname=TestProject,cuedition=1.0 in BLA WebSphere:blaname=TestProject,blaedition=1.0 started.
[8/13/08 18:09:13:537 PDT] 00000065 FileRepositor A ADMR0009I: Document cells/T41Node01Cell/applications/TestProject.ear/deltas/TestProject/delta-1218676150483 is created.
[8/13/08 18:09:13:537 PDT] 00000065 FileRepositor A ADMR0010I: Document cells/T41Node01Cell/applications/TestProject.ear/deployments/TestProject/META-INF/ibm-application-runtime.props is modified.
[8/13/08 18:09:13:537 PDT] 00000065 FileRepositor A ADMR0010I: Document cells/T41Node01Cell/applications/TestProject.ear/deployments/TestProject/deployment.xml is modified.

No comments: