Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Where are ejb home methods defined

 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just came up with this :-) not sure if you guys w'd find it helpful.
We have:
PersonRemote
PersonRemoteHome
PersonBean
Interface PersonRemoteHome extends EJBHome{
public PersonRemote create() throws RE;
public PersonRemote findByPrimaryKey(String key) throws RE;
public void getThisWorkDone(String var1,int var2) throws RE;
}
Where w'd you define the implementation for
getThisWorkDone()? give the method signature.
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd say that getThisWorkDone should go In the bean implementation.... and if you're getting something from that method, it should not be void ...
public void getThisWorkDone(String var1,int var2)
right?
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please note there are some conventions for naming the home methods implementations. Thus to arouse your researching interest: EJB 2.0 Spec, section 10.6.6, page 193
good luck
 
Hey! Wanna see my flashlight? It looks like this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic