This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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:
Have you checked out Aspose?
subject: entity beans deployment descriptors
It's not a secret anymore!