| Author |
How to configure the ejb-jar.xml session bean id in the WSAD?
|
Yufan Wang
Greenhorn
Joined: May 19, 2011
Posts: 3
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
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.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: How to configure the ejb-jar.xml session bean id in the WSAD?
|
|
|