Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

entity beans deployment descriptors

 
Simon Elliot
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to deploy container-managed entity beans on Weblogic 6.0 using jDriver for Oracle 8.1.6. I have problems with my <persistence-descriptor> fields. I have put them in the weblogic-ejb-jar.xml file but get the error that they must be declared. What does this mean?
Also, if my primary key is not a class but a String, what do I put in the <prim-key-class> field?
thanx,
si
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can see an example about the persistent descriptor for EJB1.1 at:
WL_HOME\samples\examples\ejb\basic\containerManaged\package-summary.html
in your instalation of WebLogic
and for EJB2.0 at:
WL_H0ME\samples\examples\ejb20\basic\beanManaged\package-summary.html
In your primary key class you should put:
<prim-key-class>java.lang.String</prim-key-class>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic