This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of DevSecOps Adventures: A Game-Changing Approach with Chocolate, LEGO, and Coaching Games and have Dana Pylayeva on-line!
See this thread for details.
  • 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Some basic Confusions in Entity Bean

 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know in the entity bean, the create() and findByPrimaryKey() methods in the home interface will always return the EJBObject reference. It can't return other than EJBObject reference.

I am also having other findBy<name>() and home business methods in the home interface.

I want to know what are the possible return types of findBy<name>() and home business methods in the home interface.

As far my knowledge, the home business methods in the home interface is for returning the raw data to the client,instead of returning the EJBObject reference.

Whether the home business methods in the home interface can't return anything other than raw data?

What are the possible return types of findBy<name>() methods in the home interface.


Why the CMR data field should be either another entity bean's local component interface/ Collection?

Why can't we use another entity bean's remote component interface?
 
Being a smart alec beats the alternative. This tiny ad knows what I'm talking about:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic