• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to configure the ejb-jar.xml session bean id in the WSAD?

 
Yufan Wang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I configured a new EE project in WSAD, but I found different type of session-id for session beans.

[Old product, EJB 2.0, jdk 1.4.2, WSAD]

1. This is my configured ejb-jar.xml with the WSAD deployment descriptor:
//...
<session id="SSOEJB">
<ejb-name>SSOEJB</ejb-name>
<home>com.my.SSOEJBHome</home>
<remote>com.my.SSOEJB</remote>
<ejb-class>com.my.SSOEJBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
//...

2.Same project in the different workspace, which can run perfectly on local PC.

//...
<session id="Session_1189683792621">
<ejb-name>SSOEJB</ejb-name>
<home>com.my.SSOEJBHome</home>
<remote>com.my.SSOEJB</remote>
<ejb-class>com.my.SSOEJBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
//...

What is the difference of <session id="Session_1189683792621"> and <session id="SSOEJB">

(After configured ejb-jar.xml, I tried to right click EJB project > Generate > Deployment and RMIC code, is it correct?)
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34656
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yufan wang wrote:What is the difference of <session id="Session_1189683792621"> and <session id="SSOEJB">

They are different ids. The id maps to the binding files.

yufan wang wrote:(After configured ejb-jar.xml, I tried to right click EJB project > Generate > Deployment and RMIC code, is it correct?)

Sounds familiar. It's been a long time since I used WSAD. IBM stopped supporting it many years ago.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic