• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How to Entity Beans in Jboss !

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How the Container knows which table to look for the fields for CMP !
Where do you define it ?
How many descriptors for Entity Beans !
{only ejb-jar.xml + one for the container}
*********************************************************
How I get into this Trouble !
I did a Session Beans by looking at the Wrox Book ! It worked !
(Deployed on Jboss)
And then I did a Entity beans using Wrox !
Find that they have not bothered to give the xml descriptor (ejb-jar.xml)
Referred the Roman's Book ! They have a descriptor for BEA not for Jboss !
Went to Jboss site, they have a descriptor ! but not clear !
 
shahul hameed
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Help
 
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Doesn't Jboss have a deployment tool ?
If it does not have then you can use the same fields of table name and fields from the XML descriptor of BEA. These fields are represented as standard tags in all app servers.
 
shahul hameed
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks Madhu !
I am hitting the Clue !
Meanwhile ! Can you give me a sample xml descriptor for entity/BEA (Hmmm ! for a multitable scenario, if possible in Entity Beans otherwise a simple Single Table Object)
 
Madhu Juneja
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
These are the xml files generated for container managed persistence in weblogic.
ejb-jar.xml :

weblogic-cmp-rdbms-jar.xml :

weblogic-ejb-jar.xml :

May be you need to click on the reply icon to read the xml tags as on this forum all tags with '<' character are not displayed properly.
HTH
 
reply
    Bookmark Topic Watch Topic
  • New Topic