File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes entity beans deployment descriptors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "entity beans deployment descriptors" Watch "entity beans deployment descriptors" New topic

entity beans deployment descriptors

Simon Elliot

Joined: Jul 18, 2001
Posts: 11
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?
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
You can see an example about the persistent descriptor for EJB1.1 at:
in your instalation of WebLogic
and for EJB2.0 at:
In your primary key class you should put:
I agree. Here's the link:
subject: entity beans deployment descriptors
It's not a secret anymore!