• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

ejb-jar.xml  RSS feed

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the tag which is in <session> tag.What actually it means?

The session bean which is described here acts as facade to an Entity Bean.

So do this ejb-local-ref> tag is ment to describe about the entity bean.

Could you please suggest? Thanks.


<ejb-local-ref>
<ejb-ref-name>ejb/local/GCBasketPitTableEJB</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.tullib.products.eurorepo.otcee.ejb.GCBasketPitTableLocalHome</local-home>
<local>com.tullib.products.eurorepo.otcee.ejb.GCBasketPitTableLocal</local>
<ejb-link>GCBasketPitTableEJB</ejb-link>
</ejb-local-ref>
 
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't this the same as this?
 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. It's the same.

I was badly in need of it. So have posted that again.
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take a look at the How To Ask Questions On JavaRanch page, especially Patience Is A Virtue.
 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Thanks.
 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was the information I could find from research.


"The ejb-local-ref element is used for the declaration of a reference to another enterprise bean's local home. The declaration consists of an optional description; the EJB reference name used in the code of the referencing enterprise bean; the expected type of the referenced enterprise bean; the expected local home and local interfaces of the referenced enterprise bean; and an optional ejb-link information. The optional ejb-link element is used to specify the referenced enterprise bean. Used in: entity, session, message-driven "


And I want to exactly know in what all situations do we use this.

And is it compulsory to use <ejb-local-ref> every time for session fased.

Thanks.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!